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

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

Completed in 35 milliseconds