Searched refs:bitrate_index (Results 1 – 5 of 5) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | mp3_header_decompress_bsf.c | 35 int lsf, mpeg25, bitrate_index, frame_size, ret; in mp3_header_decompress() local 72 for(bitrate_index=2; bitrate_index<30; bitrate_index++){ in mp3_header_decompress() 73 frame_size = avpriv_mpa_bitrate_tab[lsf][2][bitrate_index>>1]; in mp3_header_decompress() 74 frame_size = (frame_size * 144000) / (sample_rate << lsf) + (bitrate_index&1); in mp3_header_decompress() 80 if(bitrate_index == 30){ in mp3_header_decompress() 86 header |= (bitrate_index&1)<<9; in mp3_header_decompress() 87 header |= (bitrate_index>>1)<<12; in mp3_header_decompress()
|
D | mpegaudiodecheader.c | 39 int sample_rate_index, bitrate_index; in avpriv_mpegaudio_decode_header() local 65 bitrate_index = (header >> 12) & 0xf; in avpriv_mpegaudio_decode_header() 79 if (bitrate_index != 0) { in avpriv_mpegaudio_decode_header() 80 frame_size = avpriv_mpa_bitrate_tab[s->lsf][s->layer - 1][bitrate_index]; in avpriv_mpegaudio_decode_header()
|
D | mpegaudioenc_template.c | 51 int bitrate_index; /* bit rate */ member 124 s->bitrate_index = i; in MPA_encode_init() 620 put_bits(p, 4, s->bitrate_index); in encode_frame()
|
D | dcaenc.c | 74 int bitrate_index; member 236 c->bitrate_index = i; in encode_init() 604 if (c->bitrate_index == 3) in get_step_size() 970 put_bits(&c->pb, 5, c->bitrate_index); in put_frame_header()
|
/third_party/ffmpeg/libavformat/ |
D | nutenc.c | 62 int lsf, mpeg25, sample_rate_index, bitrate_index, frame_size; in find_expected_header() local 75 for (bitrate_index = 2; bitrate_index < 30; bitrate_index++) { in find_expected_header() 77 avpriv_mpa_bitrate_tab[lsf][layer - 1][bitrate_index >> 1]; in find_expected_header() 79 (bitrate_index & 1); in find_expected_header() 91 if (bitrate_index == 30) in find_expected_header() 94 header |= (bitrate_index >> 1) << 12; in find_expected_header() 96 header |= (bitrate_index & 1) << 9; in find_expected_header()
|