Searched refs:sf_index (Results 1 – 2 of 2) sorted by relevance
/frameworks/wilhelm/src/android/util/ |
D | AacAdtsExtractor.cpp | 33 static uint32_t get_sample_rate(const uint8_t sf_index) in get_sample_rate() argument 41 if (sf_index < sizeof(sample_rates) / sizeof(sample_rates[0])) { in get_sample_rate() 42 return sample_rates[sf_index]; in get_sample_rate() 106 uint8_t profile, sf_index, channel, header[2]; in AacAdtsExtractor() local 114 sf_index = (header[0] >> 2) & 0xf; in AacAdtsExtractor() 115 uint32_t sr = get_sample_rate(sf_index); in AacAdtsExtractor() 126 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel); in AacAdtsExtractor()
|
/frameworks/av/media/libstagefright/ |
D | AACExtractor.cpp | 75 uint32_t get_sample_rate(const uint8_t sf_index) in get_sample_rate() argument 83 if (sf_index < sizeof(sample_rates) / sizeof(sample_rates[0])) { in get_sample_rate() 84 return sample_rates[sf_index]; in get_sample_rate() 155 uint8_t profile, sf_index, channel, header[2]; in AACExtractor() local 161 sf_index = (header[0] >> 2) & 0xf; in AACExtractor() 162 uint32_t sr = get_sample_rate(sf_index); in AACExtractor() 168 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel); in AACExtractor()
|