[FFmpeg-cvslog] avcodec/vvcdec: misc, constify hor_ctu_edge

Nuo Mi git at videolan.org
Wed Jan 17 15:18:10 EET 2024


ffmpeg | branch: master | Nuo Mi <nuomi2021 at gmail.com> | Wed Jan 17 10:15:33 2024 +0800| [d595e0a0b6d1998a4e7367958dceec217041c98e] | committer: James Almer

avcodec/vvcdec: misc, constify hor_ctu_edge

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavcodec/vvc/vvc_filter_template.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/vvc/vvc_filter_template.c b/libavcodec/vvc/vvc_filter_template.c
index 845c8a4181..b7eaef5125 100644
--- a/libavcodec/vvc/vvc_filter_template.c
+++ b/libavcodec/vvc/vvc_filter_template.c
@@ -545,7 +545,7 @@ static void FUNC(loop_filter_luma_large)(pixel *pix, const ptrdiff_t xstride, co
 
 static void FUNC(vvc_loop_filter_luma)(uint8_t* _pix, ptrdiff_t _xstride, ptrdiff_t _ystride,
     const int32_t *_beta, const int32_t *_tc, const uint8_t *_no_p, const uint8_t *_no_q,
-    const uint8_t *_max_len_p, const uint8_t *_max_len_q, int hor_ctu_edge)
+    const uint8_t *_max_len_p, const uint8_t *_max_len_q, const int hor_ctu_edge)
 {
     const ptrdiff_t xstride = _xstride / sizeof(pixel);
     const ptrdiff_t ystride = _ystride / sizeof(pixel);
@@ -771,7 +771,7 @@ static void FUNC(vvc_v_loop_filter_chroma)(uint8_t *pix, ptrdiff_t stride,
 
 static void FUNC(vvc_h_loop_filter_luma)(uint8_t *pix, ptrdiff_t stride,
     const int32_t *beta, const int32_t *tc, const uint8_t *no_p, const uint8_t *no_q,
-    const uint8_t *max_len_p, const uint8_t *max_len_q, int hor_ctu_edge)
+    const uint8_t *max_len_p, const uint8_t *max_len_q, const int hor_ctu_edge)
 {
     FUNC(vvc_loop_filter_luma)(pix, stride, sizeof(pixel), beta, tc,
         no_p, no_q, max_len_p, max_len_q, hor_ctu_edge);
@@ -779,7 +779,7 @@ static void FUNC(vvc_h_loop_filter_luma)(uint8_t *pix, ptrdiff_t stride,
 
 static void FUNC(vvc_v_loop_filter_luma)(uint8_t *pix, ptrdiff_t stride,
     const int32_t *beta, const int32_t *tc, const uint8_t *no_p, const uint8_t *no_q,
-    const uint8_t *max_len_p, const uint8_t *max_len_q, int hor_ctu_edge)
+    const uint8_t *max_len_p, const uint8_t *max_len_q, const int hor_ctu_edge)
 {
     FUNC(vvc_loop_filter_luma)(pix, sizeof(pixel), stride, beta, tc,
         no_p, no_q, max_len_p, max_len_q, hor_ctu_edge);



More information about the ffmpeg-cvslog mailing list