Searched refs:bitrate_index (Results 1 – 7 of 7) sorted by relevance
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
505 if (info->bitrate_index > 0) in pvmp3_framedecoder()541 pExt->bitRate = mp3_bitrate[pExt->version][info->bitrate_index]; in pvmp3_framedecoder()
660 unsigned bitrate_index = (header >> 12) & 0x0f; in GetMPEGAudioFrameSize() local662 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()
185 unsigned bitrate_index = (header >> 12) & 0x0f; in parseMp3Header() local186 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()