Searched defs:C2Param (Results 1 - 2 of 2) sorted by relevance

/hardware/google/av/codec2/include/
H A DC2Param.h93 struct C2Param { struct
116 * C2Param kinds, usable as bitmaps.
257 friend struct C2Param; // for setPort()
319 friend struct C2Param; // for setStream, MakeStreamId, isValid
421 inline bool operator==(const C2Param &o) const {
424 inline bool operator!=(const C2Param &o) const { return !operator==(o); }
427 inline static C2Param* From(void *addr, size_t len) {
428 // _mSize must fit into size, but really C2Param must also to be a valid param
429 if (len < sizeof(C2Param)) {
433 C2Param *para
[all...]
/hardware/google/av/codec2/vndk/include/util/
H A DC2InterfaceHelper.h52 C2Param::CoreIndex paramIndex) const override;
100 std::map<C2Param::CoreIndex, const C2StructDescriptor> _mStructs; ///< descriptors
120 C2Param::CoreIndex index, size_t offset);
124 * Internally, these need to be generalized to std::shared_ptr<C2Param> refs, but the cast is
130 typename std::enable_if<std::is_convertible<T, C2Param>::value>::type>
132 : _mRef(reinterpret_cast<std::shared_ptr<C2Param>*>(&param)) { }
135 operator std::shared_ptr<C2Param> *() const { return _mRef; }
140 std::shared_ptr<C2Param> get() const { return *_mRef; }
143 std::shared_ptr<C2Param> *_mRef;
173 C2ParamField makeParamField(C2Param
[all...]

Completed in 853 milliseconds