Home
last modified time | relevance | path

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

12

/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.h245 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me);
247 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::input> &oldMe,
250 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::output>& me,
255 static C2R LayeringSetter(bool mayBlock, C2P<C2StreamTemporalLayeringTuning::output>& me);
257 static C2R PictureQuantizationSetter(bool mayBlock,
283 static C2R ColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::input> &me);
284 static C2R CodedColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::output> &me,
DC2SoftVpxEnc.cpp225 C2R C2SoftVpxEnc::IntfImpl::BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter()
227 C2R res = C2R::Ok(); in BitrateSetter()
234 C2R C2SoftVpxEnc::IntfImpl::SizeSetter(bool mayBlock, in SizeSetter()
238 C2R res = C2R::Ok(); in SizeSetter()
250 C2R C2SoftVpxEnc::IntfImpl::ProfileLevelSetter(bool mayBlock, in ProfileLevelSetter()
329 return C2R::Ok(); in ProfileLevelSetter()
332 C2R C2SoftVpxEnc::IntfImpl::LayeringSetter(bool mayBlock, in LayeringSetter()
335 C2R res = C2R::Ok(); in LayeringSetter()
357 C2R C2SoftVpxEnc::IntfImpl::PictureQuantizationSetter( in PictureQuantizationSetter()
402 return C2R::Ok(); in PictureQuantizationSetter()
[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/aom/
DC2SoftAomEnc.h121 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output>& me);
123 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::input>& oldMe,
126 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::output>& me,
130 static C2R PictureQuantizationSetter(bool mayBlock,
160 static C2R ColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::input>& me);
161 static C2R CodedColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::output>& me,
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 …]
DC2SoftAomEnc.cpp199 C2R C2SoftAomEnc::IntfImpl::BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output>& me) { in BitrateSetter()
201 C2R res = C2R::Ok(); in BitrateSetter()
208 C2R C2SoftAomEnc::IntfImpl::SizeSetter(bool mayBlock, in SizeSetter()
212 C2R res = C2R::Ok(); in SizeSetter()
224 C2R C2SoftAomEnc::IntfImpl::ProfileLevelSetter(bool mayBlock, in ProfileLevelSetter()
290 return C2R::Ok(); in ProfileLevelSetter()
301 C2R C2SoftAomEnc::IntfImpl::ColorAspectsSetter(bool mayBlock, in ColorAspectsSetter()
316 return C2R::Ok(); in ColorAspectsSetter()
318 C2R C2SoftAomEnc::IntfImpl::CodedColorAspectsSetter( in CodedColorAspectsSetter()
326 return C2R::Ok(); in CodedColorAspectsSetter()
[all …]
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDec.cpp260 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output>& oldMe, in SizeSetter()
263 C2R res = C2R::Ok(); in SizeSetter()
275 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output>& me, in MaxPictureSizeSetter()
282 return C2R::Ok(); in MaxPictureSizeSetter()
285 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input>& me, in MaxInputSizeSetter()
292 return C2R::Ok(); in MaxInputSizeSetter()
295 static C2R DefaultColorAspectsSetter(bool mayBlock, in DefaultColorAspectsSetter()
310 return C2R::Ok(); in DefaultColorAspectsSetter()
313 static C2R CodedColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::input>& me) { in CodedColorAspectsSetter()
327 return C2R::Ok(); in CodedColorAspectsSetter()
[all …]
/frameworks/av/media/codec2/hal/services/
Dvendor.cpp156 static C2R SetIonUsage(bool /* mayBlock */, C2P<C2StoreIonUsageInfo> &me) { in SetIonUsage()
161 return C2R::Ok(); in SetIonUsage()
164 static C2R SetDmaBufUsage(bool /* mayBlock */, C2P<C2StoreDmaBufUsageInfo> &me) { in SetDmaBufUsage()
168 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/gav1/
DC2SoftGav1Dec.cpp249 static C2R SizeSetter(bool mayBlock, in SizeSetter()
253 C2R res = C2R::Ok(); in SizeSetter()
265 static C2R MaxPictureSizeSetter( in MaxPictureSizeSetter()
273 return C2R::Ok(); in MaxPictureSizeSetter()
276 static C2R MaxInputSizeSetter( in MaxInputSizeSetter()
283 return C2R::Ok(); in MaxInputSizeSetter()
286 static C2R DefaultColorAspectsSetter( in DefaultColorAspectsSetter()
301 return C2R::Ok(); in DefaultColorAspectsSetter()
304 static C2R CodedColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsInfo::input> &me) { in CodedColorAspectsSetter()
318 return C2R::Ok(); in CodedColorAspectsSetter()
[all …]
/frameworks/av/media/codec2/components/hevc/
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()
372 return C2R::Ok(); in ProfileLevelSetter()
375 static C2R GopSetter(bool mayBlock, C2P<C2StreamGopTuning::output> &me) { in GopSetter()
384 return C2R::Ok(); in GopSetter()
[all …]
DC2SoftHevcDec.cpp200 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
203 C2R res = C2R::Ok(); in SizeSetter()
215 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
221 return C2R::Ok(); in MaxPictureSizeSetter()
224 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
230 return C2R::Ok(); in MaxInputSizeSetter()
233 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
238 return C2R::Ok(); in ProfileLevelSetter()
241 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
255 return C2R::Ok(); in DefaultColorAspectsSetter()
[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.cpp158 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter()
160 C2R res = C2R::Ok(); in BitrateSetter()
167 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::input> &oldMe, in SizeSetter()
170 C2R res = C2R::Ok(); in SizeSetter()
182 static C2R ProfileLevelSetter( in ProfileLevelSetter()
281 return C2R::Ok(); in ProfileLevelSetter()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp192 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
195 C2R res = C2R::Ok(); in SizeSetter()
207 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
213 return C2R::Ok(); in MaxPictureSizeSetter()
216 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
222 return C2R::Ok(); in MaxInputSizeSetter()
225 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
230 return C2R::Ok(); in ProfileLevelSetter()
233 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
247 return C2R::Ok(); in DefaultColorAspectsSetter()
[all …]
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp209 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
212 C2R res = C2R::Ok(); in SizeSetter()
224 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
230 return C2R::Ok(); in MaxPictureSizeSetter()
233 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
239 return C2R::Ok(); in MaxInputSizeSetter()
242 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
247 return C2R::Ok(); in ProfileLevelSetter()
250 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
264 return C2R::Ok(); in DefaultColorAspectsSetter()
[all …]
DC2SoftAvcEnc.cpp266 static C2R InputDelaySetter( in InputDelaySetter()
274 return C2R::Ok(); in InputDelaySetter()
277 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter()
279 C2R res = C2R::Ok(); in BitrateSetter()
287 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::input> &oldMe, in SizeSetter()
290 C2R res = C2R::Ok(); in SizeSetter()
302 static C2R ProfileLevelSetter( in ProfileLevelSetter()
378 return C2R::Ok(); in ProfileLevelSetter()
381 static C2R IntraRefreshSetter(bool mayBlock, C2P<C2StreamIntraRefreshTuning::output> &me) { in IntraRefreshSetter()
383 C2R res = C2R::Ok(); in IntraRefreshSetter()
[all …]
/frameworks/av/media/codec2/hal/plugin/samples/
DSampleFilterPlugin.cpp303 static C2R OutputBlockPoolSetter( in OutputBlockPoolSetter()
307 return C2R::Ok(); in OutputBlockPoolSetter()
310 static C2R HdrStaticInfoSetter( in HdrStaticInfoSetter()
314 return C2R::Ok(); in HdrStaticInfoSetter()
317 static C2R InputColorAspectsSetter( in InputColorAspectsSetter()
321 return C2R::Ok(); in InputColorAspectsSetter()
324 static C2R OutputColorAspectsSetter( in OutputColorAspectsSetter()
337 return C2R::Ok(); in OutputColorAspectsSetter()
340 static C2R ColorAspectsRequestSetter( in ColorAspectsRequestSetter()
356 return C2R::Ok(); in ColorAspectsRequestSetter()
[all …]
/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()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.cpp107 static C2R MaxInputSizeSetter(bool mayBlock, in MaxInputSizeSetter()
112 C2R res = C2R::Ok(); in MaxInputSizeSetter()
/frameworks/av/media/codec2/hal/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.cpp278 static C2R Setter(bool, C2P<T> &) { in Setter()
279 return C2R::Ok(); in Setter()
283 static C2R Copy(bool, C2P<ME> &me, const C2P<DEP> &dep) { in Copy()
285 return C2R::Ok(); in Copy()

12