/third_party/ffmpeg/libavcodec/ |
H A D | libxavs.c | 144 x4->pts_buffer[avctx->frame_number % (avctx->max_b_frames+1)] = frame->pts; in XAVS_frame() 165 pkt->dts = 2*x4->pts_buffer[(x4->out_frame_count-1)%(avctx->max_b_frames+1)] - in XAVS_frame() 166 x4->pts_buffer[(x4->out_frame_count-2)%(avctx->max_b_frames+1)]; in XAVS_frame() 178 pkt->dts = x4->pts_buffer[(x4->out_frame_count-1)%(avctx->max_b_frames+1)]; in XAVS_frame() 270 x4->params.i_bframe = avctx->max_b_frames; in XAVS_init() 276 avctx->has_b_frames = !!avctx->max_b_frames; in XAVS_init() 350 if (!FF_ALLOCZ_TYPED_ARRAY(x4->pts_buffer, avctx->max_b_frames + 1)) in XAVS_init()
|
H A D | amfenc_h264.c | 297 AMF_ASSIGN_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_B_PIC_PATTERN, avctx->max_b_frames); in amf_encode_init_h264() 301 avctx->max_b_frames, (int)var.int64Value); in amf_encode_init_h264() 302 avctx->max_b_frames = (int)var.int64Value; in amf_encode_init_h264() 304 if (avctx->max_b_frames) { in amf_encode_init_h264()
|
H A D | v4l2_m2m_enc.c | 150 if (s->avctx->max_b_frames) in v4l2_check_b_frame_support() 154 v4l2_get_ext_ctrl(s, MPEG_CID(B_FRAMES), &s->avctx->max_b_frames, "number of B-frames", 0); in v4l2_check_b_frame_support() 155 if (s->avctx->max_b_frames == 0) in v4l2_check_b_frame_support() 205 avctx->max_b_frames, avctx->gop_size, avctx->bit_rate, avctx->qmin, avctx->qmax); in v4l2_prepare_encoder()
|
H A D | mpegvideo_enc.c | 349 if (avctx->max_b_frames > MAX_B_FRAMES) { in ff_mpv_encode_init() 352 avctx->max_b_frames = MAX_B_FRAMES; in ff_mpv_encode_init() 353 } else if (avctx->max_b_frames < 0) { in ff_mpv_encode_init() 358 s->max_b_frames = avctx->max_b_frames; in ff_mpv_encode_init() 360 if (s->max_b_frames && !(avctx->codec->capabilities & AV_CODEC_CAP_DELAY)) { in ff_mpv_encode_init() 585 if (s->max_b_frames != 0) { in ff_mpv_encode_init() 652 avctx->delay = s->low_delay ? 0 : (s->max_b_frames + 1); in ff_mpv_encode_init() 657 avctx->delay = s->low_delay ? 0 : (s->max_b_frames + 1); in ff_mpv_encode_init() 753 s->low_delay = s->max_b_frames in ff_mpv_encode_init() [all...] |
H A D | nvdec_vc1.c | 86 .maxbframes = s->max_b_frames, in nvdec_vc1_start_frame()
|
H A D | vdpau_vc1.c | 95 info->maxbframes = v->s.max_b_frames; in vdpau_vc1_start_frame()
|
H A D | amfenc.c | 122 ctx->timestamp_list = av_fifo_alloc2(avctx->max_b_frames + 16, sizeof(int64_t), in amf_load_library() 475 // calc dts shift if max_b_frames > 0 in amf_copy_buffer() 476 if (avctx->max_b_frames > 0 && ctx->dts_delay == 0) { in amf_copy_buffer() 481 "timestamp_list is empty while max_b_frames = %d\n", avctx->max_b_frames); in amf_copy_buffer()
|
H A D | vaapi_vc1.c | 276 .max_b_frames = s->avctx->max_b_frames, in vaapi_vc1_start_frame()
|
H A D | nvenc.c | 463 if (ret < avctx->max_b_frames) { in nvenc_check_capabilities() 465 avctx->max_b_frames, ret); in nvenc_check_capabilities() 1416 avctx->max_b_frames = FFMIN(avctx->max_b_frames, 3); in nvenc_setup_encoder() 1429 if (avctx->max_b_frames >= 0) { in nvenc_setup_encoder() 1431 ctx->encode_config.frameIntervalP = avctx->max_b_frames + 1; in nvenc_setup_encoder()
|
H A D | vc1.c | 359 v->s.max_b_frames = avctx->max_b_frames = get_bits(gb, 3); //common in ff_vc1_decode_sequence_header() 394 v->dquant, v->quantizer_mode, avctx->max_b_frames); in ff_vc1_decode_sequence_header() 439 v->s.max_b_frames = v->s.avctx->max_b_frames = 7; in decode_sequence_header_adv() 649 if (v->s.avctx->max_b_frames && !get_bits1(gb)) { in ff_vc1_parse_frame_header()
|
H A D | libxavs2.c | 85 xavs2_opt_set2("BFrames", "%d", avctx->max_b_frames); in xavs2_init()
|
H A D | mpegvideo.h | 99 int max_b_frames; ///< max number of B-frames for encoding member
|
H A D | ratecontrol.c | 551 i += s->max_b_frames; in ff_rate_control_init() 572 for (i = 0; i < rcc->num_entries - s->max_b_frames; i++) { in ff_rate_control_init() 630 else if (i % (s->max_b_frames + 1)) in ff_rate_control_init()
|
H A D | libxvid.c | 668 xvid_enc_create.max_bframes = avctx->max_b_frames; in xvid_encode_init() 671 if (avctx->max_b_frames > 0 && !x->quicktime_format) in xvid_encode_init()
|
H A D | libx265.c | 357 if (avctx->max_b_frames >= 0) { in libx265_encode_init() 358 ret = libx265_param_parse_int(avctx, "bframes", avctx->max_b_frames); in libx265_encode_init()
|
H A D | mpegvideo_dec.c | 148 s->max_b_frames = s1->max_b_frames; in ff_mpeg_update_thread_context()
|
H A D | mss2.c | 784 v->s.max_b_frames = avctx->max_b_frames = 0; in wmv9_init()
|
H A D | mpeg4videoenc.c | 639 if (s->max_b_frames > 0) { in ff_mpeg4_encode_mb() 651 for (i = 0; i < s->max_b_frames; i++) { in ff_mpeg4_encode_mb() 920 } else if (s->max_b_frames || s->quarter_sample) { in mpeg4_encode_visual_object_header() 963 if (s->max_b_frames || s->quarter_sample) { in mpeg4_encode_vol_header()
|
H A D | libx264.c | 726 if (avctx->max_b_frames >= 0) in X264_init() 727 x4->params.i_bframe = avctx->max_b_frames; in X264_init() 975 if (avctx->max_b_frames < 0) in X264_init() 976 avctx->max_b_frames = 0; in X264_init()
|
H A D | avcodec.h | 657 * Note: The output will be delayed by max_b_frames+1 relative to the input. 661 int max_b_frames; member
|
H A D | dxva2_vc1.c | 118 (s->max_b_frames ); in fill_picture_parameters()
|
/third_party/ffmpeg/doc/examples/ |
H A D | encode_video.c | 120 c->max_b_frames = 1; in main()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | picture_vc1.c | 65 context->desc.vc1.maxbframes = vc1->sequence_fields.bits.max_b_frames; in vlVaHandlePictureParameterBufferVC1()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_mcdeint.c | 127 enc_ctx->max_b_frames = 0; in config_props()
|
H A D | vf_uspp.c | 356 avctx_enc->max_b_frames = 0; in config_input()
|