[FFmpeg-devel] [PATCH 2/2] avcodec/vvcdec: format, fix indent for vvc_deblock_bs

Nuo Mi nuomi2021 at gmail.com
Fri Aug 23 18:03:54 EEST 2024


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

diff --git a/libavcodec/vvc/filter.c b/libavcodec/vvc/filter.c
index aa0d542271..25bef45eed 100644
--- a/libavcodec/vvc/filter.c
+++ b/libavcodec/vvc/filter.c
@@ -680,12 +680,12 @@ typedef void (*deblock_bs_fn)(const VVCLocalContext *lc, const int x0, const int
 
 static void vvc_deblock_bs(const VVCLocalContext *lc, const int x0, const int y0, const int rs, const int vertical)
 {
-    const VVCFrameContext *fc = lc->fc;
-    const VVCSPS *sps  = fc->ps.sps;
-    const VVCPPS *pps  = fc->ps.pps;
-    const int ctb_size = sps->ctb_size_y;
-    const int x_end    = FFMIN(x0 + ctb_size, pps->width) >> MIN_TU_LOG2;
-    const int y_end    = FFMIN(y0 + ctb_size, pps->height) >> MIN_TU_LOG2;
+    const VVCFrameContext *fc  = lc->fc;
+    const VVCSPS *sps          = fc->ps.sps;
+    const VVCPPS *pps          = fc->ps.pps;
+    const int ctb_size         = sps->ctb_size_y;
+    const int x_end            = FFMIN(x0 + ctb_size, pps->width) >> MIN_TU_LOG2;
+    const int y_end            = FFMIN(y0 + ctb_size, pps->height) >> MIN_TU_LOG2;
     const int has_chroma       = !!sps->r->sps_chroma_format_idc;
     deblock_bs_fn deblock_bs[] = {
         vvc_deblock_bs_luma, vvc_deblock_bs_chroma
-- 
2.34.1



More information about the ffmpeg-devel mailing list