Home
last modified time | relevance | path

Searched refs:initial_pool_size (Results 1 – 23 of 23) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dnvdec.c307 frames_ctx->initial_pool_size += 3; in nvdec_init_hwframes()
318 frames_ctx->initial_pool_size = 0; in nvdec_init_hwframes()
403 params.ulNumDecodeSurfaces = frames_ctx->initial_pool_size; in ff_nvdec_decode_init()
404 params.ulNumOutputSurfaces = frames_ctx->initial_pool_size; in ff_nvdec_decode_init()
427 pool->dpb_size = frames_ctx->initial_pool_size; in ff_nvdec_decode_init()
728 frames_ctx->initial_pool_size = dpb_size + 2; in ff_nvdec_frame_params()
Dvaapi_decode.c575 frames->initial_pool_size = 1; in vaapi_decode_make_config()
580 frames->initial_pool_size += 16; in vaapi_decode_make_config()
584 frames->initial_pool_size += 8; in vaapi_decode_make_config()
587 frames->initial_pool_size += 3; in vaapi_decode_make_config()
590 frames->initial_pool_size += 2; in vaapi_decode_make_config()
Ddecode.c1213 if (frames_ctx->initial_pool_size) { in ff_decode_get_hw_frames_ctx()
1216 frames_ctx->initial_pool_size += 3; in ff_decode_get_hw_frames_ctx()
1258 if (frames_ctx->initial_pool_size) { in avcodec_get_hw_frames_parameters()
1262 frames_ctx->initial_pool_size += avctx->extra_hw_frames; in avcodec_get_hw_frames_parameters()
1267 frames_ctx->initial_pool_size += avctx->thread_count; in avcodec_get_hw_frames_parameters()
Damfenc.c276 if (frames_ctx->initial_pool_size > 0) in amf_init_context()
277 ctx->hwsurfaces_in_queue_max = frames_ctx->initial_pool_size - 1; in amf_init_context()
Dqsv.c573 frames_ctx->initial_pool_size = req->NumFrameSuggested; in qsv_frame_alloc()
Ddxva2.c633 frames_ctx->initial_pool_size = num_surfaces; in ff_dxva2_common_frame_params()
/third_party/ffmpeg/libavutil/
Dhwcontext_dxva2.c152 if (ctx->initial_pool_size <= 0) in dxva2_init_pool()
182 s->surfaces_internal = av_mallocz_array(ctx->initial_pool_size, in dxva2_init_pool()
189 ctx->initial_pool_size - 1, in dxva2_init_pool()
204 frames_hwctx->nb_surfaces = ctx->initial_pool_size; in dxva2_init_pool()
Dhwcontext_qsv.c266 child_frames_ctx->initial_pool_size = ctx->initial_pool_size; in qsv_init_child_ctx()
289 for (i = 0; i < ctx->initial_pool_size; i++) in qsv_init_child_ctx()
297 for (i = 0; i < ctx->initial_pool_size; i++) in qsv_init_child_ctx()
358 if (ctx->initial_pool_size <= 0) { in qsv_init_pool()
363 s->surfaces_internal = av_mallocz_array(ctx->initial_pool_size, in qsv_init_pool()
368 for (i = 0; i < ctx->initial_pool_size; i++) { in qsv_init_pool()
386 frames_hwctx->nb_surfaces = ctx->initial_pool_size; in qsv_init_pool()
Dhwcontext.h199 int initial_pool_size; member
Dhwcontext.c311 frames = av_mallocz_array(ctx->initial_pool_size, sizeof(*frames)); in hwframe_pool_prealloc()
315 for (i = 0; i < ctx->initial_pool_size; i++) { in hwframe_pool_prealloc()
326 for (i = 0; i < ctx->initial_pool_size; i++) in hwframe_pool_prealloc()
372 if (ctx->initial_pool_size > 0) { in av_hwframe_ctx_init()
Dhwcontext_vaapi.c477 if (hwfc->initial_pool_size > 0 && in vaapi_pool_alloc()
478 avfc->nb_surfaces >= hwfc->initial_pool_size) in vaapi_pool_alloc()
500 if (hwfc->initial_pool_size > 0) { in vaapi_pool_alloc()
503 av_assert0(avfc->nb_surfaces < hwfc->initial_pool_size); in vaapi_pool_alloc()
577 if (hwfc->initial_pool_size > 0) { in vaapi_frames_init()
582 avfc->surface_ids = av_malloc(hwfc->initial_pool_size * in vaapi_frames_init()
Dhwcontext_d3d11va.c254 .ArraySize = ctx->initial_pool_size, in d3d11va_frames_init()
Dhwcontext_opencl.c2431 if (src_fc->initial_pool_size == 0) { in opencl_frames_derive_from_dxva2()
2586 if (src_fc->initial_pool_size == 0) { in opencl_frames_derive_from_d3d11()
2596 frames_priv->nb_mapped_frames = src_fc->initial_pool_size; in opencl_frames_derive_from_d3d11()
/third_party/ffmpeg/fftools/
Dffmpeg_qsv.c97 frames_ctx->initial_pool_size = 64 + s->extra_hw_frames; in qsv_init()
/third_party/ffmpeg/libavfilter/
Dvf_hwmap.c148 frames->initial_pool_size = 2 + avctx->extra_hw_frames; in hwmap_config_output()
229 hwfc->initial_pool_size = 2 + avctx->extra_hw_frames; in hwmap_config_output()
Dvf_hwupload.c152 ctx->hwframes->initial_pool_size = 2 + avctx->extra_hw_frames; in hwupload_config_output()
Dqsvvpp.c567 out_frames_ctx->initial_pool_size = 64; in init_vpp_session()
569 out_frames_ctx->initial_pool_size += avctx->extra_hw_frames; in init_vpp_session()
Davfilter.c1661 if (frames->initial_pool_size == 0) { in ff_filter_init_hw_frames()
1664 frames->initial_pool_size += avctx->extra_hw_frames; in ff_filter_init_hw_frames()
1666 frames->initial_pool_size = default_pool_size; in ff_filter_init_hw_frames()
Dvf_yadif_cuda.c287 output_frames->initial_pool_size = 4; in config_output()
Dvf_scale_qsv.c207 out_frames_ctx->initial_pool_size = 4; in init_out_pool()
Dvaapi_vpp.c190 output_frames->initial_pool_size = 4; in ff_vaapi_vpp_config_output()
/third_party/ffmpeg/doc/examples/
Dvaapi_encode.c59 frames_ctx->initial_pool_size = 20; in set_hwframe_ctx()
Dqsvdec.c71 frames_ctx->initial_pool_size = 32; in get_format()