Home
last modified time | relevance | path

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

/frameworks/av/media/codecs/mp3dec/fuzzer/
Dmp3_dec_fuzzer.cpp51 unsigned bitrate_index = (header >> 12) & 0x0f; in parseMp3Header() local
52 if (bitrate_index == 0 || bitrate_index == 0x0f) { in parseMp3Header()
76 (version == 3 /* V1 */) ? kBitrateV1[bitrate_index - 1] : kBitrateV2[bitrate_index - 1]; in parseMp3Header()
94 (layer == 2 /* L2 */) ? kBitrateV1L2[bitrate_index - 1] : kBitrateV1L3[bitrate_index - 1]; in parseMp3Header()
100 bitrate = kBitrateV2[bitrate_index - 1]; in parseMp3Header()
/frameworks/av/media/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/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.cpp510 if (info->bitrate_index > 0) in pvmp3_framedecoder()
546 pExt->bitRate = mp3_bitrate[pExt->version][info->bitrate_index]; in pvmp3_framedecoder()
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp671 unsigned bitrate_index = (header >> 12) & 0x0f; in GetMPEGAudioFrameSize() local
673 if (bitrate_index == 0 || bitrate_index == 0x0f) { in GetMPEGAudioFrameSize()
709 ? kBitrateV1[bitrate_index - 1] in GetMPEGAudioFrameSize()
710 : kBitrateV2[bitrate_index - 1]; in GetMPEGAudioFrameSize()
742 ? kBitrateV1L2[bitrate_index - 1] in GetMPEGAudioFrameSize()
743 : kBitrateV1L3[bitrate_index - 1]; in GetMPEGAudioFrameSize()
751 bitrate = kBitrateV2[bitrate_index - 1]; in GetMPEGAudioFrameSize()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp186 unsigned bitrate_index = (header >> 12) & 0x0f; in parseMp3Header() local
187 if (bitrate_index == 0 || bitrate_index == 0x0f) return false; in parseMp3Header()
212 int bitrate = (version == 3 /* V1 */) ? kBitrateV1[bitrate_index - 1] : in parseMp3Header()
213 kBitrateV2[bitrate_index - 1]; in parseMp3Header()
240 bitrate = (layer == 2 /* L2 */) ? kBitrateV1L2[bitrate_index - 1] : in parseMp3Header()
241 kBitrateV1L3[bitrate_index - 1]; in parseMp3Header()
247 bitrate = kBitrateV2[bitrate_index - 1]; in parseMp3Header()