PR #24134 opened by ArazIusubov URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24134 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24134.patch
Recent AMF versions no longer support OpenCL as an engine type for the VQE component. Removing the corresponding option. >From 3cc641ffb38ae9d335d66bd72b7074dde8231b5f Mon Sep 17 00:00:00 2001 From: Araz Iusubov <[email protected]> Date: Fri, 14 Aug 2026 02:09:57 +0200 Subject: [PATCH] avfilter/vf_vqe_amf: remove unsupported opencl engine type --- libavfilter/vf_vqe_amf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_vqe_amf.c b/libavfilter/vf_vqe_amf.c index d7249d999b..fdda675f09 100644 --- a/libavfilter/vf_vqe_amf.c +++ b/libavfilter/vf_vqe_amf.c @@ -125,11 +125,10 @@ static int amf_vqe_filter_config_output(AVFilterLink *outlink) #define OFFSET(x) offsetof(AMFVQEFilterContext, x) #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM static const AVOption vqe_amf_options[] = { - { "engine_type", "Engine type", OFFSET(engine_type), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, AMF_MEMORY_OPENCL, .flags = FLAGS, "engine_type" }, + { "engine_type", "Engine type", OFFSET(engine_type), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, AMF_MEMORY_DX12, .flags = FLAGS, "engine_type" }, { "dx11", "DirectX 11", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_MEMORY_DX11 }, 0, 0, FLAGS, "engine_type" }, - { "dx12", "DirectX 12", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_MEMORY_DX12 }, 0, 0, FLAGS, "engine_type" }, { "vulkan", "Vulkan", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_MEMORY_VULKAN }, 0, 0, FLAGS, "engine_type" }, - { "opencl", "OpenCL", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_MEMORY_OPENCL }, 0, 0, FLAGS, "engine_type" }, + { "dx12", "DirectX 12", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_MEMORY_DX12 }, 0, 0, FLAGS, "engine_type" }, { "attenuation", "Control VQEnhancer strength", OFFSET(attenuation), AV_OPT_TYPE_DOUBLE, { .dbl = 0.1 }, 0.02, 0.4, FLAGS, "attenuation" }, -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
