[x264-devel] [Git][videolan/x264][master] Cosmetics: Add missing backslashes inside #defines

Anton Mitrofanov gitlab at videolan.org
Sun Jun 13 20:31:53 UTC 2021



Anton Mitrofanov pushed to branch master at VideoLAN / x264


Commits:
e0fee7b2 by Ziemowit Zabawa at 2021-06-13T20:29:21+00:00
Cosmetics: Add missing backslashes inside #defines

- - - - -


2 changed files:

- common/x86/predict-c.c
- encoder/rdo.c


Changes:

=====================================
common/x86/predict-c.c
=====================================
@@ -62,7 +62,7 @@ ALIGNED_8( static const int8_t pb_m32101234[8] ) = {-3,-2,-1,0,1,2,3,4};
     int b = ( 5 * H + 32 ) >> 6;\
     int c = ( 5 * V + 32 ) >> 6;\
     int i00 = a - b * 7 - c * 7 + 16;\
-    /* b*15 + c*15 can overflow: it's easier to just branch away in this rare case
+    /* b*15 + c*15 can overflow: it's easier to just branch away in this rare case\
      * than to try to consider it in the asm. */\
     if( BIT_DEPTH > 8 && (i00 > 0x7fff || abs(b) > 1092 || abs(c) > 1092) )\
         x264_predict_16x16_p_c( src );\


=====================================
encoder/rdo.c
=====================================
@@ -767,7 +767,7 @@ int quant_trellis_cabac( x264_t *h, dctcoef *dct,
         if( !quant_coefs[i] )\
         {\
             /* no need to calculate ssd of 0s: it's the same in all nodes.\
-             * no need to modify level_tree for ctx=0: it starts with an infinite loop of 0s.
+             * no need to modify level_tree for ctx=0: it starts with an infinite loop of 0s.\
              * subtracting from one score is equivalent to adding to the rest. */\
             if( !ctx_hi )\
             {\



View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/e0fee7b2ff057bf1823e50c458d76d6964ab7b21

-- 
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/e0fee7b2ff057bf1823e50c458d76d6964ab7b21
You're receiving this email because of your account on code.videolan.org.




More information about the x264-devel mailing list