Home
last modified time | relevance | path

Searched refs:sf_index (Results 1 – 2 of 2) sorted by relevance

/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp34 static uint32_t get_sample_rate(const uint8_t sf_index) in get_sample_rate() argument
42 if (sf_index < sizeof(sample_rates) / sizeof(sample_rates[0])) { in get_sample_rate()
43 return sample_rates[sf_index]; in get_sample_rate()
108 uint8_t profile, sf_index, channel, header[2]; in AacAdtsExtractor() local
116 sf_index = (header[0] >> 2) & 0xf; in AacAdtsExtractor()
117 uint32_t sr = get_sample_rate(sf_index); in AacAdtsExtractor()
128 MakeAACCodecSpecificData(*mMeta, profile, sf_index, channel); in AacAdtsExtractor()
/frameworks/av/media/extractors/aac/
DAACExtractor.cpp74 uint32_t get_sample_rate(const uint8_t sf_index) in get_sample_rate() argument
82 if (sf_index < sizeof(sample_rates) / sizeof(sample_rates[0])) { in get_sample_rate()
83 return sample_rates[sf_index]; in get_sample_rate()
141 uint8_t profile, sf_index, channel, header[2]; in AACExtractor() local
147 sf_index = (header[0] >> 2) & 0xf; in AACExtractor()
148 uint32_t sr = get_sample_rate(sf_index); in AACExtractor()
155 MakeAACCodecSpecificData(mMeta, profile, sf_index, channel); in AACExtractor()