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