Home
last modified time | relevance | path

Searched refs:sampling_freq_index (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/
DMetaDataUtils.cpp105 unsigned sampling_freq_index = bits.getBits(4); in MakeAACCodecSpecificData() local
114 meta, profile, sampling_freq_index, channel_configuration)) { in MakeAACCodecSpecificData()
126 unsigned sampling_freq_index, /* in */ in MakeAACCodecSpecificData() argument
130 if(sampling_freq_index > 11u) { in MakeAACCodecSpecificData()
137 *sampling_rate = kSamplingFreq[sampling_freq_index]; in MakeAACCodecSpecificData()
166 ((profile + 1) << 3) | (sampling_freq_index >> 1); in MakeAACCodecSpecificData()
169 ((sampling_freq_index << 7) & 0x80) | (channel_configuration << 3); in MakeAACCodecSpecificData()
175 bool MakeAACCodecSpecificData(AMediaFormat *meta, unsigned profile, unsigned sampling_freq_index, in MakeAACCodecSpecificData() argument
178 if(sampling_freq_index > 11u) { in MakeAACCodecSpecificData()
183 csd[0] = ((profile + 1) << 3) | (sampling_freq_index >> 1); in MakeAACCodecSpecificData()
[all …]
DMPEG2TSWriter.cpp302 unsigned sampling_freq_index = in appendAACFrames() local
318 | sampling_freq_index << 2 in appendAACFrames()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMetaDataUtils.h32 bool MakeAACCodecSpecificData(MetaDataBase &meta, unsigned profile, unsigned sampling_freq_index,
35 bool MakeAACCodecSpecificData(AMediaFormat *meta, unsigned profile, unsigned sampling_freq_index,
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp2088 unsigned sampling_freq_index = bits.getBits(4); in extractAndQueueAccessUnits() local
2096 profile, sampling_freq_index, channel_configuration); in extractAndQueueAccessUnits()