/frameworks/av/media/codec2/vndk/include/util/ |
D | C2InterfaceHelper.h | 32 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/ |
D | C2SoftVpxEnc.h | 349 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()
|
D | C2SoftVpxDec.cpp | 219 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/gav1/ |
D | C2SoftGav1Dec.cpp | 159 static C2R SizeSetter(bool mayBlock, in SizeSetter() 163 C2R res = C2R::Ok(); in SizeSetter() 175 static C2R MaxPictureSizeSetter( in MaxPictureSizeSetter() 183 return C2R::Ok(); in MaxPictureSizeSetter() 186 static C2R MaxInputSizeSetter( in MaxInputSizeSetter() 193 return C2R::Ok(); in MaxInputSizeSetter() 196 static C2R DefaultColorAspectsSetter( in DefaultColorAspectsSetter() 211 return C2R::Ok(); in DefaultColorAspectsSetter() 214 static C2R ProfileLevelSetter( in ProfileLevelSetter() 220 return C2R::Ok(); in ProfileLevelSetter() [all …]
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 163 static C2R SizeSetter(bool mayBlock, in SizeSetter() 167 C2R res = C2R::Ok(); in SizeSetter() 179 static C2R MaxPictureSizeSetter( in MaxPictureSizeSetter() 187 return C2R::Ok(); in MaxPictureSizeSetter() 190 static C2R MaxInputSizeSetter( in MaxInputSizeSetter() 197 return C2R::Ok(); in MaxInputSizeSetter() 199 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter() 213 return C2R::Ok(); in DefaultColorAspectsSetter() 216 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter() 221 return C2R::Ok(); in ProfileLevelSetter() [all …]
|
/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Interface.h | 206 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/hevc/ |
D | C2SoftHevcDec.cpp | 197 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() 226 return C2R::Ok(); in MaxInputSizeSetter() 229 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter() 234 return C2R::Ok(); in ProfileLevelSetter() 237 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter() 251 return C2R::Ok(); in DefaultColorAspectsSetter() [all …]
|
D | C2SoftHevcEnc.cpp | 213 static C2R InputDelaySetter( in InputDelaySetter() 221 return C2R::Ok(); in InputDelaySetter() 224 static C2R BitrateSetter(bool mayBlock, in BitrateSetter() 227 C2R res = C2R::Ok(); in BitrateSetter() 234 static C2R SizeSetter(bool mayBlock, in SizeSetter() 238 C2R res = C2R::Ok(); in SizeSetter() 250 static C2R ProfileLevelSetter( in ProfileLevelSetter() 319 return C2R::Ok(); in ProfileLevelSetter() 322 static C2R GopSetter(bool mayBlock, C2P<C2StreamGopTuning::output> &me) { in GopSetter() 331 return C2R::Ok(); in GopSetter()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 203 static C2R SizeSetter(bool mayBlock, const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter() 206 C2R res = C2R::Ok(); in SizeSetter() 218 static C2R MaxPictureSizeSetter(bool mayBlock, C2P<C2StreamMaxPictureSizeTuning::output> &me, in MaxPictureSizeSetter() 224 return C2R::Ok(); in MaxPictureSizeSetter() 227 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter() 232 return C2R::Ok(); in MaxInputSizeSetter() 235 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter() 240 return C2R::Ok(); in ProfileLevelSetter() 243 … static C2R DefaultColorAspectsSetter(bool mayBlock, C2P<C2StreamColorAspectsTuning::output> &me) { in DefaultColorAspectsSetter() 257 return C2R::Ok(); in DefaultColorAspectsSetter() [all …]
|
D | C2SoftAvcEnc.cpp | 203 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/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 182 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/ |
D | C2SoftMpeg4Enc.cpp | 156 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()
|
D | C2SoftMpeg4Dec.cpp | 188 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/hidl/services/ |
D | vendor.cpp | 128 static C2R SetIonUsage(bool /* mayBlock */, C2P<C2StoreIonUsageInfo> &me) { in SetIonUsage() 133 return C2R::Ok(); in SetIonUsage()
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacEnc.cpp | 124 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()
|
D | C2SoftAacDec.cpp | 195 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/ |
D | InputSurface.cpp | 55 static C2R EosSetter(bool mayBlock, C2P<C2InputSurfaceEosTuning> &me) { in EosSetter()
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceHelper.cpp | 198 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/ |
D | C2Store.cpp | 605 static C2R setIonUsage(bool /* mayBlock */, C2P<C2StoreIonUsageInfo> &me) { in Interface() 633 return C2R::Ok(); in Interface()
|
/frameworks/av/media/codec2/components/xaac/ |
D | C2SoftXaacDec.cpp | 204 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me) { in ProfileLevelSetter() 207 return C2R::Ok(); in ProfileLevelSetter()
|