HomeSort by relevance Sort by last modified time
    Searched refs:C2Param (Results 1 - 25 of 57) sorted by null

1 2 3

  /hardware/google/av/codec2/vndk/include/util/
C2ParamUtils.h 29 struct C2Param;
38 C2Param *ParseFirst(const uint8_t *blob, size_t size);
C2Debug-param.h 20 #include <C2Param.h>
26 * Debug/print declarations for objects defined in C2Param.h
30 std::ostream& operator<<(std::ostream& os, const C2Param::CoreIndex &i);
31 std::ostream& operator<<(std::ostream& os, const C2Param::Type &i);
32 std::ostream& operator<<(std::ostream& os, const C2Param::Index &i);
C2InterfaceHelper.h 52 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::Index index) const
    [all...]
  /hardware/google/av/codec2/
C2.cpp 21 #include <C2Param.h>
  /hardware/google/av/media/sfplugin/
CCodecConfig.h 109 std::set<C2Param::Index> mSupportedIndices; ///< indices supported by the component
110 std::set<C2Param::Index> mSubscribedIndices; ///< indices to subscribe to
121 std::map<C2Param::Index, std::unique_ptr<C2Param>> mCurrentConfig;
123 typedef std::function<c2_status_t(std::unique_ptr<C2Param>&)> LocalParamValidator;
129 std::map<C2Param::Index, LocalParamValidator> mLocalParams;
151 C2Param::Index index = T::PARAM_TYPE;
164 validator = [validator_](std::unique_ptr<C2Param>& p){
218 std::vector<std::unique_ptr<C2Param>> &configUpdate, Domain domain);
231 std::vector<std::unique_ptr<C2Param>> *configUpdate) const
    [all...]
ReflectedParamUpdater.h 24 #include <C2Param.h>
78 * \param reflector C2ParamReflector object for C2Param reflection.
98 C2Param::Index(T::PARAM_TYPE), attrib, name.c_str()),
111 * \param reflector C2ParamReflector object for C2Param reflection (may be null)
125 * \param reflector C2ParamReflector object for C2Param reflection (may be null)
136 std::string getParamName(C2Param::Index index) const;
148 std::vector<C2Param::Index> *vec /* nonnull */) const;
158 std::vector<C2Param::Index> *vec /* nonnull */) const;
161 * Update C2Param objects from field name and value in AMessage object.
164 * \param vec[in,out] vector of the C2Param objects to be updated
    [all...]
ReflectedParamUpdater.cpp 156 C2Param::CoreIndex(it->type()).coreIndex());
217 std::string ReflectedParamUpdater::getParamName(C2Param::Index index) const {
230 std::vector<C2Param::Index> *vec /* nonnull */) const {
233 std::set<C2Param::Index> indices;
239 for (const C2Param::Index &index : indices) {
246 std::vector<C2Param::Index> *vec /* nonnull */) const {
249 std::set<C2Param::Index> indices;
264 for (const C2Param::Index &index : indices) {
271 std::vector<std::unique_ptr<C2Param>> *vec /* nonnull */) const {
274 std::map<C2Param::Index, std::unique_ptr<C2Param>*> paramsMap
    [all...]
  /hardware/google/av/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
ConfigurableC2Intf.h 22 #include <C2Param.h>
50 const std::vector<C2Param::Index> &indices,
52 std::vector<std::unique_ptr<C2Param>>* const params) const = 0;
55 const std::vector<C2Param*> &params,
ComponentStore.h 27 #include <C2Param.h>
98 std::map<C2Param::CoreIndex, std::shared_ptr<C2StructDescriptor>> mStructDescriptors;
99 std::set<C2Param::CoreIndex> mUnsupportedStructDescriptors;
types.h 28 #include <C2Param.h>
206 * Parses a params blob and returns C2Param pointers to its params.
207 * \param[out] params target vector of C2Param pointers
213 std::vector<C2Param*> *params,
226 const std::vector<C2Param*> &params);
229 const std::vector<std::unique_ptr<C2Param>> &params);
246 std::vector<std::unique_ptr<C2Param>>* params,
257 const std::vector<C2Param*>& params,
  /hardware/google/av/codec2/vndk/util/
C2InterfaceHelper.cpp 37 C2ReflectorHelper::describe(C2Param::CoreIndex paramIndex) const {
55 C2Param::CoreIndex coreIndex = fd.type() &~ C2FieldDescriptor::STRUCT_FLAG;
75 void addDownDependency(C2Param::Index index) {
142 const std::vector<C2Param::Index> getDownDependencies() const {
146 C2Param::Index index() const {
165 void setDefaultValue(std::shared_ptr<C2Param> default_) {
169 void setDependencies(std::vector<C2Param::Index> indices, std::vector<ParamRef> refs) {
194 void setGetter(std::function<std::shared_ptr<C2Param>(bool)> getter) {
198 void setSetter(std::function<C2R(const C2Param *, bool, bool *, Factory &)> setter) {
203 const C2Param *value, bool mayBlock, bool *changed, Factory &f
    [all...]
C2Debug.cpp 68 static std::string attribParamCoreIndex(const C2Param::CoreIndex &i) {
76 const C2Param::Type &i, bool addStream, unsigned streamId) {
90 i.kind() == C2Param::STRUCT ? 'S' :
91 i.kind() == C2Param::INFO ? 'i' :
92 i.kind() == C2Param::TUNING ? 't' :
93 i.kind() == C2Param::SETTING ? 's' :
94 i.kind() == C2Param::NONE ? '-' : '?')
98 std::ostream& operator<<(std::ostream& os, const C2Param::CoreIndex &i) {
102 std::ostream& operator<<(std::ostream& os, const C2Param::Type &i) {
107 std::ostream& operator<<(std::ostream& os, const C2Param::Index &i)
    [all...]
  /hardware/google/av/codec2/vndk/internal/
C2ParamInternal.h 20 #include <C2Param.h>
74 C2ParamField CreateParamField(C2Param::Index index, uint32_t offset, uint32_t size) {
79 C2ParamField CreateParamField(C2Param::Index index, _C2FieldId field) {
84 void TrimParam(C2Param *param, uint32_t newSize) {
85 if (param && *param && param->size() > newSize && newSize >= sizeof(C2Param)) {
96 C2StructDescriptor CreateStructDescriptor(C2Param::CoreIndex index,
  /hardware/google/av/codec2/tests/
C2SampleComponent_test.cpp 103 const std::vector<C2Param*> &params,
118 const std::vector<C2Param*> &stackParams,
119 const std::vector<C2Param::Index> &heapParamIndices,
121 std::vector<std::unique_ptr<C2Param>>* const heapParams) const override {
122 for (C2Param* const param : stackParams) {
133 C2Param & myParam = mMyParams.find(param->index())->second;
142 for (const C2Param::Index index : heapParamIndices) {
144 C2Param & myParam = mMyParams.find(index)->second;
145 std::unique_ptr<C2Param> paramCopy(C2Param::Copy(myParam))
    [all...]
C2Param_test.cpp 59 enum C2ParamIndexType : C2Param::type_index_t {
63 kParamIndexVendorStart = C2Param::TYPE_INDEX_VENDOR_START,
595 // pointer constructor in C2Param
612 // member pointer in C2Param
813 C2Param::Index index(paramType);
860 /* ======================================= C2PARAM TESTS ======================================= */
871 typedef C2Param::Index I;
    [all...]
  /hardware/google/av/codec2/include/
C2Param.h 93 struct C2Param {
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 *param = (C2Param*)addr
    [all...]
C2Component.h 30 #include <C2Param.h>
156 const std::vector<C2Param*> &stackParams,
157 const std::vector<C2Param::Index> &heapParamIndices,
159 std::vector<std::unique_ptr<C2Param>>* const heapParams) const = 0;
217 const std::vector<C2Param*> &params,
    [all...]
C2Work.h 22 #include <C2Param.h>
150 std::vector<std::unique_ptr<C2Param>> configUpdate;
C2ParamDef.h 25 #include <C2Param.h>
166 public _C2StructCheck<S, ParamIndex | C2Param::CoreIndex::IS_FLEX_FLAG, TypeFlags> {
170 CORE_INDEX = ParamIndex | C2Param::CoreIndex::IS_FLEX_FLAG, ///< flexible struct core-index
190 BASE_SIZE = sizeof(S) + sizeof(C2Param), ///< size of the base param
214 inline static _Type* From(C2Param *other) { \
215 return (_Type*)C2Param::IfSuitable( \
219 inline static const _Type* From(const C2Param *other) { \
220 return const_cast<const _Type*>(From(const_cast<C2Param *>(other))); \
392 inline void setPort(bool output) { C2Param::setPort(output); }
455 inline void setPort(bool output) { C2Param::setPort(output);
    [all...]
  /hardware/google/av/codec2/hidl/services/
vendor.cpp 80 const std::vector<C2Param*>& /* stackParams */,
81 const std::vector<C2Param::Index>& /* heapParamIndices */,
82 std::vector<std::unique_ptr<C2Param>>* const /* heapParams */) const override {
87 const std::vector<C2Param*>& /* params */,
  /hardware/google/av/codec2/hidl/1.0/utils/
types.cpp 30 #include <C2Param.h>
84 static_cast<C2Param::Index>(static_cast<uint32_t>(0)), 0, 0) {
88 static_cast<C2Param::Index>(static_cast<uint32_t>(s.index)),
495 std::vector<C2Param::Index> dDependencies;
501 C2Param::Index(static_cast<uint32_t>(s.index)),
538 C2Param::CoreIndex dIndex = C2Param::CoreIndex(static_cast<uint32_t>(s.type));
709 std::vector<C2Param*>{ &dRangeInfo });
738 std::vector<C2Param*>{ &dRectInfo });
    [all...]
Configurable.cpp 57 typedef C2Param::Index Index;
61 std::vector<std::unique_ptr<C2Param>> c2heapParams;
80 std::vector<C2Param*> c2params;
  /external/v4l2_codec2/tests/
C2VDACompIntf_test.cpp 80 std::vector<C2Param*> params{param};
99 std::vector<C2Param*> stackParams{&param};
113 std::vector<std::unique_ptr<C2Param>> heapParams;
133 std::vector<C2Param*> params{newParam};
141 std::vector<C2Param*> stackParams{&param};
146 std::vector<std::unique_ptr<C2Param>> heapParams;
156 std::vector<C2Param*> stackParams{&preParam};
160 std::vector<C2Param*> params{invalidParam};
167 std::vector<C2Param*> stackParams2{&param};
172 std::vector<std::unique_ptr<C2Param>> heapParams
    [all...]
  /hardware/google/av/media/sfplugin/tests/
ReflectedParamUpdater_test.cpp 40 kParamIndexLong = C2Param::TYPE_INDEX_VENDOR_START,
85 static std::unique_ptr<C2StructDescriptor> describe(C2Param::CoreIndex index) {
95 static std::unique_ptr<C2StructDescriptor> describe(C2Param::CoreIndex) {
120 template<typename T> T *CastParam(const std::unique_ptr<C2Param> &param) {
129 std::unique_ptr<C2StructDescriptor> describe(C2Param::CoreIndex paramIndex) const override {
155 std::vector<C2Param::Index> indices;
168 std::vector<std::unique_ptr<C2Param>> params;
201 std::vector<C2Param::Index> indices;
214 std::vector<std::unique_ptr<C2Param>> params;
260 std::vector<C2Param::Index> indices
    [all...]
  /hardware/google/av/media/v4l2store/
C2VDAComponentStore.cpp 40 c2_status_t query_sm(const std::vector<C2Param*>& stackParams,
41 const std::vector<C2Param::Index>& heapParamIndices,
42 std::vector<std::unique_ptr<C2Param>>* const heapParams) const override;
43 c2_status_t config_sm(const std::vector<C2Param*>& params,
210 std::vector<std::unique_ptr<C2Param>> params;
361 const std::vector<C2Param*>& stackParams,
362 const std::vector<C2Param::Index>& heapParamIndices,
363 std::vector<std::unique_ptr<C2Param>>* const heapParams) const {
370 const std::vector<C2Param*>& params,

Completed in 404 milliseconds

1 2 3