[FFmpeg-cvslog] postproc/postprocess_template: fix dering with a 16x16 image

Michael Niedermayer git at videolan.org
Sun Jun 22 16:05:09 EEST 2025


ffmpeg | branch: release/7.1 | Michael Niedermayer <michael at niedermayer.cc> | Thu May  1 21:50:13 2025 +0200| [2f0af494b6c8dc564821c08bc7b131721ec07bcf] | committer: Michael Niedermayer

postproc/postprocess_template: fix dering with a 16x16 image

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit fd9adbdbfbd548ef320975552695cfc5c819e339)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2f0af494b6c8dc564821c08bc7b131721ec07bcf
---

 libpostproc/postprocess_template.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c
index 309ea9d25a..f6ddb417bc 100644
--- a/libpostproc/postprocess_template.c
+++ b/libpostproc/postprocess_template.c
@@ -3235,7 +3235,7 @@ static void RENAME(postProcess)(const uint8_t src[], int srcStride, uint8_t dst[
         }
 
         if(mode & DERING){
-            RENAME(dering)(dstBlock - dstStride - 8, dstStride, c, 0, 1, y<=0);
+            RENAME(dering)(dstBlock - dstStride - 8, dstStride, c, x<=8, 1, y<=0);
         }
 
         if((mode & TEMP_NOISE_FILTER)){



More information about the ffmpeg-cvslog mailing list