Home
last modified time | relevance | path

Searched refs:C2R (Results 1 – 18 of 18) 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.h349 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter()
351 C2R res = C2R::Ok(); in BitrateSetter()
358 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::input> &oldMe, in SizeSetter()
361 C2R res = C2R::Ok(); in SizeSetter()
373 static C2R ProfileLevelSetter( in ProfileLevelSetter()
383 return C2R::Ok(); in ProfileLevelSetter()
386 static C2R LayeringSetter(bool mayBlock, C2P<C2StreamTemporalLayeringTuning::output>& me) { in LayeringSetter()
388 C2R res = C2R::Ok(); in LayeringSetter()
DC2SoftVpxDec.cpp219 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
222 C2R res = C2R::Ok(); in SizeSetter()
234 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
240 return C2R::Ok(); in MaxPictureSizeSetter()
243 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
248 return C2R::Ok(); in MaxInputSizeSetter()
251 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
265 return C2R::Ok(); in DefaultColorAspectsSetter()
268 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
273 return C2R::Ok(); in ProfileLevelSetter()
[all …]
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp162 static C2R SizeSetter(bool mayBlock, in SizeSetter()
166 C2R res = C2R::Ok(); in SizeSetter()
178 static C2R MaxPictureSizeSetter( in MaxPictureSizeSetter()
186 return C2R::Ok(); in MaxPictureSizeSetter()
189 static C2R MaxInputSizeSetter( in MaxInputSizeSetter()
196 return C2R::Ok(); in MaxInputSizeSetter()
198 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
212 return C2R::Ok(); in DefaultColorAspectsSetter()
215 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
220 return C2R::Ok(); in ProfileLevelSetter()
[all …]
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Interface.h206 static C2R NonStrictValueWithNoDeps( in NonStrictValueWithNoDeps()
212 static C2R NonStrictValuesWithNoDeps( in NonStrictValuesWithNoDeps()
215 C2R res = C2R::Ok(); in NonStrictValuesWithNoDeps()
222 static C2R StrictValueWithNoDeps( in StrictValueWithNoDeps()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.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()
229 return C2R::Ok(); in MaxInputSizeSetter()
232 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
237 return C2R::Ok(); in ProfileLevelSetter()
240 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
254 return C2R::Ok(); in DefaultColorAspectsSetter()
[all …]
DC2SoftAvcEnc.cpp203 static C2R InputDelaySetter( in InputDelaySetter()
211 return C2R::Ok(); in InputDelaySetter()
214 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter()
216 C2R res = C2R::Ok(); in BitrateSetter()
223 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::input> &oldMe, in SizeSetter()
226 C2R res = C2R::Ok(); in SizeSetter()
238 static C2R ProfileLevelSetter( in ProfileLevelSetter()
311 return C2R::Ok(); in ProfileLevelSetter()
314 static C2R IntraRefreshSetter(bool mayBlock, C2P<C2StreamIntraRefreshTuning::output> &me) { in IntraRefreshSetter()
316 C2R res = C2R::Ok(); in IntraRefreshSetter()
[all …]
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp194 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
197 C2R res = C2R::Ok(); in SizeSetter()
209 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
215 return C2R::Ok(); in MaxPictureSizeSetter()
218 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
223 return C2R::Ok(); in MaxInputSizeSetter()
226 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
231 return C2R::Ok(); in ProfileLevelSetter()
234 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
248 return C2R::Ok(); in DefaultColorAspectsSetter()
[all …]
DC2SoftHevcEnc.cpp175 static C2R BitrateSetter(bool mayBlock, in BitrateSetter()
178 C2R res = C2R::Ok(); in BitrateSetter()
185 static C2R SizeSetter(bool mayBlock, in SizeSetter()
189 C2R res = C2R::Ok(); in SizeSetter()
201 static C2R ProfileLevelSetter( in ProfileLevelSetter()
270 return C2R::Ok(); in ProfileLevelSetter()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp182 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
185 C2R res = C2R::Ok(); in SizeSetter()
197 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
203 return C2R::Ok(); in MaxPictureSizeSetter()
206 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
211 return C2R::Ok(); in MaxInputSizeSetter()
214 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
219 return C2R::Ok(); in ProfileLevelSetter()
222 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter()
236 return C2R::Ok(); in DefaultColorAspectsSetter()
[all …]
/frameworks/av/media/codec2/components/mpeg4_h263/
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()
DC2SoftMpeg4Dec.cpp188 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
191 C2R res = C2R::Ok(); in SizeSetter()
203 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
214 return C2R::Ok(); in MaxPictureSizeSetter()
217 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()
/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.cpp195 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me) { in ProfileLevelSetter()
198 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/vndk/
DC2Store.cpp601 static C2R setIonUsage(bool /* mayBlock */, C2P<C2StoreIonUsageInfo> &me) { in Interface()
605 return C2R::Ok(); in Interface()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp204 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me) { in ProfileLevelSetter()
207 return C2R::Ok(); in ProfileLevelSetter()