Message ID | 0101018c1d9bd369-81383354-8caa-4736-ba47-6a70b92d3f4d-000000@us-west-2.amazonses.com |
---|---|
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:a301:b0:181:818d:5e7f with SMTP id x1csp20653pzk; Wed, 29 Nov 2023 16:23:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IG54LCVfDlooX7A69YlvN1o8uvrasfrXLycmlz1gl5FGPP+TZzP3dS8vjvukivN/kKOQE3+ X-Received: by 2002:a17:906:116:b0:9c5:cfa3:d030 with SMTP id 22-20020a170906011600b009c5cfa3d030mr15544081eje.54.1701303815289; Wed, 29 Nov 2023 16:23:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701303815; cv=none; d=google.com; s=arc-20160816; b=vAYRF5PcRCkTXP2zhkjD5H4aAl6zxigzzUZrvUI15FlkZr9R1wB8+VmRNc3B1eeVdq 187mCvdCoJEj9ibfCkx2D7AWEMANDjBgpfuhp0/dMhrluRFoeHXqH43NcO89jiceoBdt 3qU5CLvqp6OLV2kgOCwBQyxQFNtL8IB0BoEpDXv3z9Jdgc5UMMbCVgs2q7GYyj2Iy/Fb yBBDWKMAW5QcH940wcoJik2wXcnNLMqSEH96BATwuLeEm2a2ZrvzxUqcxxcps4LffylK 3Qtt+++EuelPfTMbxGa46X6d7e8Wof5/DngumczxHc8HUNvisgHxIykSfIqQ4w/ajlL+ GAEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to:from :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:feedback-id:message-id:thread-topic :thread-index:references:mime-version:date:to:delivered-to; bh=KNuND/+Y9TLw9JS9er16I9n3k4zp9lMuXexCyLC3/KY=; fh=CBS/D0cB4KwqFBY8d8UQ4TY1w6HZ9TulitLE+VqI2+k=; b=IxOq1JoxgkmqrxD0R5e+NKzLCHsbF6Q497sFW7EKT/Kb/GHZKqDYadqohsaxm9HJv7 ujbIOfD9nPVAdMhUKCSG8ZZI6/fvgfnVkvzyI5Pv797BgNUcfgzy0FDWey9bGNRfc7wV tIG/ra6pjnMH2eBFF+dVqvpgf8hzuXn4M7Ynkb/lk89DMZBc0YOvcZHPXQJI+vgDEJi+ cJj6pDrK3Buqrf7745FdICfFEbvVJ2eOviGr+3N4d6/xFoNj7FVwSUxlRafCtpQG9j+G 9RGttpjc/oboIHdoKWxxCnDkoMwjTL1dWjCwEnZwpZ3WzTxGr3KdPjaEiVdztkT1UE7R D1Jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id jp10-20020a170906f74a00b00a01daef86a7si35192ejb.319.2023.11.29.16.23.34; Wed, 29 Nov 2023 16:23:35 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4B2C368CF75; Thu, 30 Nov 2023 02:23:31 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from a27-44.smtp-out.us-west-2.amazonses.com (a27-44.smtp-out.us-west-2.amazonses.com [54.240.27.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 930C9688158 for <ffmpeg-devel@ffmpeg.org>; Thu, 30 Nov 2023 02:23:23 +0200 (EET) To: =?utf-8?q?ffmpeg-devel=40ffmpeg=2Eorg?= <ffmpeg-devel@ffmpeg.org> Date: Thu, 30 Nov 2023 00:23:20 +0000 Mime-Version: 1.0 References: <20231130002316.73504-1-cosmin@cosmin.at> X-Mailer: Amazon WorkMail Thread-Index: AQHaIyNrRPKJ9BURSnGRNaEm4d8hOw== Thread-Topic: [PATCH v2 0/3] consider chroma subsampling for bwdif (including CUDA and Vulkan) X-Original-Mailer: git-send-email 2.42.1 X-Wm-Sent-Timestamp: 1701303799 Message-ID: <0101018c1d9bd369-81383354-8caa-4736-ba47-6a70b92d3f4d-000000@us-west-2.amazonses.com> Feedback-ID: 1.us-west-2.An468LAV0jCjQDrDLvlZjeAthld7qrhZr+vow8irkvU=:AmazonSES X-SES-Outgoing: 2023.11.30-54.240.27.44 Subject: [FFmpeg-devel] [PATCH v2 0/3] consider chroma subsampling for bwdif (including CUDA and Vulkan) X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> From: Cosmin Stejerean via ffmpeg-devel <ffmpeg-devel@ffmpeg.org> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: =?utf-8?q?Cosmin_Stejerean?= <cosmin@cosmin.at> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: L8G8wvOl+crc |
Series |
consider chroma subsampling for bwdif (including CUDA and Vulkan)
|
expand
|
From: Cosmin Stejerean <cosmin@cosmin.at> This fixes the issue reported in #10688. In v2 the checks for chroma plane are combined together and the fixes are extended to cover the Vulkan and CUDA implementations of bwdif. I have not had a chance to replicate the issue on CUDA or Vulkan but based on the dimension checks in those filters I believe they would have the same out of bounds issue. I kept the changes in separate patches since I've only properly tested the first one. I'll work on testing the CUDA and Vulkan implementations as well but meanwhile wanted to get some feedback on the overall approach. Cosmin Stejerean (3): avfilter/vf_bwdif: consider chroma subsampling when enforcing minimum dimensions avfilter/vf_bwdif_cuda: consider chroma subsampling when enforcing minimum dimensions avfilter/vf_bwdif_vulkan: consider chroma subsampling when enforcing minimum dimensions libavfilter/vf_bwdif.c | 13 ++++++++++--- libavfilter/vf_bwdif_cuda.c | 13 ++++++++++--- libavfilter/vf_bwdif_vulkan.c | 14 ++++++++++---- 3 files changed, 30 insertions(+), 10 deletions(-)