Lines Matching defs:sample_rate
41 int sample_rate = c->sample_rate;
66 lsf = sample_rate < (24000 + 32000) / 2;
67 mpeg25 = sample_rate < (12000 + 16000) / 2;
68 sample_rate <<= lsf + mpeg25;
69 if (sample_rate < (32000 + 44100) / 2) sample_rate_index = 2;
70 else if (sample_rate < (44100 + 48000) / 2) sample_rate_index = 0;
73 sample_rate = avpriv_mpa_freq_tab[sample_rate_index] >> (lsf + mpeg25);
78 frame_size = (frame_size * 144000) / (sample_rate << lsf) +
205 (8 * codec->sample_rate);
449 ff_put_v(bc, codec->sample_rate);
727 if (st->codec->codec_type == AVMEDIA_TYPE_AUDIO && st->codec->sample_rate) {
728 time_base = (AVRational) {1, st->codec->sample_rate};