/third_party/ffmpeg/libavformat/tests/ |
H A D | movenc.c | 67 int gop_size; variable 232 gop_size = 30; in init_fps() 266 if ((frames % gop_size) == 0) { in mux_frames() 278 if (((frames + 1) % gop_size) == 0) { in mux_frames() 318 mux_frames(gop_size * n, 0); in mux_gops() 681 mux_frames(gop_size, 1); // Write the second fragment in main() 705 mux_frames(gop_size/2, 0); in main() 707 mux_frames(gop_size/2, 0); in main() 724 mux_frames(gop_size/2, 0); in main() 726 mux_frames(gop_size/ in main() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | libtheoraenc.c | 172 uint32_t gop_size = avc_context->gop_size; in encode_init() local 241 &gop_size, sizeof(gop_size))) { in encode_init()
|
H A D | flashsvenc.c | 228 if (avctx->gop_size > 0 && in flashsv_encode_frame() 229 avctx->frame_number >= s->last_key_frame + avctx->gop_size) { in flashsv_encode_frame()
|
H A D | vaapi_encode.c | 968 if (ctx->gop_counter + b_counter + closed_gop_end >= ctx->gop_size) in vaapi_encode_pick_next() 1005 } else if (ctx->gop_counter + b_counter >= ctx->gop_size) { in vaapi_encode_pick_next() 1020 if (ctx->gop_counter + b_counter + closed_gop_end == ctx->gop_size) { in vaapi_encode_pick_next() 1700 rc_window_size = avctx->gop_size > 0 ? avctx->gop_size : 60; in vaapi_encode_init_rate_control() 1970 avctx->gop_size <= 1)) { in vaapi_encode_init_gop_structure() 2011 avctx->gop_size <= 1) { in vaapi_encode_init_gop_structure() 2013 ctx->gop_size = 1; in vaapi_encode_init_gop_structure() 2028 ctx->gop_size = avctx->gop_size; in vaapi_encode_init_gop_structure() [all...] |
H A D | libxavs2.c | 90 xavs2_opt_set2("IntraPeriodMax", "%d", avctx->gop_size); in xavs2_init() 91 xavs2_opt_set2("IntraPeriodMin", "%d", avctx->gop_size); in xavs2_init()
|
H A D | qtrleenc.c | 376 if (avctx->gop_size == 0 || !s->previous_frame->data[0] || in qtrle_encode_frame() 377 (s->avctx->frame_number % avctx->gop_size) == 0) { in qtrle_encode_frame()
|
H A D | nvenc.c | 1119 h264->intraRefreshPeriod = avctx->gop_size; in nvenc_setup_h264_config() 1120 h264->intraRefreshCnt = avctx->gop_size - 1; in nvenc_setup_h264_config() 1140 } else if (avctx->gop_size >= 0) { in nvenc_setup_h264_config() 1141 h264->idrPeriod = avctx->gop_size; in nvenc_setup_h264_config() 1231 hevc->intraRefreshPeriod = avctx->gop_size; in nvenc_setup_hevc_config() 1232 hevc->intraRefreshCnt = avctx->gop_size - 1; in nvenc_setup_hevc_config() 1254 } else if (avctx->gop_size >= 0) { in nvenc_setup_hevc_config() 1255 hevc->idrPeriod = avctx->gop_size; in nvenc_setup_hevc_config() 1428 if (avctx->gop_size > 0) { in nvenc_setup_encoder() 1434 ctx->encode_config.gopLength = avctx->gop_size; in nvenc_setup_encoder() [all...] |
H A D | libopenh264enc.c | 188 if (avctx->gop_size >= 0) in svc_encode_init() 189 param.uiIntraPeriod = avctx->gop_size; in svc_encode_init()
|
H A D | librav1e.c | 340 if (avctx->gop_size > 0) { in librav1e_encode_init() 341 rret = rav1e_config_parse_int(cfg, "key_frame_interval", avctx->gop_size); in librav1e_encode_init()
|
H A D | v4l2_m2m_enc.c | 199 v4l2_set_ext_ctrl(s, MPEG_CID(GOP_SIZE), avctx->gop_size,"gop size", 1); in v4l2_prepare_encoder() 205 avctx->max_b_frames, avctx->gop_size, avctx->bit_rate, avctx->qmin, avctx->qmax); in v4l2_prepare_encoder()
|
H A D | smcenc.c | 512 if (avctx->gop_size == 0 || !s->prev_frame->data[0] || in smc_encode_frame() 513 (avctx->frame_number % avctx->gop_size) == 0) { in smc_encode_frame()
|
H A D | vaapi_encode_h264.c | 306 sps->constraint_set3_flag = ctx->gop_size == 1; in vaapi_encode_h264_init_sequence_params() 314 if (ctx->gop_size == 1) in vaapi_encode_h264_init_sequence_params() 518 .intra_period = ctx->gop_size, in vaapi_encode_h264_init_sequence_params() 519 .intra_idr_period = ctx->gop_size, in vaapi_encode_h264_init_sequence_params()
|
H A D | vaapi_encode.h | 328 int gop_size; member
|
H A D | vaapi_encode_vp8.c | 69 vseq->intra_period = ctx->gop_size; in vaapi_encode_vp8_init_sequence_params()
|
H A D | libsvtav1.c | 240 if (avctx->gop_size > 0) in config_enc_params() 241 param->intra_period_length = avctx->gop_size - 1; in config_enc_params()
|
H A D | mpegvideo.h | 85 int gop_size; member
|
H A D | vaapi_encode_vp9.c | 67 vseq->intra_period = ctx->gop_size; in vaapi_encode_vp9_init_sequence_params()
|
H A D | flashsv2enc.c | 740 if (s->avctx->gop_size > 0) { in recommend_keyframe() 868 if (avctx->gop_size > 0) { in flashsv2_encode_frame() 869 if (avctx->frame_number >= s->last_key_frame + avctx->gop_size) in flashsv2_encode_frame()
|
H A D | mpegvideo_enc.c | 340 if (avctx->gop_size > 600 && in ff_mpv_encode_init() 344 avctx->gop_size, 600); in ff_mpv_encode_init() 345 avctx->gop_size = 600; in ff_mpv_encode_init() 347 s->gop_size = avctx->gop_size; in ff_mpv_encode_init() 388 if (s->gop_size <= 1) { in ff_mpv_encode_init() 390 s->gop_size = 12; in ff_mpv_encode_init() 1373 if (s->picture_in_gop_number < s->gop_size && in select_input_picture() 1385 if (/*s->picture_in_gop_number >= s->gop_size ||*/ in select_input_picture() 1457 if (s->picture_in_gop_number + b_frames >= s->gop_size) { in select_input_picture() [all...] |
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | picture_h264_enc.c | 48 context->desc.h264enc.p_remain = context->desc.h264enc.gop_size - context->desc.h264enc.gop_cnt - context->desc.h264enc.i_remain; in vlVaHandleVAEncPictureParameterBufferTypeH264() 73 if (context->desc.h264enc.gop_cnt == context->desc.h264enc.gop_size) in vlVaHandleVAEncPictureParameterBufferTypeH264() 165 context->desc.h264enc.gop_size = h264->intra_idr_period * context->gop_coeff; in vlVaHandleVAEncSequenceParameterBufferTypeH264()
|
/third_party/ffmpeg/doc/examples/ |
H A D | encode_video.c | 116 * then gop_size is ignored and the output of encoder in main() 117 * will always be I frame irrespective to gop_size in main() 119 c->gop_size = 10; in main()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | radeon_vce.h | 73 uint32_t gop_size; member 350 unsigned gop_size; member
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeon_vce.h | 73 uint32_t gop_size; member 352 unsigned gop_size; member
|
H A D | radeon_vce_52.c | 46 enc->enc_pic.rc.gop_size = pic->gop_size; in get_rate_control_param() 429 RVCE_CS(enc->enc_pic.rc.gop_size); in rate_control()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_mcdeint.c | 126 enc_ctx->gop_size = INT_MAX; in config_props()
|