Home
last modified time | relevance | path

Searched refs:bitrate_index (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/codecs/mp3dec/test/
Dmp3reader.cpp78 unsigned bitrate_index = (header >> 12) & 0x0f; in parseHeader() local
80 if (bitrate_index == 0 || bitrate_index == 0x0f) { in parseHeader()
116 ? kBitrateV1[bitrate_index - 1] in parseHeader()
117 : kBitrateV2[bitrate_index - 1]; in parseHeader()
149 ? kBitrateV1L2[bitrate_index - 1] in parseHeader()
150 : kBitrateV1L3[bitrate_index - 1]; in parseHeader()
158 bitrate = kBitrateV2[bitrate_index - 1]; in parseHeader()
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_decode_header.cpp176 info->bitrate_index = (temp << 16) >> 28; /* 4 */ in pvmp3_decode_header()
187 if (!info->bitrate_index || info->bitrate_index == 15 || info->sampling_frequency == 3) in pvmp3_decode_header()
Dpvmp3_get_main_data_size.cpp121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20, in pvmp3_get_main_data_size()
Dpvmp3_dec_defs.h124 int32 bitrate_index; member
Dpvmp3_framedecoder.cpp505 if (info->bitrate_index > 0) in pvmp3_framedecoder()
541 pExt->bitRate = mp3_bitrate[pExt->version][info->bitrate_index]; in pvmp3_framedecoder()
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp660 unsigned bitrate_index = (header >> 12) & 0x0f; in GetMPEGAudioFrameSize() local
662 if (bitrate_index == 0 || bitrate_index == 0x0f) { in GetMPEGAudioFrameSize()
698 ? kBitrateV1[bitrate_index - 1] in GetMPEGAudioFrameSize()
699 : kBitrateV2[bitrate_index - 1]; in GetMPEGAudioFrameSize()
731 ? kBitrateV1L2[bitrate_index - 1] in GetMPEGAudioFrameSize()
732 : kBitrateV1L3[bitrate_index - 1]; in GetMPEGAudioFrameSize()
740 bitrate = kBitrateV2[bitrate_index - 1]; in GetMPEGAudioFrameSize()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp185 unsigned bitrate_index = (header >> 12) & 0x0f; in parseMp3Header() local
186 if (bitrate_index == 0 || bitrate_index == 0x0f) return false; in parseMp3Header()
211 int bitrate = (version == 3 /* V1 */) ? kBitrateV1[bitrate_index - 1] : in parseMp3Header()
212 kBitrateV2[bitrate_index - 1]; in parseMp3Header()
239 bitrate = (layer == 2 /* L2 */) ? kBitrateV1L2[bitrate_index - 1] : in parseMp3Header()
240 kBitrateV1L3[bitrate_index - 1]; in parseMp3Header()
246 bitrate = kBitrateV2[bitrate_index - 1]; in parseMp3Header()