Home
last modified time | relevance | path

Searched refs:max_b_frames (Results 1 - 25 of 32) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
H A Dlibxavs.c144 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 Damfenc_h264.c297 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 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()
H A Dmpegvideo_enc.c349 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 Dnvdec_vc1.c86 .maxbframes = s->max_b_frames, in nvdec_vc1_start_frame()
H A Dvdpau_vc1.c95 info->maxbframes = v->s.max_b_frames; in vdpau_vc1_start_frame()
H A Damfenc.c122 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 Dvaapi_vc1.c276 .max_b_frames = s->avctx->max_b_frames, in vaapi_vc1_start_frame()
H A Dnvenc.c463 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 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()
H A Dlibxavs2.c85 xavs2_opt_set2("BFrames", "%d", avctx->max_b_frames); in xavs2_init()
H A Dmpegvideo.h99 int max_b_frames; ///< max number of B-frames for encoding member
H A Dratecontrol.c551 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 Dlibxvid.c668 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 Dlibx265.c357 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 Dmpegvideo_dec.c148 s->max_b_frames = s1->max_b_frames; in ff_mpeg_update_thread_context()
H A Dmss2.c784 v->s.max_b_frames = avctx->max_b_frames = 0; in wmv9_init()
H A Dmpeg4videoenc.c639 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 Dlibx264.c726 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 Davcodec.h657 * Note: The output will be delayed by max_b_frames+1 relative to the input.
661 int max_b_frames; member
H A Ddxva2_vc1.c118 (s->max_b_frames ); in fill_picture_parameters()
/third_party/ffmpeg/doc/examples/
H A Dencode_video.c120 c->max_b_frames = 1; in main()
/third_party/mesa3d/src/gallium/frontends/va/
H A Dpicture_vc1.c65 context->desc.vc1.maxbframes = vc1->sequence_fields.bits.max_b_frames; in vlVaHandlePictureParameterBufferVC1()
/third_party/ffmpeg/libavfilter/
H A Dvf_mcdeint.c127 enc_ctx->max_b_frames = 0; in config_props()
H A Dvf_uspp.c356 avctx_enc->max_b_frames = 0; in config_input()

Completed in 31 milliseconds

12