Home
last modified time | relevance | path

Searched refs:C2R (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceHelper.h32 using C2R = C2SettingResultsBuilder; variable
264 C2R validatePossible(const T &value __unused) const {
266 return C2R::Ok();
358 void setSetter(std::function<C2R(const C2Param *, bool, bool *, Factory &)> setter);
514 const C2Param *value, bool mayBlock __unused, bool *changed, Factory &) -> C2R {
518 return C2R::Corrupted(); // TODO BadValue/Invalid. This should not happen here.
521 return C2R::Corrupted(); // TODO ReadOnly(*default_);
524 return C2R::Ok();
542 C2R (*fn)(bool, const C2P<T> &, C2P<T> &, const C2P<Deps> &...),
547 const C2Param *value, bool mayBlock, bool *changed, Factory &factory) -> C2R {
[all …]
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.h241 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me);
243 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::input> &oldMe,
246 static C2R ProfileLevelSetter(
250 static C2R LayeringSetter(bool mayBlock, C2P<C2StreamTemporalLayeringTuning::output>& me);
272 static C2R ColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::input> &me);
273 static C2R CodedColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::output> &me,
DC2SoftVpxEnc.cpp194 C2R C2SoftVpxEnc::IntfImpl::BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter()
196 C2R res = C2R::Ok(); in BitrateSetter()
203 C2R C2SoftVpxEnc::IntfImpl::SizeSetter(bool mayBlock, in SizeSetter()
207 C2R res = C2R::Ok(); in SizeSetter()
219 C2R C2SoftVpxEnc::IntfImpl::ProfileLevelSetter(bool mayBlock, in ProfileLevelSetter()
228 return C2R::Ok(); in ProfileLevelSetter()
231 C2R C2SoftVpxEnc::IntfImpl::LayeringSetter(bool mayBlock, in LayeringSetter()
234 C2R res = C2R::Ok(); in LayeringSetter()
255 C2R C2SoftVpxEnc::IntfImpl::ColorAspectsSetter(bool mayBlock, in ColorAspectsSetter()
270 return C2R::Ok(); in ColorAspectsSetter()
[all …]
DC2SoftVpxDec.cpp241 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
244 C2R res = C2R::Ok(); in SizeSetter()
256 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
262 return C2R::Ok(); in MaxPictureSizeSetter()
265 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
271 return C2R::Ok(); in MaxInputSizeSetter()
274 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
288 return C2R::Ok(); in DefaultColorAspectsSetter()
291 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
296 return C2R::Ok(); in ProfileLevelSetter()
[all …]
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp213 static C2R SizeSetter(bool mayBlock, in SizeSetter()
217 C2R res = C2R::Ok(); in SizeSetter()
229 static C2R MaxPictureSizeSetter( in MaxPictureSizeSetter()
237 return C2R::Ok(); in MaxPictureSizeSetter()
240 static C2R MaxInputSizeSetter( in MaxInputSizeSetter()
247 return C2R::Ok(); in MaxInputSizeSetter()
250 static C2R DefaultColorAspectsSetter( in DefaultColorAspectsSetter()
265 return C2R::Ok(); in DefaultColorAspectsSetter()
268 static C2R CodedColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::input> &me) { in CodedColorAspectsSetter()
282 return C2R::Ok(); in CodedColorAspectsSetter()
[all …]
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp165 static C2R SizeSetter(bool mayBlock, in SizeSetter()
169 C2R res = C2R::Ok(); in SizeSetter()
181 static C2R MaxPictureSizeSetter( in MaxPictureSizeSetter()
189 return C2R::Ok(); in MaxPictureSizeSetter()
192 static C2R MaxInputSizeSetter( in MaxInputSizeSetter()
199 return C2R::Ok(); in MaxInputSizeSetter()
201 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
215 return C2R::Ok(); in DefaultColorAspectsSetter()
218 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
223 return C2R::Ok(); in ProfileLevelSetter()
[all …]
/frameworks/av/media/codec2/hidl/services/
Dvendor.cpp142 static C2R SetIonUsage(bool /* mayBlock */, C2P<C2StoreIonUsageInfo> &me) { in SetIonUsage()
147 return C2R::Ok(); in SetIonUsage()
150 static C2R SetDmaBufUsage(bool /* mayBlock */, C2P<C2StoreDmaBufUsageInfo> &me) { in SetDmaBufUsage()
154 return C2R::Ok(); in SetDmaBufUsage()
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Interface.h206 static C2R NonStrictValueWithNoDeps( in NonStrictValueWithNoDeps()
213 static C2R NonStrictValuesWithNoDeps( in NonStrictValuesWithNoDeps()
216 C2R res = C2R::Ok(); in NonStrictValuesWithNoDeps()
223 static C2R StrictValueWithNoDeps( in StrictValueWithNoDeps()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp206 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
209 C2R res = C2R::Ok(); in SizeSetter()
221 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
227 return C2R::Ok(); in MaxPictureSizeSetter()
230 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
236 return C2R::Ok(); in MaxInputSizeSetter()
239 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
244 return C2R::Ok(); in ProfileLevelSetter()
247 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
261 return C2R::Ok(); in DefaultColorAspectsSetter()
[all …]
DC2SoftAvcEnc.cpp255 static C2R InputDelaySetter( in InputDelaySetter()
263 return C2R::Ok(); in InputDelaySetter()
266 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter()
268 C2R res = C2R::Ok(); in BitrateSetter()
276 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::input> &oldMe, in SizeSetter()
279 C2R res = C2R::Ok(); in SizeSetter()
291 static C2R ProfileLevelSetter( in ProfileLevelSetter()
364 return C2R::Ok(); in ProfileLevelSetter()
367 static C2R IntraRefreshSetter(bool mayBlock, C2P<C2StreamIntraRefreshTuning::output> &me) { in IntraRefreshSetter()
369 C2R res = C2R::Ok(); in IntraRefreshSetter()
[all …]
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp197 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
200 C2R res = C2R::Ok(); in SizeSetter()
212 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
218 return C2R::Ok(); in MaxPictureSizeSetter()
221 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
227 return C2R::Ok(); in MaxInputSizeSetter()
230 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
235 return C2R::Ok(); in ProfileLevelSetter()
238 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
252 return C2R::Ok(); in DefaultColorAspectsSetter()
[all …]
DC2SoftHevcEnc.cpp263 static C2R InputDelaySetter( in InputDelaySetter()
271 return C2R::Ok(); in InputDelaySetter()
274 static C2R BitrateSetter(bool mayBlock, in BitrateSetter()
277 C2R res = C2R::Ok(); in BitrateSetter()
284 static C2R SizeSetter(bool mayBlock, in SizeSetter()
288 C2R res = C2R::Ok(); in SizeSetter()
300 static C2R ProfileLevelSetter( in ProfileLevelSetter()
369 return C2R::Ok(); in ProfileLevelSetter()
372 static C2R GopSetter(bool mayBlock, C2P<C2StreamGopTuning::output> &me) { in GopSetter()
381 return C2R::Ok(); in GopSetter()
[all …]
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp172 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
175 C2R res = C2R::Ok(); in SizeSetter()
187 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
193 return C2R::Ok(); in MaxPictureSizeSetter()
196 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
202 return C2R::Ok(); in MaxInputSizeSetter()
205 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
210 return C2R::Ok(); in ProfileLevelSetter()
DC2SoftMpeg4Enc.cpp156 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter()
158 C2R res = C2R::Ok(); in BitrateSetter()
165 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::input> &oldMe, in SizeSetter()
168 C2R res = C2R::Ok(); in SizeSetter()
180 static C2R ProfileLevelSetter( in ProfileLevelSetter()
198 return C2R::Ok(); in ProfileLevelSetter()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp189 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
192 C2R res = C2R::Ok(); in SizeSetter()
204 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
210 return C2R::Ok(); in MaxPictureSizeSetter()
213 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
219 return C2R::Ok(); in MaxInputSizeSetter()
222 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
227 return C2R::Ok(); in ProfileLevelSetter()
230 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
244 return C2R::Ok(); in DefaultColorAspectsSetter()
[all …]
/frameworks/av/media/codec2/hidl/plugin/samples/
DSampleFilterPlugin.cpp283 static C2R OutputBlockPoolSetter( in OutputBlockPoolSetter()
287 return C2R::Ok(); in OutputBlockPoolSetter()
290 static C2R HdrStaticInfoSetter( in HdrStaticInfoSetter()
294 return C2R::Ok(); in HdrStaticInfoSetter()
297 static C2R InputColorAspectsSetter( in InputColorAspectsSetter()
301 return C2R::Ok(); in InputColorAspectsSetter()
304 static C2R OutputColorAspectsSetter( in OutputColorAspectsSetter()
317 return C2R::Ok(); in OutputColorAspectsSetter()
320 static C2R ColorAspectsRequestSetter( in ColorAspectsRequestSetter()
336 return C2R::Ok(); in ColorAspectsRequestSetter()
/frameworks/av/media/codec2/components/base/
DSimpleC2Interface.cpp31 static C2R SubscribedParamIndicesSetter( in SubscribedParamIndicesSetter()
36 return C2R::Ok(); in SubscribedParamIndicesSetter()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp124 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::output> &me) { in ProfileLevelSetter()
127 return C2R::Ok(); in ProfileLevelSetter()
130 static C2R MaxBufSizeCalculator( in MaxBufSizeCalculator()
136 return C2R::Ok(); in MaxBufSizeCalculator()
DC2SoftAacDec.cpp233 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me) { in ProfileLevelSetter()
236 return C2R::Ok(); in ProfileLevelSetter()
/frameworks/av/media/codec2/hidl/1.0/utils/
DInputSurface.cpp55 static C2R EosSetter(bool mayBlock, C2P<C2InputSurfaceEosTuning> &me) { in EosSetter()
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceHelper.cpp198 void setSetter(std::function<C2R(const C2Param *, bool, bool *, Factory &)> setter) { in setSetter()
205 C2R result = mSetter(value, mayBlock, changed, f); in trySet()
246 std::function<C2R(const C2Param *, bool, bool *, Factory &)> mSetter;
331 std::function<C2R(const C2Param *, bool, bool *, Factory &)> setter) { in setSetter()
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecConfig_test.cpp259 static C2R Setter(bool, C2P<T> &) { in Setter()
260 return C2R::Ok(); in Setter()
264 static C2R Copy(bool, C2P<ME> &me, const C2P<DEP> &dep) { in Copy()
266 return C2R::Ok(); in Copy()
/frameworks/av/media/codec2/vndk/
DC2Store.cpp844 static C2R setIonUsage(bool /* mayBlock */, C2P<C2StoreIonUsageInfo> &me) { in Interface()
872 return C2R::Ok(); in Interface()
875 static C2R setDmaBufUsage(bool /* mayBlock */, C2P<C2StoreDmaBufUsageInfo> &me) { in Interface()
884 return C2R::Ok(); in Interface()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp205 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me) { in ProfileLevelSetter()
208 return C2R::Ok(); in ProfileLevelSetter()