Home
last modified time | relevance | path

Searched refs:cpb_props (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dlibx265.c120 AVCPBProperties *cpb_props = NULL; in libx265_encode_init() local
309 cpb_props = ff_add_cpb_side_data(avctx); in libx265_encode_init()
310 if (!cpb_props) in libx265_encode_init()
312 cpb_props->buffer_size = ctx->params->rc.vbvBufferSize * 1000; in libx265_encode_init()
313 cpb_props->max_bitrate = ctx->params->rc.vbvMaxBitrate * 1000LL; in libx265_encode_init()
314 cpb_props->avg_bitrate = ctx->params->rc.bitrate * 1000LL; in libx265_encode_init()
Dlibaomenc.c591 AVCPBProperties *cpb_props; in aom_init() local
899 cpb_props = ff_add_cpb_side_data(avctx); in aom_init()
900 if (!cpb_props) in aom_init()
927 cpb_props->max_bitrate = avctx->rc_max_rate; in aom_init()
928 cpb_props->min_bitrate = avctx->rc_min_rate; in aom_init()
929 cpb_props->avg_bitrate = avctx->bit_rate; in aom_init()
931 cpb_props->buffer_size = avctx->rc_buffer_size; in aom_init()
Dlibx264.c599 AVCPBProperties *cpb_props; in X264_init() local
979 cpb_props = ff_add_cpb_side_data(avctx); in X264_init()
980 if (!cpb_props) in X264_init()
982 cpb_props->buffer_size = x4->params.rc.i_vbv_buffer_size * 1000; in X264_init()
983 cpb_props->max_bitrate = x4->params.rc.i_vbv_max_bitrate * 1000LL; in X264_init()
984 cpb_props->avg_bitrate = x4->params.rc.i_bitrate * 1000LL; in X264_init()
Dlibvpxenc.c828 AVCPBProperties *cpb_props; in vpx_init() local
1128 cpb_props = ff_add_cpb_side_data(avctx); in vpx_init()
1129 if (!cpb_props) in vpx_init()
1134 cpb_props->max_bitrate = avctx->rc_max_rate; in vpx_init()
1135 cpb_props->min_bitrate = avctx->rc_min_rate; in vpx_init()
1136 cpb_props->avg_bitrate = avctx->bit_rate; in vpx_init()
1138 cpb_props->buffer_size = avctx->rc_buffer_size; in vpx_init()
Dqsvenc.c886 AVCPBProperties *cpb_props; in qsv_retrieve_enc_params() local
998 cpb_props = ff_add_cpb_side_data(avctx); in qsv_retrieve_enc_params()
999 if (!cpb_props) in qsv_retrieve_enc_params()
1001 cpb_props->max_bitrate = avctx->rc_max_rate; in qsv_retrieve_enc_params()
1002 cpb_props->min_bitrate = avctx->rc_min_rate; in qsv_retrieve_enc_params()
1003 cpb_props->avg_bitrate = avctx->bit_rate; in qsv_retrieve_enc_params()
1004 cpb_props->buffer_size = avctx->rc_buffer_size; in qsv_retrieve_enc_params()
Dnvenc.c1255 AVCPBProperties *cpb_props; in nvenc_setup_encoder() local
1393 cpb_props = ff_add_cpb_side_data(avctx); in nvenc_setup_encoder()
1394 if (!cpb_props) in nvenc_setup_encoder()
1396 cpb_props->max_bitrate = ctx->encode_config.rcParams.maxBitRate; in nvenc_setup_encoder()
1397 cpb_props->avg_bitrate = avctx->bit_rate; in nvenc_setup_encoder()
1398 cpb_props->buffer_size = ctx->encode_config.rcParams.vbvBufferSize; in nvenc_setup_encoder()
Dmpegvideo_enc.c299 AVCPBProperties *cpb_props; in ff_mpv_encode_init() local
1085 cpb_props = ff_add_cpb_side_data(avctx); in ff_mpv_encode_init()
1086 if (!cpb_props) in ff_mpv_encode_init()
1088 cpb_props->max_bitrate = avctx->rc_max_rate; in ff_mpv_encode_init()
1089 cpb_props->min_bitrate = avctx->rc_min_rate; in ff_mpv_encode_init()
1090 cpb_props->avg_bitrate = avctx->bit_rate; in ff_mpv_encode_init()
1091 cpb_props->buffer_size = avctx->rc_buffer_size; in ff_mpv_encode_init()
Dmpeg12dec.c1392 AVCPBProperties *cpb_props; in mpeg_decode_sequence_extension() local
1424 if (cpb_props = ff_add_cpb_side_data(s->avctx)) { in mpeg_decode_sequence_extension()
1425 cpb_props->buffer_size = s1->rc_buffer_size; in mpeg_decode_sequence_extension()
1427 cpb_props->max_bitrate = s->bit_rate; in mpeg_decode_sequence_extension()