vp8/postproc.c: disable clang-format for RGB_TO_YUV
authorclang-format <noreply@google.com>
Sat, 23 Jul 2016 17:55:44 +0000 (10:55 -0700)
committerJames Zern <jzern@google.com>
Sat, 23 Jul 2016 17:55:44 +0000 (10:55 -0700)
Change-Id: Id2a936301ec1e3d5648b4f8adbf4e6625002589d

vp8/common/postproc.c

index b0e89ee..c3d9265 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 
+/* clang-format off */
 #define RGB_TO_YUV(t)                                     \
   (unsigned char)((0.257 * (float)(t >> 16)) +            \
                   (0.504 * (float)(t >> 8 & 0xff)) +      \
@@ -34,6 +35,7 @@
   (unsigned char)((0.439 * (float)(t >> 16)) -            \
                   (0.368 * (float)(t >> 8 & 0xff)) -      \
                   (0.071 * (float)(t & 0xff)) + 128)
+/* clang-format on */
 
 /* global constants */
 #if CONFIG_POSTPROC_VISUALIZER