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

Michael Niedermayer git at videolan.org
Sat May 3 19:52:23 EEST 2025


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu May  1 21:50:13 2025 +0200| [fd9adbdbfbd548ef320975552695cfc5c819e339] | committer: Michael Niedermayer

postproc/postprocess_template: fix dering with a 16x16 image

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 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 0531e39477..3dfe701b5d 100644
--- a/libpostproc/postprocess_template.c
+++ b/libpostproc/postprocess_template.c
@@ -3234,7 +3234,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