/frameworks/av/media/codec2/vndk/ |
D | C2Config.cpp | 27 DEFINE_C2_ENUM_VALUE_CUSTOM_HELPER(C2Config::profile_t, ({ 28 { "unused", C2Config::PROFILE_UNUSED }, 29 { "aac-lc", C2Config::PROFILE_AAC_LC }, 30 { "aac-main", C2Config::PROFILE_AAC_MAIN }, 31 { "aac-ssr", C2Config::PROFILE_AAC_SSR }, 32 { "aac-ltp", C2Config::PROFILE_AAC_LTP }, 33 { "aac-he", C2Config::PROFILE_AAC_HE }, 34 { "aac-scalable", C2Config::PROFILE_AAC_SCALABLE }, 35 { "aac-er-lc", C2Config::PROFILE_AAC_ER_LC }, 36 { "aac-er-scalable", C2Config::PROFILE_AAC_ER_SCALABLE }, [all …]
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2Mapper.cpp | 38 ALookup<C2Config::profile_t, int32_t> sAacProfiles = { 39 { C2Config::PROFILE_AAC_LC, AACObjectLC }, 40 { C2Config::PROFILE_AAC_MAIN, AACObjectMain }, 41 { C2Config::PROFILE_AAC_SSR, AACObjectSSR }, 42 { C2Config::PROFILE_AAC_LTP, AACObjectLTP }, 43 { C2Config::PROFILE_AAC_HE, AACObjectHE }, 44 { C2Config::PROFILE_AAC_SCALABLE, AACObjectScalable }, 45 { C2Config::PROFILE_AAC_ER_LC, AACObjectERLC }, 46 { C2Config::PROFILE_AAC_ER_SCALABLE, AACObjectERScalable }, 47 { C2Config::PROFILE_AAC_LD, AACObjectLD }, [all …]
|
D | Codec2Mapper.h | 33 virtual bool mapProfile(C2Config::profile_t, int32_t*) = 0; 34 virtual bool mapProfile(int32_t, C2Config::profile_t*) = 0; 35 virtual bool mapLevel(C2Config::level_t, int32_t*) = 0; 36 virtual bool mapLevel(int32_t, C2Config::level_t*) = 0; 46 virtual bool mapHdrFormat(int32_t, C2Config::hdr_format_t *hdr); 60 static bool map(C2Config::bitrate_mode_t, int32_t*); 61 static bool map(int32_t, C2Config::bitrate_mode_t*); 64 static bool map(C2Config::pcm_encoding_t, int32_t*); 65 static bool map(int32_t, C2Config::pcm_encoding_t*); 68 static bool map(C2Config::picture_type_t, int32_t*); [all …]
|
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/fuzzer/ |
D | media_transcoder_fuzzer.cpp | 35 const C2Config::profile_t kAvcProfile[] = {C2Config::PROFILE_AVC_BASELINE, 36 C2Config::PROFILE_AVC_CONSTRAINED_BASELINE, 37 C2Config::PROFILE_AVC_MAIN}; 38 const C2Config::level_t kAvcLevel[] = { 39 C2Config::LEVEL_AVC_1, C2Config::LEVEL_AVC_1B, C2Config::LEVEL_AVC_1_1, 40 C2Config::LEVEL_AVC_1_2, C2Config::LEVEL_AVC_1_3, C2Config::LEVEL_AVC_2, 41 C2Config::LEVEL_AVC_2_1, C2Config::LEVEL_AVC_2_2, C2Config::LEVEL_AVC_3, 42 C2Config::LEVEL_AVC_3_1, C2Config::LEVEL_AVC_3_2, C2Config::LEVEL_AVC_4, 43 C2Config::LEVEL_AVC_4_1, C2Config::LEVEL_AVC_4_2, C2Config::LEVEL_AVC_5, 45 const C2Config::profile_t kHevcProfile[] = {C2Config::PROFILE_HEVC_MAIN, [all …]
|
/frameworks/av/media/codec2/core/include/ |
D | C2Config.h | 53 struct C2Config { struct 316 enum C2Config::api_level_t : uint32_t { 321 typedef C2GlobalParam<C2Setting, C2SimpleValueStruct<C2Config::api_level_t>, kParamIndexApiLevel> 325 C2ENUM(C2Config::api_feature_t, uint64_t, 340 typedef C2GlobalParam<C2Setting, C2SimpleValueStruct<C2Config::api_feature_t>, kParamIndexApiFeatur… 441 enum C2Config::profile_t : uint32_t { 602 enum C2Config::level_t : uint32_t { 758 C2Config::profile_t profile; ///< coding profile 759 C2Config::level_t level; ///< coding level 762 C2Config::profile_t profile_ = C2Config::PROFILE_UNUSED, [all …]
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacDec.cpp | 121 .withDefault(new C2StreamAacFormatInfo::input(0u, C2Config::AAC_PACKAGING_RAW)) in IntfImpl() 123 C2Config::AAC_PACKAGING_RAW, C2Config::AAC_PACKAGING_ADTS in IntfImpl() 131 C2Config::PROFILE_AAC_LC, C2Config::LEVEL_UNUSED)) in IntfImpl() 134 C2Config::PROFILE_AAC_LC, in IntfImpl() 135 C2Config::PROFILE_AAC_HE, in IntfImpl() 136 C2Config::PROFILE_AAC_HE_PS, in IntfImpl() 137 C2Config::PROFILE_AAC_LD, in IntfImpl() 138 C2Config::PROFILE_AAC_ELD, in IntfImpl() 139 C2Config::PROFILE_AAC_ER_SCALABLE, in IntfImpl() 140 C2Config::PROFILE_AAC_XHE}), in IntfImpl() [all …]
|
D | C2SoftAacEnc.cpp | 92 C2Config::PROFILE_AAC_LC, C2Config::LEVEL_UNUSED)) in IntfImpl() 95 C2Config::PROFILE_AAC_LC, in IntfImpl() 96 C2Config::PROFILE_AAC_HE, in IntfImpl() 97 C2Config::PROFILE_AAC_HE_PS, in IntfImpl() 98 C2Config::PROFILE_AAC_LD, in IntfImpl() 99 C2Config::PROFILE_AAC_ELD}), in IntfImpl() 101 C2Config::LEVEL_UNUSED in IntfImpl() 111 C2Config::AAC_SBR_OFF, in IntfImpl() 112 C2Config::AAC_SBR_SINGLE_RATE, in IntfImpl() 113 C2Config::AAC_SBR_DUAL_RATE, in IntfImpl() [all …]
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 90 C2Config::PROFILE_MP4V_SIMPLE, C2Config::LEVEL_MP4V_3)) in IntfImpl() 93 C2Config::PROFILE_MP4V_SIMPLE), in IntfImpl() 95 C2Config::LEVEL_MP4V_0, in IntfImpl() 96 C2Config::LEVEL_MP4V_0B, in IntfImpl() 97 C2Config::LEVEL_MP4V_1, in IntfImpl() 98 C2Config::LEVEL_MP4V_2, in IntfImpl() 99 C2Config::LEVEL_MP4V_3, in IntfImpl() 100 C2Config::LEVEL_MP4V_3B, in IntfImpl() 101 C2Config::LEVEL_MP4V_4, in IntfImpl() 102 C2Config::LEVEL_MP4V_4A, in IntfImpl() [all …]
|
D | C2SoftMpeg4Enc.cpp | 131 C2Config::LEVEL_MP4V_0, in IntfImpl() 132 C2Config::LEVEL_MP4V_0B, in IntfImpl() 133 C2Config::LEVEL_MP4V_1, in IntfImpl() 134 C2Config::LEVEL_MP4V_2}) in IntfImpl() 147 C2Config::LEVEL_H263_10, in IntfImpl() 148 C2Config::LEVEL_H263_20, in IntfImpl() 149 C2Config::LEVEL_H263_30, in IntfImpl() 150 C2Config::LEVEL_H263_40, in IntfImpl() 151 C2Config::LEVEL_H263_45}) in IntfImpl() 198 C2Config::level_t level; in ProfileLevelSetter() [all …]
|
/frameworks/av/media/codec2/sfplugin/ |
D | FrameReassembler.cpp | 34 mEncoding(C2Config::PCM_16), 44 C2Config::pcm_encoding_t encoding) { in init() 68 void FrameReassembler::updatePcmEncoding(C2Config::pcm_encoding_t encoding) { in updatePcmEncoding() 80 mEncoding = C2Config::PCM_16; in reset() 197 return (mEncoding == C2Config::PCM_8) ? 1 in bytesPerSample() 198 : (mEncoding == C2Config::PCM_16) ? 2 in bytesPerSample() 199 : (mEncoding == C2Config::PCM_FLOAT) ? 4 : 0; in bytesPerSample()
|
D | FrameReassembler.h | 40 C2Config::pcm_encoding_t encoding); 44 void updatePcmEncoding(C2Config::pcm_encoding_t encoding); 60 C2Config::pcm_encoding_t mEncoding;
|
D | CCodecConfig.cpp | 390 .withC2Mappers<C2Config::bitrate_mode_t>()); in initializeStandardParams() 548 return value ? C2Value(C2Config::PREPEND_HEADER_TO_ALL_SYNC) in initializeStandardParams() 549 : C2Value(C2Config::PREPEND_HEADER_TO_NONE); in initializeStandardParams() 553 C2Config::prepend_header_mode_t value; in initializeStandardParams() 557 case C2Config::PREPEND_HEADER_TO_NONE: return 0; in initializeStandardParams() 558 case C2Config::PREPEND_HEADER_TO_ALL_SYNC: return 1; in initializeStandardParams() 559 case C2Config::PREPEND_HEADER_ON_CHANGE: [[fallthrough]]; in initializeStandardParams() 715 C2Config::pcm_encoding_t to; in initializeStandardParams() 722 C2Config::pcm_encoding_t value; in initializeStandardParams() 742 return C2Config::AAC_PACKAGING_ADTS; in initializeStandardParams() [all …]
|
/frameworks/av/media/codec2/components/xaac/ |
D | C2SoftXaacDec.cpp | 36 #define DRC_DEFAULT_MOBILE_DRC_HEAVY C2Config::DRC_COMPRESSION_HEAVY /* switch for heavy compress… 117 .withDefault(new C2StreamAacFormatInfo::input(0u, C2Config::AAC_PACKAGING_RAW)) in IntfImpl() 119 C2Config::AAC_PACKAGING_RAW, C2Config::AAC_PACKAGING_ADTS in IntfImpl() 127 C2Config::PROFILE_AAC_LC, C2Config::LEVEL_UNUSED)) in IntfImpl() 130 C2Config::PROFILE_AAC_LC, in IntfImpl() 131 C2Config::PROFILE_AAC_HE, in IntfImpl() 132 C2Config::PROFILE_AAC_HE_PS, in IntfImpl() 133 C2Config::PROFILE_AAC_LD, in IntfImpl() 134 C2Config::PROFILE_AAC_ELD, in IntfImpl() 135 C2Config::PROFILE_AAC_XHE}), in IntfImpl() [all …]
|
/frameworks/av/media/codec2/components/raw/ |
D | C2SoftRawDec.cpp | 86 .withDefault(new C2StreamPcmEncodingInfo::output(0u, C2Config::PCM_16)) in IntfImpl() 88 C2Config::PCM_16, in IntfImpl() 89 C2Config::PCM_8, in IntfImpl() 90 C2Config::PCM_FLOAT, in IntfImpl() 91 C2Config::PCM_24, in IntfImpl() 92 C2Config::PCM_32}) in IntfImpl()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxEnc.cpp | 82 0u, C2Config::BITRATE_VARIABLE)) in IntfImpl() 85 C2Config::BITRATE_CONST, C2Config::BITRATE_VARIABLE }) in IntfImpl() 128 0u, C2Config::INTRA_REFRESH_DISABLED, 0.)) in IntfImpl() 140 C2Config::LEVEL_VP9_1, in IntfImpl() 141 C2Config::LEVEL_VP9_1_1, in IntfImpl() 142 C2Config::LEVEL_VP9_2, in IntfImpl() 143 C2Config::LEVEL_VP9_2_1, in IntfImpl() 144 C2Config::LEVEL_VP9_3, in IntfImpl() 145 C2Config::LEVEL_VP9_3_1, in IntfImpl() 146 C2Config::LEVEL_VP9_4, in IntfImpl() [all …]
|
D | C2SoftVpxDec.cpp | 83 C2Config::PROFILE_VP9_0, C2Config::LEVEL_VP9_5)) in IntfImpl() 86 C2Config::PROFILE_VP9_0, in IntfImpl() 87 C2Config::PROFILE_VP9_2}), in IntfImpl() 89 C2Config::LEVEL_VP9_1, in IntfImpl() 90 C2Config::LEVEL_VP9_1_1, in IntfImpl() 91 C2Config::LEVEL_VP9_2, in IntfImpl() 92 C2Config::LEVEL_VP9_2_1, in IntfImpl() 93 C2Config::LEVEL_VP9_3, in IntfImpl() 94 C2Config::LEVEL_VP9_3_1, in IntfImpl() 95 C2Config::LEVEL_VP9_4, in IntfImpl() [all …]
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 101 C2Config::PROFILE_AVC_CONSTRAINED_BASELINE, C2Config::LEVEL_AVC_5_2)) in IntfImpl() 104 C2Config::PROFILE_AVC_CONSTRAINED_BASELINE, in IntfImpl() 105 C2Config::PROFILE_AVC_BASELINE, in IntfImpl() 106 C2Config::PROFILE_AVC_MAIN, in IntfImpl() 107 C2Config::PROFILE_AVC_CONSTRAINED_HIGH, in IntfImpl() 108 C2Config::PROFILE_AVC_PROGRESSIVE_HIGH, in IntfImpl() 109 C2Config::PROFILE_AVC_HIGH}), in IntfImpl() 111 C2Config::LEVEL_AVC_1, C2Config::LEVEL_AVC_1B, C2Config::LEVEL_AVC_1_1, in IntfImpl() 112 C2Config::LEVEL_AVC_1_2, C2Config::LEVEL_AVC_1_3, in IntfImpl() 113 C2Config::LEVEL_AVC_2, C2Config::LEVEL_AVC_2_1, C2Config::LEVEL_AVC_2_2, in IntfImpl() [all …]
|
D | C2SoftAvcEnc.cpp | 66 if (layer.type_ == C2Config::picture_type_t(P_FRAME | B_FRAME) && maxBframes) { in ParseGop() 131 {C2Config::picture_type_t(I_FRAME), in IntfImpl() 132 C2Config::picture_type_t(P_FRAME), in IntfImpl() 133 C2Config::picture_type_t(B_FRAME)}), in IntfImpl() 156 .withDefault(new C2StreamBitrateModeTuning::output(0u, C2Config::BITRATE_VARIABLE)) in IntfImpl() 158 C2Config::BITRATE_CONST, in IntfImpl() 159 C2Config::BITRATE_VARIABLE, in IntfImpl() 160 C2Config::BITRATE_IGNORE}) in IntfImpl() 175 0u, C2Config::INTRA_REFRESH_DISABLED, 0.)) in IntfImpl() 178 C2Config::INTRA_REFRESH_DISABLED, C2Config::INTRA_REFRESH_ARBITRARY }), in IntfImpl() [all …]
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.cpp | 65 if (layer.type_ == C2Config::picture_type_t(P_FRAME | B_FRAME) && maxBframes) { in ParseGop() 146 0u, C2Config::BITRATE_VARIABLE)) in IntfImpl() 149 C2Config::BITRATE_CONST, in IntfImpl() 150 C2Config::BITRATE_VARIABLE, in IntfImpl() 151 C2Config::BITRATE_IGNORE}) in IntfImpl() 185 .oneOf({C2Config::PROFILE_HEVC_MAIN, in IntfImpl() 186 C2Config::PROFILE_HEVC_MAIN_STILL}), in IntfImpl() 254 {C2Config::picture_type_t(I_FRAME), in IntfImpl() 255 C2Config::picture_type_t(P_FRAME), in IntfImpl() 256 C2Config::picture_type_t(B_FRAME)}), in IntfImpl() [all …]
|
D | C2SoftHevcDec.cpp | 84 C2Config::PROFILE_HEVC_MAIN, C2Config::LEVEL_HEVC_MAIN_5_1)) in IntfImpl() 87 C2Config::PROFILE_HEVC_MAIN, in IntfImpl() 88 C2Config::PROFILE_HEVC_MAIN_STILL}), in IntfImpl() 90 C2Config::LEVEL_HEVC_MAIN_1, in IntfImpl() 91 C2Config::LEVEL_HEVC_MAIN_2, C2Config::LEVEL_HEVC_MAIN_2_1, in IntfImpl() 92 C2Config::LEVEL_HEVC_MAIN_3, C2Config::LEVEL_HEVC_MAIN_3_1, in IntfImpl() 93 C2Config::LEVEL_HEVC_MAIN_4, C2Config::LEVEL_HEVC_MAIN_4_1, in IntfImpl() 94 C2Config::LEVEL_HEVC_MAIN_5, C2Config::LEVEL_HEVC_MAIN_5_1, in IntfImpl() 95 C2Config::LEVEL_HEVC_MAIN_5_2, C2Config::LEVEL_HEVC_HIGH_4, in IntfImpl() 96 C2Config::LEVEL_HEVC_HIGH_4_1, C2Config::LEVEL_HEVC_HIGH_5, in IntfImpl() [all …]
|
/frameworks/av/media/codec2/components/dav1d/ |
D | C2SoftDav1dDec.cpp | 74 0u, C2Config::PROFILE_AV1_0, C2Config::LEVEL_AV1_2_1)) in IntfImpl() 76 .oneOf({C2Config::PROFILE_AV1_0, in IntfImpl() 77 C2Config::PROFILE_AV1_1}), in IntfImpl() 80 C2Config::LEVEL_AV1_2, in IntfImpl() 81 C2Config::LEVEL_AV1_2_1, in IntfImpl() 82 C2Config::LEVEL_AV1_2_2, in IntfImpl() 83 C2Config::LEVEL_AV1_2_3, in IntfImpl() 84 C2Config::LEVEL_AV1_3, in IntfImpl() 85 C2Config::LEVEL_AV1_3_1, in IntfImpl() 86 C2Config::LEVEL_AV1_3_2, in IntfImpl() [all …]
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 80 0u, C2Config::PROFILE_AV1_0, C2Config::LEVEL_AV1_2_1)) in IntfImpl() 82 .oneOf({C2Config::PROFILE_AV1_0, in IntfImpl() 83 C2Config::PROFILE_AV1_1}), in IntfImpl() 86 C2Config::LEVEL_AV1_2, C2Config::LEVEL_AV1_2_1, in IntfImpl() 87 C2Config::LEVEL_AV1_2_2, C2Config::LEVEL_AV1_2_3, in IntfImpl() 88 C2Config::LEVEL_AV1_3, C2Config::LEVEL_AV1_3_1, in IntfImpl() 89 C2Config::LEVEL_AV1_3_2, C2Config::LEVEL_AV1_3_3, in IntfImpl() 90 C2Config::LEVEL_AV1_4, C2Config::LEVEL_AV1_4_1, in IntfImpl() 91 C2Config::LEVEL_AV1_4_2, C2Config::LEVEL_AV1_4_3, in IntfImpl() 92 C2Config::LEVEL_AV1_5, C2Config::LEVEL_AV1_5_1, in IntfImpl() [all …]
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 67 C2Config::PROFILE_AV1_0, C2Config::LEVEL_AV1_2_1)) in IntfImpl() 70 C2Config::PROFILE_AV1_0, in IntfImpl() 71 C2Config::PROFILE_AV1_1}), in IntfImpl() 73 C2Config::LEVEL_AV1_2, in IntfImpl() 74 C2Config::LEVEL_AV1_2_1, in IntfImpl() 75 C2Config::LEVEL_AV1_2_2, in IntfImpl() 76 C2Config::LEVEL_AV1_3, in IntfImpl() 77 C2Config::LEVEL_AV1_3_1, in IntfImpl() 78 C2Config::LEVEL_AV1_3_2, in IntfImpl()
|
D | C2SoftAomEnc.cpp | 72 0u, C2Config::BITRATE_VARIABLE)) in IntfImpl() 74 .oneOf({C2Config::BITRATE_CONST, in IntfImpl() 75 C2Config::BITRATE_VARIABLE, in IntfImpl() 76 C2Config::BITRATE_IGNORE})}) in IntfImpl() 113 0u, C2Config::INTRA_REFRESH_DISABLED, 0.)) in IntfImpl() 190 {C2Config::I_FRAME, C2Config::P_FRAME}), in IntfImpl() 234 C2Config::level_t level; in ProfileLevelSetter() 340 if (layer.type_ == C2Config::picture_type_t(I_FRAME)) { in PictureQuantizationSetter() 344 } else if (layer.type_ == C2Config::picture_type_t(P_FRAME)) { in PictureQuantizationSetter() 363 if (layer.type_ == C2Config::picture_type_t(I_FRAME)) { in PictureQuantizationSetter() [all …]
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacEnc.cpp | 88 .withDefault(new C2StreamPcmEncodingInfo::input(0u, C2Config::PCM_16)) in IntfImpl() 90 C2Config::PCM_16, in IntfImpl() 92 C2Config::PCM_FLOAT}) in IntfImpl() 113 int bytesPerSample = pcmEncoding.v.value == C2Config::PCM_FLOAT ? 4 : 2; in MaxInputSizeSetter() 260 const bool inputFloat = mIntf->getPcmEncodingInfo() == C2Config::PCM_FLOAT; in process() 437 const bool inputFloat = mIntf->getPcmEncodingInfo() == C2Config::PCM_FLOAT; in configureEncoder()
|