Searched refs:initial_pool_size (Results 1 – 23 of 23) sorted by relevance
307 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()
575 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()
1213 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()
276 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()
573 frames_ctx->initial_pool_size = req->NumFrameSuggested; in qsv_frame_alloc()
633 frames_ctx->initial_pool_size = num_surfaces; in ff_dxva2_common_frame_params()
152 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()
266 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()
199 int initial_pool_size; member
311 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()
477 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()
254 .ArraySize = ctx->initial_pool_size, in d3d11va_frames_init()
2431 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()
97 frames_ctx->initial_pool_size = 64 + s->extra_hw_frames; in qsv_init()
148 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()
152 ctx->hwframes->initial_pool_size = 2 + avctx->extra_hw_frames; in hwupload_config_output()
567 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()
1661 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()
287 output_frames->initial_pool_size = 4; in config_output()
207 out_frames_ctx->initial_pool_size = 4; in init_out_pool()
190 output_frames->initial_pool_size = 4; in ff_vaapi_vpp_config_output()
59 frames_ctx->initial_pool_size = 20; in set_hwframe_ctx()
71 frames_ctx->initial_pool_size = 32; in get_format()