/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 | 241 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,
|
D | C2SoftVpxEnc.cpp | 194 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 …]
|
D | C2SoftVpxDec.cpp | 241 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/ |
D | C2SoftGav1Dec.cpp | 213 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/ |
D | C2SoftAomDec.cpp | 165 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/ |
D | vendor.cpp | 142 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/ |
D | SimpleC2Interface.h | 206 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/ |
D | C2SoftAvcDec.cpp | 206 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 …]
|
D | C2SoftAvcEnc.cpp | 255 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/ |
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() 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 …]
|
D | C2SoftHevcEnc.cpp | 263 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/ |
D | C2SoftMpeg4Dec.cpp | 172 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()
|
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()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 189 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/ |
D | SampleFilterPlugin.cpp | 283 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/ |
D | SimpleC2Interface.cpp | 31 static C2R SubscribedParamIndicesSetter( in SubscribedParamIndicesSetter() 36 return C2R::Ok(); in SubscribedParamIndicesSetter()
|
/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 | 233 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/ |
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/sfplugin/tests/ |
D | CCodecConfig_test.cpp | 259 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/ |
D | C2Store.cpp | 844 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/ |
D | C2SoftXaacDec.cpp | 205 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me) { in ProfileLevelSetter() 208 return C2R::Ok(); in ProfileLevelSetter()
|