/third_party/ffmpeg/libavformat/ |
D | g729dec.c | 31 int bit_rate; member 48 if (s1 && s1->bit_rate) in g729_read_header() 49 s->bit_rate = s1->bit_rate; in g729_read_header() 51 switch(s->bit_rate) { in g729_read_header() 60 "Only 6400 and 8000 b/s are supported.", s->bit_rate); in g729_read_header() 85 …{ "bit_rate", "", OFFSET(bit_rate), AV_OPT_TYPE_INT, { .i64 = 8000 }, 0, INT_MAX, AV_OPT_FLAG_DECO…
|
D | rmenc.c | 31 int bit_rate; member 77 int bit_rate, v, duration, flags; in rv10_write_header() local 93 bit_rate = 0; in rv10_write_header() 97 bit_rate += stream->bit_rate; in rv10_write_header() 107 avio_wb32(s, bit_rate); /* max bit rate */ in rv10_write_header() 108 avio_wb32(s, bit_rate); /* avg bit rate */ in rv10_write_header() 164 avio_wb32(s, stream->bit_rate); /* max bit rate */ in rv10_write_header() 165 avio_wb32(s, stream->bit_rate); /* avg bit rate */ in rv10_write_header() 188 coded_frame_size = (stream->par->bit_rate * in rv10_write_header() 223 avio_wb32(s, stream->par->bit_rate / 8 * 60); /* bytes per minute */ in rv10_write_header() [all …]
|
D | vqf.c | 149 st->codecpar->bit_rate = (int64_t)read_bitrate * 1000; in vqf_read_header() 221 st->codecpar->sample_rate, st->codecpar->bit_rate); in vqf_read_header() 224 c->frame_bit_len = st->codecpar->bit_rate*size/st->codecpar->sample_rate; in vqf_read_header() 273 pos = av_rescale_rnd(timestamp * st->codecpar->bit_rate, in vqf_read_seek() 281 st->codecpar->bit_rate * (int64_t)st->time_base.num); in vqf_read_seek()
|
/third_party/ffmpeg/libavcodec/ |
D | psymodel.h | 35 #define AAC_CUTOFF_FROM_BITRATE(bit_rate,channels,sample_rate) (bit_rate ? FFMIN3(FFMIN3( \ argument 36 FFMAX(bit_rate/channels/5, bit_rate/channels*15/32 - 5500), \ 37 3000 + bit_rate/channels/4, \ 38 12000 + bit_rate/channels/16), \ 44 : AAC_CUTOFF_FROM_BITRATE(s->bit_rate, s->channels, s->sample_rate) \
|
D | mpegvideo_parser.c | 48 int bit_rate = 0; in mpegvideo_extract_headers() local 78 bit_rate = (buf[4]<<10) | (buf[5]<<2) | (buf[6]>>6); in mpegvideo_extract_headers() 106 bit_rate = (bit_rate&0x3FFFF) | (bit_rate_ext << 18); in mpegvideo_extract_headers() 161 if (avctx->codec_id == AV_CODEC_ID_MPEG2VIDEO && bit_rate) { in mpegvideo_extract_headers() 162 avctx->rc_max_rate = 400LL*bit_rate; in mpegvideo_extract_headers() 164 if (bit_rate && in mpegvideo_extract_headers() 165 … ((avctx->codec_id == AV_CODEC_ID_MPEG1VIDEO && bit_rate != 0x3FFFF) || vbv_delay != 0xFFFF)) { in mpegvideo_extract_headers() 166 avctx->bit_rate = 400LL*bit_rate; in mpegvideo_extract_headers()
|
D | mpegaudio_parser.c | 68 int ret, sr, channels, bit_rate, frame_size; in mpegaudio_parse() local 73 … ret = ff_mpa_decode_header(state, &sr, &channels, &frame_size, &bit_rate, &codec_id); in mpegaudio_parse() 90 if (s->no_bitrate || !avctx->bit_rate) { in mpegaudio_parse() 92 … avctx->bit_rate += (bit_rate - avctx->bit_rate) / (s->header_count - header_threshold); in mpegaudio_parse()
|
D | mpegaudiodecheader.c | 81 s->bit_rate = frame_size * 1000; in avpriv_mpegaudio_decode_header() 105 s->layer, s->sample_rate, s->bit_rate); in avpriv_mpegaudio_decode_header() 122 …r(uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bit_rate, enum AVCodecID *… in ff_mpa_decode_header() argument 152 *bit_rate = s->bit_rate; in ff_mpa_decode_header()
|
D | libvo-amrwbenc.c | 95 s->mode = get_wb_bitrate_mode(avctx->bit_rate, avctx); in amr_wb_encode_init() 96 s->last_bitrate = avctx->bit_rate; in amr_wb_encode_init() 124 if (s->last_bitrate != avctx->bit_rate) { in amr_wb_encode_frame() 125 s->mode = get_wb_bitrate_mode(avctx->bit_rate, avctx); in amr_wb_encode_frame() 126 s->last_bitrate = avctx->bit_rate; in amr_wb_encode_frame()
|
D | libgsmenc.c | 62 if (avctx->bit_rate != 13000 /* Official */ && in libgsm_encode_init() 63 avctx->bit_rate != 13200 /* Very common */ && in libgsm_encode_init() 64 avctx->bit_rate != 0 /* Unknown; a.o. mov does not set bitrate when decoding */ ) { in libgsm_encode_init() 66 avctx->bit_rate); in libgsm_encode_init()
|
D | sipr_parser.c | 40 if (avctx->bit_rate > 12200) next = 20; in sipr_split() 41 else if (avctx->bit_rate > 7500 ) next = 19; in sipr_split() 42 else if (avctx->bit_rate > 5750 ) next = 29; in sipr_split()
|
D | libtwolame.c | 81 if (!avctx->bit_rate) { in twolame_encode_init() 83 avctx->bit_rate = avctx->sample_rate < 28000 ? 80000 : 192000; in twolame_encode_init() 85 avctx->bit_rate = avctx->sample_rate < 28000 ? 160000 : 384000; in twolame_encode_init() 88 if (avctx->flags & AV_CODEC_FLAG_QSCALE || !avctx->bit_rate) { in twolame_encode_init() 95 twolame_set_bitrate(s->glopts, avctx->bit_rate / 1000); in twolame_encode_init()
|
D | aac_ac3_parser.c | 103 avctx->bit_rate += in ff_aac_ac3_parse() 104 (s->bit_rate - avctx->bit_rate) / s->frame_number; in ff_aac_ac3_parse()
|
D | avcodec.c | 116 int64_t bit_rate; in get_bit_rate() local 124 bit_rate = ctx->bit_rate; in get_bit_rate() 129 bit_rate = ctx->sample_rate * (int64_t)ctx->channels; in get_bit_rate() 130 if (bit_rate > INT64_MAX / bits_per_sample) { in get_bit_rate() 131 bit_rate = 0; in get_bit_rate() 133 bit_rate *= bits_per_sample; in get_bit_rate() 135 bit_rate = ctx->bit_rate; in get_bit_rate() 138 bit_rate = 0; in get_bit_rate() 141 return bit_rate; in get_bit_rate() 362 if (!avctx->bit_rate) in avcodec_open2() [all …]
|
D | metasound.c | 69 int ibps = tctx->avctx->bit_rate / (1000 * tctx->avctx->channels); in decode_ppc() 246 int bit_rate; member 295 avctx->bit_rate = props->bit_rate * 1000; in metasound_decode_init() 310 ibps = avctx->bit_rate / (1000 * avctx->channels); in metasound_decode_init() 366 tctx->frame_size = avctx->bit_rate * tctx->mtab->size in metasound_decode_init()
|
D | libopencore-amr.c | 218 s->enc_mode = get_bitrate_mode(avctx->bit_rate, avctx); in amr_nb_encode_init() 219 s->enc_bitrate = avctx->bit_rate; in amr_nb_encode_init() 241 if (s->enc_bitrate != avctx->bit_rate) { in amr_nb_encode_frame() 242 s->enc_mode = get_bitrate_mode(avctx->bit_rate, avctx); in amr_nb_encode_frame() 243 s->enc_bitrate = avctx->bit_rate; in amr_nb_encode_frame()
|
D | libspeexenc.c | 128 av_log(avctx, AV_LOG_DEBUG, " bitrate: %"PRId64" bps\n", avctx->bit_rate); in print_enc_params() 131 av_log(avctx, AV_LOG_DEBUG, " bitrate: %"PRId64" bps\n", avctx->bit_rate); in print_enc_params() 189 s->header.bitrate = avctx->bit_rate; in encode_init() 190 if (avctx->bit_rate > 0) { in encode_init() 212 avctx->bit_rate = s->header.bitrate + (avctx->channels == 2 ? 800 : 0); in encode_init()
|
D | aac_parser.c | 52 hdr_info->bit_rate = hdr.bit_rate; in aac_sync()
|
D | ac3_parser.c | 106 hdr->bit_rate = (ff_ac3_bitrate_tab[frame_size_code>>1] * 1000) >> hdr->sr_shift; in ff_ac3_parse_header() 140 hdr->bit_rate = 8LL * hdr->frame_size * hdr->sample_rate / in ff_ac3_parse_header() 217 hdr_info->bit_rate = hdr.bit_rate; in ac3_sync()
|
D | codec_par.c | 99 par->bit_rate = codec->bit_rate; in avcodec_parameters_from_context() 154 codec->bit_rate = par->bit_rate; in avcodec_parameters_to_context()
|
/third_party/gstreamer/gstplugins_bad/ext/dts/ |
D | gstdtsdec.c | 240 dts->bit_rate = -1; in gst_dtsdec_start() 277 gint length = 0, flags, sample_rate, bit_rate, frame_length; in gst_dtsdec_parse() local 286 bit_rate = dts->bit_rate; in gst_dtsdec_parse() 291 &sample_rate, &bit_rate, &frame_length); in gst_dtsdec_parse() 447 if (dts->bit_rate > 3) { in gst_dtsdec_update_streaminfo() 451 (guint) dts->bit_rate, NULL); in gst_dtsdec_update_streaminfo() 472 gint flags, sample_rate, bit_rate, frame_length; in gst_dtsdec_handle_frame() local 491 bit_rate = dts->bit_rate; in gst_dtsdec_handle_frame() 496 length = dca_syncinfo (dts->state, data, &flags, &sample_rate, &bit_rate, in gst_dtsdec_handle_frame() 500 (void) dca_syncinfo (dts->state, data, &flags, &sample_rate, &bit_rate, in gst_dtsdec_handle_frame() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/ |
D | io-sim.c | 97 bit = tr * bit_rate; \ 119 double bit_rate, in signal_teletext() argument 122 double bit_period = 1.0 / bit_rate; in signal_teletext() 127 double q = (PI / 2.0) * bit_rate; in signal_teletext() 166 double bit_rate = 15625 * 160 * 2; in signal_vps() local 167 double t1 = 12.5e-6 - .5 / bit_rate; in signal_vps() 168 double t4 = t1 + ((4 + 13 * 2) * 8) / bit_rate; in signal_vps() 169 double q = (PI / 2.0) * bit_rate; in signal_vps() 251 double bit_rate = 15625 * 320; in signal_wss_625() local 252 double t1 = 11.0e-6 - .5 / bit_rate; in signal_wss_625() [all …]
|
/third_party/ffmpeg/tests/ref/fate/ |
D | mxf-probe-dnxhd | 16 bit_rate=N/A 52 bit_rate=N/A 88 bit_rate=N/A 141 bit_rate=N/A 168 bit_rate=25340195
|
D | mxf-probe-dv25 | 33 bit_rate=N/A 73 bit_rate=768000 113 bit_rate=768000 136 bit_rate=30679040
|
D | mxf-probe-applehdr10 | 33 bit_rate=N/A 91 bit_rate=1152000 131 bit_rate=1152000 154 bit_rate=30913698
|
D | mxf-probe-d10 | 33 bit_rate=50000000 76 bit_rate=6144000 99 bit_rate=56419744
|