/third_party/ffmpeg/libavcodec/ |
D | libxavs.c | 139 x4->pts_buffer[avctx->frame_number % (avctx->max_b_frames+1)] = frame->pts; in XAVS_frame() 160 pkt->dts = 2*x4->pts_buffer[(x4->out_frame_count-1)%(avctx->max_b_frames+1)] - in XAVS_frame() 161 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() 287 x4->params.i_bframe = avctx->max_b_frames; in XAVS_init() 300 avctx->has_b_frames = !!avctx->max_b_frames; in XAVS_init() 395 if (!(x4->pts_buffer = av_mallocz_array((avctx->max_b_frames+1), sizeof(*x4->pts_buffer)))) in XAVS_init()
|
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()
|
D | amfenc_h264.c | 296 …AMF_ASSIGN_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_B_PIC_PATTERN, avctx->max_b_frames); in amf_encode_init_h264() 300 avctx->max_b_frames, (int)var.int64Value); in amf_encode_init_h264() 301 avctx->max_b_frames = (int)var.int64Value; in amf_encode_init_h264() 303 if (avctx->max_b_frames) { in amf_encode_init_h264()
|
D | mpegvideo_enc.c | 394 if (avctx->max_b_frames > MAX_B_FRAMES) { in ff_mpv_encode_init() 397 avctx->max_b_frames = MAX_B_FRAMES; in ff_mpv_encode_init() 399 s->max_b_frames = avctx->max_b_frames; in ff_mpv_encode_init() 550 if (s->max_b_frames && in ff_mpv_encode_init() 557 if (s->max_b_frames < 0) { in ff_mpv_encode_init() 689 if (s->max_b_frames != 0) { in ff_mpv_encode_init() 788 avctx->delay = s->low_delay ? 0 : (s->max_b_frames + 1); in ff_mpv_encode_init() 793 avctx->delay = s->low_delay ? 0 : (s->max_b_frames + 1); in ff_mpv_encode_init() 889 s->low_delay = s->max_b_frames ? 0 : 1; in ff_mpv_encode_init() 890 avctx->delay = s->low_delay ? 0 : (s->max_b_frames + 1); in ff_mpv_encode_init() [all …]
|
D | nvdec_vc1.c | 83 .maxbframes = s->max_b_frames, in nvdec_vc1_start_frame()
|
D | vdpau_vc1.c | 93 info->maxbframes = v->s.max_b_frames; in vdpau_vc1_start_frame()
|
D | amfenc.c | 121 ctx->timestamp_list = av_fifo_alloc((avctx->max_b_frames + 16) * sizeof(int64_t)); in amf_load_library() 487 if (avctx->max_b_frames > 0 && ctx->dts_delay == 0) { in amf_copy_buffer() 490 "timestamp_list is empty while max_b_frames = %d\n", avctx->max_b_frames); in amf_copy_buffer()
|
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()
|
D | vaapi_vc1.c | 274 .max_b_frames = s->avctx->max_b_frames, in vaapi_vc1_start_frame()
|
D | libx264.c | 694 if (avctx->max_b_frames >= 0) in X264_init() 695 x4->params.i_bframe = avctx->max_b_frames; in X264_init() 943 if (avctx->max_b_frames < 0) in X264_init() 944 avctx->max_b_frames = 0; in X264_init()
|
D | mpeg4videoenc.c | 638 if (s->max_b_frames > 0) { in ff_mpeg4_encode_mb() 650 for (i = 0; i < s->max_b_frames; i++) { in ff_mpeg4_encode_mb() 921 } else if (s->max_b_frames || s->quarter_sample) { in mpeg4_encode_visual_object_header() 964 if (s->max_b_frames || s->quarter_sample) { in mpeg4_encode_vol_header()
|
D | ratecontrol.c | 552 i += s->max_b_frames; in ff_rate_control_init() 573 for (i = 0; i < rcc->num_entries - s->max_b_frames; i++) { in ff_rate_control_init() 631 else if (i % (s->max_b_frames + 1)) in ff_rate_control_init()
|
D | libx265.c | 329 if (avctx->max_b_frames >= 0) { in libx265_encode_init() 330 ret = libx265_param_parse_int(avctx, "bframes", avctx->max_b_frames); in libx265_encode_init()
|
D | libxavs2.c | 82 xavs2_opt_set2("BFrames", "%d", avctx->max_b_frames); in xavs2_init()
|
D | nvenc.c | 445 if (ret < avctx->max_b_frames) { in nvenc_check_capabilities() 447 avctx->max_b_frames, ret); in nvenc_check_capabilities() 1325 avctx->max_b_frames = FFMIN(avctx->max_b_frames, 3); in nvenc_setup_encoder() 1338 if (avctx->max_b_frames >= 0) { in nvenc_setup_encoder() 1340 ctx->encode_config.frameIntervalP = avctx->max_b_frames + 1; in nvenc_setup_encoder()
|
D | libxvid.c | 676 xvid_enc_create.max_bframes = avctx->max_b_frames; in xvid_encode_init() 679 if (avctx->max_b_frames > 0 && !x->quicktime_format) in xvid_encode_init()
|
D | mss2.c | 786 v->s.max_b_frames = avctx->max_b_frames = 0; in wmv9_init()
|
D | mfenc.c | 694 …Value(c->codec_api, &ff_CODECAPI_AVEncMPVDefaultBPictureCount, FF_VAL_VT_UI4(avctx->max_b_frames)); in mf_encv_output_adjust() 695 avctx->has_b_frames = avctx->max_b_frames > 0; in mf_encv_output_adjust()
|
D | dxva2_vc1.c | 115 (s->max_b_frames ); in fill_picture_parameters()
|
D | videotoolboxenc.c | 1396 avctx->max_b_frames = 16; in vtenc_configure_encoder() 1401 vtctx->has_b_frames = avctx->max_b_frames > 0; in vtenc_configure_encoder() 1418 vtctx->has_b_frames = avctx->max_b_frames > 0 ? 2 : 0; in vtenc_configure_encoder()
|
/third_party/ffmpeg/doc/examples/ |
D | encode_video.c | 120 c->max_b_frames = 1; in main()
|
D | muxing.c | 195 c->max_b_frames = 2; in add_stream()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
D | picture_vc1.c | 65 context->desc.vc1.maxbframes = vc1->sequence_fields.bits.max_b_frames; in vlVaHandlePictureParameterBufferVC1()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_mcdeint.c | 127 enc_ctx->max_b_frames = 0; in config_props()
|
D | vf_uspp.c | 362 avctx_enc->max_b_frames = 0; in config_input()
|