Home
last modified time | relevance | path

Searched refs:max_b_frames (Results 1 – 25 of 35) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dlibxavs.c139 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()
Dv4l2_m2m_enc.c150 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()
Damfenc_h264.c296 …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()
Dmpegvideo_enc.c394 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 …]
Dnvdec_vc1.c83 .maxbframes = s->max_b_frames, in nvdec_vc1_start_frame()
Dvdpau_vc1.c93 info->maxbframes = v->s.max_b_frames; in vdpau_vc1_start_frame()
Damfenc.c121 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()
Dvc1.c359 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()
Dvaapi_vc1.c274 .max_b_frames = s->avctx->max_b_frames, in vaapi_vc1_start_frame()
Dlibx264.c694 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()
Dmpeg4videoenc.c638 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()
Dratecontrol.c552 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()
Dlibx265.c329 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()
Dlibxavs2.c82 xavs2_opt_set2("BFrames", "%d", avctx->max_b_frames); in xavs2_init()
Dnvenc.c445 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()
Dlibxvid.c676 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()
Dmss2.c786 v->s.max_b_frames = avctx->max_b_frames = 0; in wmv9_init()
Dmfenc.c694 …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()
Ddxva2_vc1.c115 (s->max_b_frames ); in fill_picture_parameters()
Dvideotoolboxenc.c1396 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/
Dencode_video.c120 c->max_b_frames = 1; in main()
Dmuxing.c195 c->max_b_frames = 2; in add_stream()
/third_party/mesa3d/src/gallium/frontends/va/
Dpicture_vc1.c65 context->desc.vc1.maxbframes = vc1->sequence_fields.bits.max_b_frames; in vlVaHandlePictureParameterBufferVC1()
/third_party/ffmpeg/libavfilter/
Dvf_mcdeint.c127 enc_ctx->max_b_frames = 0; in config_props()
Dvf_uspp.c362 avctx_enc->max_b_frames = 0; in config_input()

12