Lines Matching defs:CCodecConfig
45 struct CCodecConfig { struct
59 enum Domain : uint32_t {
103 std::vector<std::shared_ptr<C2ParamDescriptor>> mParamDescs;
104 std::shared_ptr<C2ParamReflector> mReflector;
106 std::shared_ptr<ReflectedParamUpdater> mParamUpdater;
108 Domain mDomain; // component domain
109 Domain mInputDomain; // input port domain
110 Domain mOutputDomain; // output port domain
111 std::string mCodingMediaType; // media type of the coded stream
114 std::shared_ptr<StandardParams> mStandardParams;
116 std::set<C2Param::Index> mSupportedIndices; ///< indices supported by the component
117 std::set<C2Param::Index> mSubscribedIndices; ///< indices to subscribe to
118 size_t mSubscribedIndicesSize; ///< count of currently subscribed indices
120 sp<AMessage> mInputFormat;
121 sp<AMessage> mOutputFormat;
123 bool mUsingSurface; ///< using input or output surface
124 bool mBuffersBoundToCodec; ///< whether buffers are bound to codecs or not.
126 std::shared_ptr<InputSurfaceWrapper> mInputSurface;
127 std::unique_ptr<InputSurfaceWrapper::Config> mISConfig;
128 android_dataspace mInputSurfaceDataspace;
153 CCodecConfig(); argument
172 C2Param::Index index = T::PARAM_TYPE;
183 LocalParamValidator validator;
186 c2_status_t res = C2_BAD_VALUE;
214 c2_status_t err = validator_(default_);
310 Watcher(C2Param::Index index, const CCodecConfig *parent) in Watcher() argument