Home
last modified time | relevance | path

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

/hardware/google/av/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 …]
/hardware/google/av/media/codecs/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.cpp199 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
202 C2R res = C2R::Ok(); in SizeSetter()
214 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
220 return C2R::Ok(); in MaxPictureSizeSetter()
223 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
228 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 Hdr10PlusInfoInputSetter(bool mayBlock, C2P<C2StreamHdr10PlusInfo::input> &me) { in Hdr10PlusInfoInputSetter()
243 return C2R::Ok(); in Hdr10PlusInfoInputSetter()
[all …]
/hardware/google/av/media/codecs/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()
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.cpp190 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
193 C2R res = C2R::Ok(); in SizeSetter()
205 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter()
211 return C2R::Ok(); in MaxPictureSizeSetter()
214 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 …]
/hardware/google/av/media/codecs/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 …]
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.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 …]
DC2SoftAvcEnc.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()
255 return C2R::Ok(); in ProfileLevelSetter()
258 static C2R IntraRefreshSetter(bool mayBlock, C2P<C2StreamIntraRefreshTuning::output> &me) { in IntraRefreshSetter()
260 C2R res = C2R::Ok(); in IntraRefreshSetter()
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Dec.cpp184 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
187 C2R res = C2R::Ok(); in SizeSetter()
199 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()
218 return C2R::Ok(); in MaxInputSizeSetter()
221 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
226 return C2R::Ok(); in ProfileLevelSetter()
DC2SoftMpeg4Enc.cpp162 static C2R BitrateSetter(bool mayBlock, C2P<C2StreamBitrateInfo::output> &me) { in BitrateSetter()
164 C2R res = C2R::Ok(); in BitrateSetter()
171 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::input> &oldMe, in SizeSetter()
174 C2R res = C2R::Ok(); in SizeSetter()
186 static C2R ProfileLevelSetter( in ProfileLevelSetter()
204 return C2R::Ok(); in ProfileLevelSetter()
/hardware/google/av/media/codecs/aac/
DC2SoftAacEnc.cpp112 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::output> &me) { in ProfileLevelSetter()
115 return C2R::Ok(); in ProfileLevelSetter()
118 static C2R MaxBufSizeCalculator( in MaxBufSizeCalculator()
124 return C2R::Ok(); in MaxBufSizeCalculator()
DC2SoftAacDec.cpp202 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me) { in ProfileLevelSetter()
205 return C2R::Ok(); in ProfileLevelSetter()
/hardware/google/av/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()
/hardware/google/av/codec2/hidl/1.0/utils/
DInputSurface.cpp55 static C2R EosSetter(bool mayBlock, C2P<C2InputSurfaceEosTuning> &me) { in EosSetter()
/hardware/google/av/codec2/vndk/
DC2Store.cpp603 static C2R setIonUsage(bool /* mayBlock */, C2P<C2StoreIonUsageInfo> &me) { in Interface()
607 return C2R::Ok(); in Interface()
/hardware/google/av/media/codecs/xaac/
DC2SoftXaacDec.cpp208 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me) { in ProfileLevelSetter()
211 return C2R::Ok(); in ProfileLevelSetter()