Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dlibx265.c128 AVCPBProperties *cpb_props = NULL; in libx265_encode_init() local
337 cpb_props = ff_add_cpb_side_data(avctx); in libx265_encode_init()
338 if (!cpb_props) in libx265_encode_init()
340 cpb_props->buffer_size = ctx->params->rc.vbvBufferSize * 1000; in libx265_encode_init()
341 cpb_props->max_bitrate = ctx->params->rc.vbvMaxBitrate * 1000LL; in libx265_encode_init()
342 cpb_props->avg_bitrate = ctx->params->rc.bitrate * 1000LL; in libx265_encode_init()
Dlibsvtav1.c306 AVCPBProperties *cpb_props = ff_add_cpb_side_data(avctx); in config_enc_params() local
307 if (!cpb_props) in config_enc_params()
310 cpb_props->buffer_size = avctx->rc_buffer_size; in config_enc_params()
311 cpb_props->max_bitrate = avctx->rc_max_rate; in config_enc_params()
312 cpb_props->avg_bitrate = avctx->bit_rate; in config_enc_params()
Dlibaomenc.c668 AVCPBProperties *cpb_props; in aom_init() local
990 cpb_props = ff_add_cpb_side_data(avctx); in aom_init()
991 if (!cpb_props) in aom_init()
1018 cpb_props->max_bitrate = avctx->rc_max_rate; in aom_init()
1019 cpb_props->min_bitrate = avctx->rc_min_rate; in aom_init()
1020 cpb_props->avg_bitrate = avctx->bit_rate; in aom_init()
1022 cpb_props->buffer_size = avctx->rc_buffer_size; in aom_init()
Dlibx264.c637 AVCPBProperties *cpb_props; in X264_init() local
1011 cpb_props = ff_add_cpb_side_data(avctx); in X264_init()
1012 if (!cpb_props) in X264_init()
1014 cpb_props->buffer_size = x4->params.rc.i_vbv_buffer_size * 1000; in X264_init()
1015 cpb_props->max_bitrate = x4->params.rc.i_vbv_max_bitrate * 1000LL; in X264_init()
1016 cpb_props->avg_bitrate = x4->params.rc.i_bitrate * 1000LL; in X264_init()
Dlibvpxenc.c891 AVCPBProperties *cpb_props; in vpx_init() local
1189 cpb_props = ff_add_cpb_side_data(avctx); in vpx_init()
1190 if (!cpb_props) in vpx_init()
1195 cpb_props->max_bitrate = avctx->rc_max_rate; in vpx_init()
1196 cpb_props->min_bitrate = avctx->rc_min_rate; in vpx_init()
1197 cpb_props->avg_bitrate = avctx->bit_rate; in vpx_init()
1199 cpb_props->buffer_size = avctx->rc_buffer_size; in vpx_init()
Dqsvenc.c1059 AVCPBProperties *cpb_props; in qsv_retrieve_enc_params() local
1162 cpb_props = ff_add_cpb_side_data(avctx); in qsv_retrieve_enc_params()
1163 if (!cpb_props) in qsv_retrieve_enc_params()
1165 cpb_props->max_bitrate = avctx->rc_max_rate; in qsv_retrieve_enc_params()
1166 cpb_props->min_bitrate = avctx->rc_min_rate; in qsv_retrieve_enc_params()
1167 cpb_props->avg_bitrate = avctx->bit_rate; in qsv_retrieve_enc_params()
1168 cpb_props->buffer_size = avctx->rc_buffer_size; in qsv_retrieve_enc_params()
Dnvenc.c1346 AVCPBProperties *cpb_props; in nvenc_setup_encoder() local
1491 cpb_props = ff_add_cpb_side_data(avctx); in nvenc_setup_encoder()
1492 if (!cpb_props) in nvenc_setup_encoder()
1494 cpb_props->max_bitrate = ctx->encode_config.rcParams.maxBitRate; in nvenc_setup_encoder()
1495 cpb_props->avg_bitrate = avctx->bit_rate; in nvenc_setup_encoder()
1496 cpb_props->buffer_size = ctx->encode_config.rcParams.vbvBufferSize; in nvenc_setup_encoder()
Dmpegvideo_enc.c314 AVCPBProperties *cpb_props; in ff_mpv_encode_init() local
916 cpb_props = ff_add_cpb_side_data(avctx); in ff_mpv_encode_init()
917 if (!cpb_props) in ff_mpv_encode_init()
919 cpb_props->max_bitrate = avctx->rc_max_rate; in ff_mpv_encode_init()
920 cpb_props->min_bitrate = avctx->rc_min_rate; in ff_mpv_encode_init()
921 cpb_props->avg_bitrate = avctx->bit_rate; in ff_mpv_encode_init()
922 cpb_props->buffer_size = avctx->rc_buffer_size; in ff_mpv_encode_init()
Dmpeg12dec.c1372 AVCPBProperties *cpb_props; in mpeg_decode_sequence_extension() local
1404 if (cpb_props = ff_add_cpb_side_data(s->avctx)) { in mpeg_decode_sequence_extension()
1405 cpb_props->buffer_size = s1->rc_buffer_size; in mpeg_decode_sequence_extension()
1407 cpb_props->max_bitrate = s->bit_rate; in mpeg_decode_sequence_extension()