ref: c42d54c3a3a356b41ae83970db86966f5e4526d8
parent: 18e53642b75a97c985f48aa786ec6564f2daf331
author: clang-format <[email protected]>
date: Sat Jul 23 06:55:44 EDT 2016
vp8/postproc.c: disable clang-format for RGB_TO_YUV Change-Id: Id2a936301ec1e3d5648b4f8adbf4e6625002589d
--- a/vp8/common/postproc.c
+++ b/vp8/common/postproc.c
@@ -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