Home
last modified time | relevance | path

Searched refs:C2Config (Results 1 – 25 of 40) sorted by relevance

12

/aosp12/frameworks/av/media/codec2/vndk/
H A DC2Config.cpp28 { "unused", C2Config::PROFILE_UNUSED },
29 { "aac-lc", C2Config::PROFILE_AAC_LC },
33 { "aac-he", C2Config::PROFILE_AAC_HE },
37 { "aac-ld", C2Config::PROFILE_AAC_LD },
180 { "avc-1", C2Config::LEVEL_AVC_1 },
185 { "avc-2", C2Config::LEVEL_AVC_2 },
188 { "avc-3", C2Config::LEVEL_AVC_3 },
191 { "avc-4", C2Config::LEVEL_AVC_4 },
194 { "avc-5", C2Config::LEVEL_AVC_5 },
197 { "avc-6", C2Config::LEVEL_AVC_6 },
[all …]
/aosp12/frameworks/av/media/codec2/sfplugin/utils/
H A DCodec2Mapper.cpp51 { C2Config::LEVEL_AVC_1, AVCLevel1 },
52 { C2Config::LEVEL_AVC_1B, AVCLevel1b },
53 { C2Config::LEVEL_AVC_1_1, AVCLevel11 },
56 { C2Config::LEVEL_AVC_2, AVCLevel2 },
59 { C2Config::LEVEL_AVC_3, AVCLevel3 },
62 { C2Config::LEVEL_AVC_4, AVCLevel4 },
65 { C2Config::LEVEL_AVC_5, AVCLevel5 },
68 { C2Config::LEVEL_AVC_6, AVCLevel6 },
444 *to = C2Config::LEVEL_UNUSED; in simpleMap()
565 *to = C2Config::LEVEL_UNUSED; in simpleMap()
[all …]
H A DCodec2Mapper.h33 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;
47 static bool map(C2Config::bitrate_mode_t, int32_t*);
48 static bool map(int32_t, C2Config::bitrate_mode_t*);
51 static bool map(C2Config::pcm_encoding_t, int32_t*);
52 static bool map(int32_t, C2Config::pcm_encoding_t*);
55 static bool map(C2Config::picture_type_t, int32_t*);
56 static bool map(int32_t, C2Config::picture_type_t*);
/aosp12/frameworks/av/media/libmediatranscoding/transcoder/tests/fuzzer/
H A Dmedia_transcoder_fuzzer.cpp35 const C2Config::profile_t kAvcProfile[] = {C2Config::PROFILE_AVC_BASELINE,
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,
48 C2Config::LEVEL_HEVC_MAIN_1, C2Config::LEVEL_HEVC_MAIN_2, C2Config::LEVEL_HEVC_MAIN_2_1,
49 C2Config::LEVEL_HEVC_MAIN_3, C2Config::LEVEL_HEVC_MAIN_3_1, C2Config::LEVEL_HEVC_MAIN_4,
50 C2Config::LEVEL_HEVC_MAIN_4_1, C2Config::LEVEL_HEVC_MAIN_5, C2Config::LEVEL_HEVC_MAIN_5_1,
[all …]
/aosp12/frameworks/av/media/codec2/core/include/
H A DC2Config.h53 struct C2Config { struct
293 enum C2Config::api_level_t : uint32_t {
302 C2ENUM(C2Config::api_feature_t, uint64_t,
418 enum C2Config::profile_t : uint32_t {
579 enum C2Config::level_t : uint32_t {
733 C2Config::profile_t profile_ = C2Config::PROFILE_UNUSED,
734 C2Config::level_t level_ = C2Config::LEVEL_UNUSED)
790 C2Config::supplemental_info_t type_;
1725 C2Config::picture_type_t type_;
1748 C2Config::picture_type_t type_;
[all …]
/aosp12/frameworks/av/media/codec2/components/aac/
H A DC2SoftAacDec.cpp123 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()
140 C2Config::PROFILE_AAC_XHE}), in IntfImpl()
142 C2Config::LEVEL_UNUSED in IntfImpl()
195 C2Config::DRC_EFFECT_OFF, in IntfImpl()
[all …]
H A DC2SoftAacEnc.cpp92 C2Config::PROFILE_AAC_LC, C2Config::LEVEL_UNUSED)) in IntfImpl()
95 C2Config::PROFILE_AAC_LC, in IntfImpl()
96 C2Config::PROFILE_AAC_HE, in IntfImpl()
98 C2Config::PROFILE_AAC_LD, in IntfImpl()
101 C2Config::LEVEL_UNUSED in IntfImpl()
111 C2Config::AAC_SBR_OFF, in IntfImpl()
223 if (profile == C2Config::PROFILE_AAC_LC) { in getAOTFromProfile()
225 } else if (profile == C2Config::PROFILE_AAC_HE) { in getAOTFromProfile()
229 } else if (profile == C2Config::PROFILE_AAC_LD) { in getAOTFromProfile()
231 } else if (profile == C2Config::PROFILE_AAC_ELD) { in getAOTFromProfile()
[all …]
/aosp12/frameworks/av/media/codec2/components/mpeg4_h263/
H A DC2SoftMpeg4Dec.cpp90 C2Config::PROFILE_MP4V_SIMPLE, C2Config::LEVEL_MP4V_3)) 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()
103 C2Config::LEVEL_MP4V_5, in IntfImpl()
[all …]
H A DC2SoftMpeg4Enc.cpp129 C2Config::LEVEL_MP4V_0, in IntfImpl()
130 C2Config::LEVEL_MP4V_0B, in IntfImpl()
131 C2Config::LEVEL_MP4V_1, in IntfImpl()
132 C2Config::LEVEL_MP4V_2}) in IntfImpl()
145 C2Config::LEVEL_H263_10, in IntfImpl()
146 C2Config::LEVEL_H263_20, in IntfImpl()
147 C2Config::LEVEL_H263_30, in IntfImpl()
148 C2Config::LEVEL_H263_40, in IntfImpl()
149 C2Config::LEVEL_H263_45}) in IntfImpl()
604 0u /* stream id */, C2Config::SYNC_FRAME)); in process()
/aosp12/frameworks/av/media/codec2/components/xaac/
H A DC2SoftXaacDec.cpp119 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()
137 C2Config::LEVEL_UNUSED in IntfImpl()
190 C2Config::DRC_EFFECT_OFF, in IntfImpl()
[all …]
/aosp12/frameworks/av/media/codec2/components/avc/
H A DC2SoftAvcDec.cpp98 C2Config::PROFILE_AVC_CONSTRAINED_BASELINE, C2Config::LEVEL_AVC_5_2)) in IntfImpl()
102 C2Config::PROFILE_AVC_BASELINE, in IntfImpl()
103 C2Config::PROFILE_AVC_MAIN, in IntfImpl()
104 C2Config::PROFILE_AVC_CONSTRAINED_HIGH, in IntfImpl()
106 C2Config::PROFILE_AVC_HIGH}), in IntfImpl()
108 C2Config::LEVEL_AVC_1, C2Config::LEVEL_AVC_1B, C2Config::LEVEL_AVC_1_1, in IntfImpl()
109 C2Config::LEVEL_AVC_1_2, C2Config::LEVEL_AVC_1_3, in IntfImpl()
110 C2Config::LEVEL_AVC_2, C2Config::LEVEL_AVC_2_1, C2Config::LEVEL_AVC_2_2, in IntfImpl()
111 C2Config::LEVEL_AVC_3, C2Config::LEVEL_AVC_3_1, C2Config::LEVEL_AVC_3_2, in IntfImpl()
112 C2Config::LEVEL_AVC_4, C2Config::LEVEL_AVC_4_1, C2Config::LEVEL_AVC_4_2, in IntfImpl()
[all …]
H A DC2SoftAvcEnc.cpp131 {C2Config::picture_type_t(I_FRAME), in IntfImpl()
132 C2Config::picture_type_t(P_FRAME), in IntfImpl()
164 0u, C2Config::INTRA_REFRESH_DISABLED, 0.)) in IntfImpl()
167 C2Config::INTRA_REFRESH_DISABLED, C2Config::INTRA_REFRESH_ARBITRARY }), in IntfImpl()
303 C2Config::level_t level; in ProfileLevelSetter()
371 me.set().mode = C2Config::INTRA_REFRESH_DISABLED; in IntraRefreshSetter()
375 me.set().mode = C2Config::INTRA_REFRESH_ARBITRARY; in IntraRefreshSetter()
404 if (layer.type_ == C2Config::picture_type_t(I_FRAME)) { in PictureQuantizationSetter()
494 C2Config::level_t c2Level; in getLevel_l()
834 if (layer.type_ == C2Config::picture_type_t(I_FRAME)) { in setQp()
[all …]
/aosp12/frameworks/av/media/codec2/sfplugin/
H A DFrameReassembler.cpp34 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()
198 return (mEncoding == C2Config::PCM_8) ? 1 in bytesPerSample()
199 : (mEncoding == C2Config::PCM_16) ? 2 in bytesPerSample()
200 : (mEncoding == C2Config::PCM_FLOAT) ? 4 : 0; in bytesPerSample()
H A DFrameReassembler.h40 C2Config::pcm_encoding_t encoding);
44 void updatePcmEncoding(C2Config::pcm_encoding_t encoding);
60 C2Config::pcm_encoding_t mEncoding;
H A DCodec2InfoBuilder.cpp132 pl.profile = (C2Config::profile_t)profile.ref<uint32_t>(); in addSupportedProfileLevels()
148 pl.level = (C2Config::level_t)level.ref<uint32_t>(); in addSupportedProfileLevels()
178 C2Config::level_t nextLevel = C2Config::LEVEL_UNUSED; in addSupportedProfileLevels()
180 C2Config::level_t level = (C2Config::level_t)v.ref<uint32_t>(); in addSupportedProfileLevels()
181 if (level < C2Config::LEVEL_H263_45 && level > nextLevel) { in addSupportedProfileLevels()
185 if (nextLevel != C2Config::LEVEL_UNUSED in addSupportedProfileLevels()
H A DCCodecConfig.cpp376 .withC2Mappers<C2Config::bitrate_mode_t>()); in initializeStandardParams()
527 C2Config::prepend_header_mode_t value; in initializeStandardParams()
664 C2Config::pcm_encoding_t to; in initializeStandardParams()
670 C2Config::pcm_encoding_t value; in initializeStandardParams()
684 return C2Config::AAC_PACKAGING_ADTS; in initializeStandardParams()
701 C2Config::profile_t c2 = PROFILE_UNUSED; in initializeStandardParams()
708 C2Config::profile_t c2; in initializeStandardParams()
720 C2Config::level_t c2 = LEVEL_UNUSED; in initializeStandardParams()
727 C2Config::level_t c2; in initializeStandardParams()
810 return value == 1 ? C2Config::DRC_COMPRESSION_HEAVY : C2Config::DRC_COMPRESSION_LIGHT; in initializeStandardParams()
[all …]
/aosp12/hardware/google/av/media/eco/include/eco/
H A DECOC2Utils.h37 extern int C2Profile2ECOProfile(C2Config::profile_t profile);
40 extern int C2Level2ECOLevel(C2Config::level_t level);
43 extern int C2PictureType2ECOFrameType(C2Config::picture_type_t frametype);
/aosp12/frameworks/av/media/codec2/components/gav1/
H A DC2SoftGav1Dec.cpp67 0u, C2Config::PROFILE_AV1_0, C2Config::LEVEL_AV1_2_1)) in IntfImpl()
69 .oneOf({C2Config::PROFILE_AV1_0, in IntfImpl()
70 C2Config::PROFILE_AV1_1}), in IntfImpl()
73 C2Config::LEVEL_AV1_2, C2Config::LEVEL_AV1_2_1, in IntfImpl()
74 C2Config::LEVEL_AV1_2_2, C2Config::LEVEL_AV1_2_3, in IntfImpl()
75 C2Config::LEVEL_AV1_3, C2Config::LEVEL_AV1_3_1, in IntfImpl()
76 C2Config::LEVEL_AV1_3_2, C2Config::LEVEL_AV1_3_3, in IntfImpl()
77 C2Config::LEVEL_AV1_4, C2Config::LEVEL_AV1_4_1, in IntfImpl()
78 C2Config::LEVEL_AV1_4_2, C2Config::LEVEL_AV1_4_3, in IntfImpl()
79 C2Config::LEVEL_AV1_5, C2Config::LEVEL_AV1_5_1, in IntfImpl()
[all …]
/aosp12/frameworks/av/media/codec2/components/raw/
H A DC2SoftRawDec.cpp86 .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()
/aosp12/frameworks/av/media/codec2/components/hevc/
H A DC2SoftHevcDec.cpp80 C2Config::PROFILE_HEVC_MAIN, C2Config::LEVEL_HEVC_MAIN_5_1)) in IntfImpl()
83 C2Config::PROFILE_HEVC_MAIN, in IntfImpl()
84 C2Config::PROFILE_HEVC_MAIN_STILL}), in IntfImpl()
86 C2Config::LEVEL_HEVC_MAIN_1, in IntfImpl()
87 C2Config::LEVEL_HEVC_MAIN_2, C2Config::LEVEL_HEVC_MAIN_2_1, in IntfImpl()
88 C2Config::LEVEL_HEVC_MAIN_3, C2Config::LEVEL_HEVC_MAIN_3_1, in IntfImpl()
89 C2Config::LEVEL_HEVC_MAIN_4, C2Config::LEVEL_HEVC_MAIN_4_1, in IntfImpl()
90 C2Config::LEVEL_HEVC_MAIN_5, C2Config::LEVEL_HEVC_MAIN_5_1, in IntfImpl()
91 C2Config::LEVEL_HEVC_MAIN_5_2, C2Config::LEVEL_HEVC_HIGH_4, in IntfImpl()
92 C2Config::LEVEL_HEVC_HIGH_4_1, C2Config::LEVEL_HEVC_HIGH_5, in IntfImpl()
[all …]
H A DC2SoftHevcEnc.cpp146 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()
299 C2Config::level_t level; in ProfileLevelSetter()
383 C2Config::level_t c2Level; in getLevel_l()
658 case C2Config::BITRATE_IGNORE: in initEncParams()
663 case C2Config::BITRATE_CONST: in initEncParams()
666 case C2Config::BITRATE_VARIABLE: in initEncParams()
[all …]
/aosp12/hardware/google/av/media/eco/
H A DECOC2Utils.cpp35 int C2Profile2ECOProfile(C2Config::profile_t profile) { in C2Profile2ECOProfile()
52 int C2Level2ECOLevel(C2Config::level_t level) { in C2Level2ECOLevel()
139 int C2PictureType2ECOFrameType(C2Config::picture_type_t frametype) { in C2PictureType2ECOFrameType()
/aosp12/frameworks/av/media/codec2/components/vpx/
H A DC2SoftVpxDec.cpp82 C2Config::PROFILE_VP9_0, C2Config::LEVEL_VP9_5)) in IntfImpl()
85 C2Config::PROFILE_VP9_0, in IntfImpl()
88 C2Config::LEVEL_VP9_1, in IntfImpl()
89 C2Config::LEVEL_VP9_1_1, in IntfImpl()
90 C2Config::LEVEL_VP9_2, in IntfImpl()
91 C2Config::LEVEL_VP9_2_1, in IntfImpl()
92 C2Config::LEVEL_VP9_3, in IntfImpl()
93 C2Config::LEVEL_VP9_3_1, in IntfImpl()
94 C2Config::LEVEL_VP9_4, in IntfImpl()
96 C2Config::LEVEL_VP9_5, in IntfImpl()
[all …]
/aosp12/frameworks/av/media/codec2/components/aom/
H A DC2SoftAomDec.cpp67 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()
/aosp12/frameworks/av/media/codec2/components/flac/
H A DC2SoftFlacEnc.cpp91 .withDefault(new C2StreamPcmEncodingInfo::input(0u, C2Config::PCM_16)) in IntfImpl()
93 C2Config::PCM_16, in IntfImpl()
95 C2Config::PCM_FLOAT}) in IntfImpl()
250 const bool inputFloat = mIntf->getPcmEncodingInfo() == C2Config::PCM_FLOAT; in process()
375 const bool inputFloat = mIntf->getPcmEncodingInfo() == C2Config::PCM_FLOAT; in configureEncoder()

12