Searched refs:bitrate_index (Results 1 – 8 of 8) sorted by relevance
51 unsigned bitrate_index = (header >> 12) & 0x0f; in parseMp3Header() local52 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()
78 unsigned bitrate_index = (header >> 12) & 0x0f; in parseHeader() local80 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()
176 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()
121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20, in pvmp3_get_main_data_size()
124 int32 bitrate_index; member
510 if (info->bitrate_index > 0) in pvmp3_framedecoder()546 pExt->bitRate = mp3_bitrate[pExt->version][info->bitrate_index]; in pvmp3_framedecoder()
671 unsigned bitrate_index = (header >> 12) & 0x0f; in GetMPEGAudioFrameSize() local673 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()
186 unsigned bitrate_index = (header >> 12) & 0x0f; in parseMp3Header() local187 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()