Home
last modified time | relevance | path

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

/hardware/google/av/codec2/vndk/
DC2Config.cpp27 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 …]
DAndroid.bp22 "C2Config.cpp",
/hardware/google/av/media/sfplugin/utils/
DCodec2Mapper.cpp35 ALookup<C2Config::profile_t, int32_t> sAacProfiles = {
36 { C2Config::PROFILE_AAC_LC, AACObjectLC },
37 { C2Config::PROFILE_AAC_MAIN, AACObjectMain },
38 { C2Config::PROFILE_AAC_SSR, AACObjectSSR },
39 { C2Config::PROFILE_AAC_LTP, AACObjectLTP },
40 { C2Config::PROFILE_AAC_HE, AACObjectHE },
41 { C2Config::PROFILE_AAC_SCALABLE, AACObjectScalable },
42 { C2Config::PROFILE_AAC_ER_LC, AACObjectERLC },
43 { C2Config::PROFILE_AAC_ER_SCALABLE, AACObjectERScalable },
44 { C2Config::PROFILE_AAC_LD, AACObjectLD },
[all …]
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;
44 static bool map(C2Config::bitrate_mode_t, int32_t*);
45 static bool map(int32_t, C2Config::bitrate_mode_t*);
48 static bool map(C2Config::pcm_encoding_t, int32_t*);
49 static bool map(int32_t, C2Config::pcm_encoding_t*);
52 static bool map(C2Config::picture_type_t, int32_t*);
53 static bool map(int32_t, C2Config::picture_type_t*);
/hardware/google/av/codec2/include/
DC2Config.h53 struct C2Config { struct
276 enum C2Config::api_level_t : uint32_t {
281 typedef C2GlobalParam<C2Setting, C2SimpleValueStruct<C2Config::api_level_t>, kParamIndexApiLevel>
285 enum C2Config::api_feature_t : uint64_t {
297 typedef C2GlobalParam<C2Setting, C2SimpleValueStruct<C2Config::api_feature_t>, kParamIndexApiFeatur…
401 enum C2Config::profile_t : uint32_t {
544 enum C2Config::level_t : uint32_t {
658 C2Config::profile_t profile; ///< coding profile
659 C2Config::level_t level; ///< coding level
662 C2Config::profile_t profile_ = C2Config::PROFILE_UNUSED,
[all …]
/hardware/google/av/media/codecs/aac/
DC2SoftAacDec.cpp41 #define DRC_DEFAULT_MOBILE_DRC_HEAVY C2Config::DRC_COMPRESSION_HEAVY /* switch for heavy compress…
124 C2Config::PROFILE_AAC_LC, C2Config::LEVEL_UNUSED)) in IntfImpl()
127 C2Config::PROFILE_AAC_LC, in IntfImpl()
128 C2Config::PROFILE_AAC_HE, in IntfImpl()
129 C2Config::PROFILE_AAC_HE_PS, in IntfImpl()
130 C2Config::PROFILE_AAC_LD, in IntfImpl()
131 C2Config::PROFILE_AAC_ELD, in IntfImpl()
132 C2Config::PROFILE_AAC_ER_SCALABLE, in IntfImpl()
133 C2Config::PROFILE_AAC_XHE}), in IntfImpl()
135 C2Config::LEVEL_UNUSED in IntfImpl()
[all …]
DC2SoftAacEnc.cpp93 C2Config::PROFILE_AAC_LC, C2Config::LEVEL_UNUSED)) in IntfImpl()
96 C2Config::PROFILE_AAC_LC, in IntfImpl()
97 C2Config::PROFILE_AAC_HE, in IntfImpl()
98 C2Config::PROFILE_AAC_HE_PS, in IntfImpl()
99 C2Config::PROFILE_AAC_LD, in IntfImpl()
100 C2Config::PROFILE_AAC_ELD}), in IntfImpl()
102 C2Config::LEVEL_UNUSED in IntfImpl()
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Dec.cpp89 C2Config::PROFILE_MP4V_SIMPLE, C2Config::LEVEL_MP4V_3)) in IntfImpl()
92 C2Config::PROFILE_MP4V_SIMPLE), in IntfImpl()
94 C2Config::LEVEL_MP4V_0, in IntfImpl()
95 C2Config::LEVEL_MP4V_0B, in IntfImpl()
96 C2Config::LEVEL_MP4V_1, in IntfImpl()
97 C2Config::LEVEL_MP4V_2, in IntfImpl()
98 C2Config::LEVEL_MP4V_3, in IntfImpl()
99 C2Config::LEVEL_MP4V_3B, in IntfImpl()
100 C2Config::LEVEL_MP4V_4, in IntfImpl()
101 C2Config::LEVEL_MP4V_4A, in IntfImpl()
[all …]
DC2SoftMpeg4Enc.cpp135 C2Config::LEVEL_MP4V_0, in IntfImpl()
136 C2Config::LEVEL_MP4V_0B, in IntfImpl()
137 C2Config::LEVEL_MP4V_1, in IntfImpl()
138 C2Config::LEVEL_MP4V_2}) in IntfImpl()
151 C2Config::LEVEL_H263_10, in IntfImpl()
152 C2Config::LEVEL_H263_20, in IntfImpl()
153 C2Config::LEVEL_H263_30, in IntfImpl()
154 C2Config::LEVEL_H263_40, in IntfImpl()
155 C2Config::LEVEL_H263_45}) in IntfImpl()
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.cpp85 C2Config::PROFILE_AVC_CONSTRAINED_BASELINE, C2Config::LEVEL_AVC_5_2)) in IntfImpl()
88 C2Config::PROFILE_AVC_CONSTRAINED_BASELINE, in IntfImpl()
89 C2Config::PROFILE_AVC_BASELINE, in IntfImpl()
90 C2Config::PROFILE_AVC_MAIN, in IntfImpl()
91 C2Config::PROFILE_AVC_CONSTRAINED_HIGH, in IntfImpl()
92 C2Config::PROFILE_AVC_PROGRESSIVE_HIGH, in IntfImpl()
93 C2Config::PROFILE_AVC_HIGH}), in IntfImpl()
95 C2Config::LEVEL_AVC_1, C2Config::LEVEL_AVC_1B, C2Config::LEVEL_AVC_1_1, in IntfImpl()
96 C2Config::LEVEL_AVC_1_2, C2Config::LEVEL_AVC_1_3, in IntfImpl()
97 C2Config::LEVEL_AVC_2, C2Config::LEVEL_AVC_2_1, C2Config::LEVEL_AVC_2_2, in IntfImpl()
[all …]
DC2SoftAvcEnc.cpp103 0u, C2Config::INTRA_REFRESH_DISABLED, 0.)) in IntfImpl()
106 C2Config::INTRA_REFRESH_DISABLED, C2Config::INTRA_REFRESH_ARBITRARY }), in IntfImpl()
194 C2Config::level_t level; in ProfileLevelSetter()
262 me.set().mode = C2Config::INTRA_REFRESH_DISABLED; in IntraRefreshSetter()
266 me.set().mode = C2Config::INTRA_REFRESH_ARBITRARY; in IntraRefreshSetter()
284 C2Config::level_t c2Level; in getLevel_l()
685 (mIntraRefresh->mode == C2Config::INTRA_REFRESH_DISABLED || mIntraRefresh->period < 1) in setAirParams()
/hardware/google/av/media/codecs/xaac/
DC2SoftXaacDec.cpp36 #define DRC_DEFAULT_MOBILE_DRC_HEAVY C2Config::DRC_COMPRESSION_HEAVY /* switch for heavy compress…
130 C2Config::PROFILE_AAC_LC, C2Config::LEVEL_UNUSED)) in IntfImpl()
133 C2Config::PROFILE_AAC_LC, in IntfImpl()
134 C2Config::PROFILE_AAC_HE, in IntfImpl()
135 C2Config::PROFILE_AAC_HE_PS, in IntfImpl()
136 C2Config::PROFILE_AAC_LD, in IntfImpl()
137 C2Config::PROFILE_AAC_ELD, in IntfImpl()
138 C2Config::PROFILE_AAC_XHE}), in IntfImpl()
140 C2Config::LEVEL_UNUSED in IntfImpl()
148 … .withDefault(new C2StreamDrcCompressionModeTuning::input(0u, C2Config::DRC_COMPRESSION_HEAVY)) in IntfImpl()
[all …]
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp80 C2Config::PROFILE_VP9_0, C2Config::LEVEL_VP9_5)) in IntfImpl()
83 C2Config::PROFILE_VP9_0, in IntfImpl()
84 C2Config::PROFILE_VP9_2}), in IntfImpl()
86 C2Config::LEVEL_VP9_1, in IntfImpl()
87 C2Config::LEVEL_VP9_1_1, in IntfImpl()
88 C2Config::LEVEL_VP9_2, in IntfImpl()
89 C2Config::LEVEL_VP9_2_1, in IntfImpl()
90 C2Config::LEVEL_VP9_3, in IntfImpl()
91 C2Config::LEVEL_VP9_3_1, in IntfImpl()
92 C2Config::LEVEL_VP9_4, in IntfImpl()
[all …]
DC2SoftVpxEnc.h278 0u, C2Config::BITRATE_CONST)) in IntfImpl()
281 C2Config::BITRATE_CONST, C2Config::BITRATE_VARIABLE }) in IntfImpl()
324 0u, C2Config::INTRA_REFRESH_DISABLED, 0.)) in IntfImpl()
DC2SoftVpxEnc.cpp130 case C2Config::BITRATE_VARIABLE: in initEncoder()
133 case C2Config::BITRATE_CONST: in initEncoder()
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.cpp74 C2Config::PROFILE_HEVC_MAIN, C2Config::LEVEL_HEVC_MAIN_5_1)) in IntfImpl()
77 C2Config::PROFILE_HEVC_MAIN, in IntfImpl()
78 C2Config::PROFILE_HEVC_MAIN_STILL}), in IntfImpl()
80 C2Config::LEVEL_HEVC_MAIN_1, in IntfImpl()
81 C2Config::LEVEL_HEVC_MAIN_2, C2Config::LEVEL_HEVC_MAIN_2_1, in IntfImpl()
82 C2Config::LEVEL_HEVC_MAIN_3, C2Config::LEVEL_HEVC_MAIN_3_1, in IntfImpl()
83 C2Config::LEVEL_HEVC_MAIN_4, C2Config::LEVEL_HEVC_MAIN_4_1, in IntfImpl()
84 C2Config::LEVEL_HEVC_MAIN_5, C2Config::LEVEL_HEVC_MAIN_5_1, in IntfImpl()
85 C2Config::LEVEL_HEVC_MAIN_5_2, C2Config::LEVEL_HEVC_HIGH_4, in IntfImpl()
86 C2Config::LEVEL_HEVC_HIGH_4_1, C2Config::LEVEL_HEVC_HIGH_5, in IntfImpl()
[all …]
/hardware/google/av/media/codecs/raw/
DC2SoftRawDec.cpp89 .withDefault(new C2StreamPcmEncodingInfo::output(0u, C2Config::PCM_16)) in IntfImpl()
91 C2Config::PCM_16, in IntfImpl()
92 C2Config::PCM_8, in IntfImpl()
93 C2Config::PCM_FLOAT}) in IntfImpl()
/hardware/google/av/media/sfplugin/
DCodec2InfoBuilder.cpp501 pl.profile = (C2Config::profile_t)profile.ref<uint32_t>(); in buildMediaCodecList()
515 pl.level = (C2Config::level_t)level.ref<uint32_t>(); in buildMediaCodecList()
549 C2Config::level_t nextLevel = C2Config::LEVEL_UNUSED; in buildMediaCodecList()
551 C2Config::level_t level = in buildMediaCodecList()
552 (C2Config::level_t)v.ref<uint32_t>(); in buildMediaCodecList()
553 if (level < C2Config::LEVEL_H263_45 in buildMediaCodecList()
558 if (nextLevel != C2Config::LEVEL_UNUSED in buildMediaCodecList()
DCCodecConfig.cpp363 C2Config::bitrate_mode_t mode; in initializeStandardParams()
495 return C2Value(C2Config::PREPEND_HEADER_TO_ALL_SYNC); in initializeStandardParams()
497 return C2Value(C2Config::PREPEND_HEADER_TO_NONE); in initializeStandardParams()
636 C2Config::pcm_encoding_t to; in initializeStandardParams()
642 C2Config::pcm_encoding_t value; in initializeStandardParams()
656 return C2Config::AAC_PACKAGING_ADTS; in initializeStandardParams()
661 if (v.get(&value) && value == C2Config::AAC_PACKAGING_ADTS) { in initializeStandardParams()
673 C2Config::profile_t c2 = PROFILE_UNUSED; in initializeStandardParams()
680 C2Config::profile_t c2; in initializeStandardParams()
692 C2Config::level_t c2 = LEVEL_UNUSED; in initializeStandardParams()
[all …]
DCCodecBufferChannel.h358 void setKey(C2Config::ordinal_key_t key);
372 C2Config::ordinal_key_t mKey;
DCCodecBufferChannel.cpp1509 mKey = C2Config::ORDINAL; in clear()
1516 void CCodecBufferChannel::ReorderStash::setKey(C2Config::ordinal_key_t key) { in setKey()
1563 case C2Config::ORDINAL: return o1.frameIndex < o2.frameIndex; in less()
1564 case C2Config::TIMESTAMP: return o1.timestamp < o2.timestamp; in less()
1565 case C2Config::CUSTOM: return o1.customOrdinal < o2.customOrdinal; in less()
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.cpp70 C2Config::PROFILE_MP2V_SIMPLE, C2Config::LEVEL_MP2V_HIGH)) in IntfImpl()
73 C2Config::PROFILE_MP2V_SIMPLE, in IntfImpl()
74 C2Config::PROFILE_MP2V_MAIN}), in IntfImpl()
76 C2Config::LEVEL_MP2V_LOW, in IntfImpl()
77 C2Config::LEVEL_MP2V_MAIN, in IntfImpl()
78 C2Config::LEVEL_MP2V_HIGH_1440, in IntfImpl()
79 C2Config::LEVEL_MP2V_HIGH}) in IntfImpl()