projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e5364
)
vp8/postproc.c: disable clang-format for RGB_TO_YUV
author
clang-format
<noreply@google.com>
Sat, 23 Jul 2016 17:55:44 +0000
(10:55 -0700)
committer
James Zern
<jzern@google.com>
Sat, 23 Jul 2016 17:55:44 +0000
(10:55 -0700)
Change-Id: Id2a936301ec1e3d5648b4f8adbf4e6625002589d
vp8/common/postproc.c
patch
|
blob
|
history
diff --git
a/vp8/common/postproc.c
b/vp8/common/postproc.c
index
b0e89ee
..
c3d9265
100644
(file)
--- 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