From: Cosmin Stejerean <[email protected]>
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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".