Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Cosmin Stejerean via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: "ffmpeg-devel@ffmpeg.org" <ffmpeg-devel@ffmpeg.org>
Cc: "Cosmin Stejerean" <cosmin@cosmin.at>
Subject: [FFmpeg-devel] [PATCH v2 0/3] consider chroma subsampling for bwdif (including CUDA and Vulkan)
Date: Thu, 30 Nov 2023 00:23:20 +0000
Message-ID: <0101018c1d9bd369-81383354-8caa-4736-ba47-6a70b92d3f4d-000000@us-west-2.amazonses.com> (raw)
In-Reply-To: <20231130002316.73504-1-cosmin@cosmin.at>

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(-)

-- 
2.42.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

       reply	other threads:[~2023-11-30  0:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20231130002316.73504-1-cosmin@cosmin.at>
2023-11-30  0:23 ` Cosmin Stejerean via ffmpeg-devel [this message]
     [not found] ` <20231130002316.73504-3-cosmin@cosmin.at>
2023-11-30  0:23   ` [FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_bwdif_cuda: consider chroma subsampling when enforcing minimum dimensions Cosmin Stejerean via ffmpeg-devel
     [not found] ` <20231130002316.73504-2-cosmin@cosmin.at>
2023-11-30  0:23   ` [FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_bwdif: " Cosmin Stejerean via ffmpeg-devel
2023-11-30 12:37     ` Thomas Mundt
     [not found]       ` <FF8310ED-45F7-4369-B080-55D98C8AA85C@cosmin.at>
2023-11-30 17:29         ` Cosmin Stejerean via ffmpeg-devel
     [not found] ` <20231130002316.73504-4-cosmin@cosmin.at>
2023-11-30  0:23   ` [FFmpeg-devel] [PATCH v2 3/3] avfilter/vf_bwdif_vulkan: " Cosmin Stejerean via ffmpeg-devel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0101018c1d9bd369-81383354-8caa-4736-ba47-6a70b92d3f4d-000000@us-west-2.amazonses.com \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=cosmin@cosmin.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git