summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-12-21 17:10:22 +0100
committerDiego Biurrun <diego@biurrun.de>2014-03-13 08:15:50 -0700
commitacd2b8e42df25d46440583f93c12e5f285aebb31 (patch)
treeef1528d8442ac66ba1c2129f4bb303b094d92675
parent05563ccacc98fd185affdbf8cbaf094caf36b852 (diff)
downloadffmpeg-acd2b8e42df25d46440583f93c12e5f285aebb31.tar.gz
rnd_avg.h: K&R formatting cosmetics
-rw-r--r--libavcodec/rnd_avg.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/libavcodec/rnd_avg.h b/libavcodec/rnd_avg.h
index 73015787e2..8feac286c0 100644
--- a/libavcodec/rnd_avg.h
+++ b/libavcodec/rnd_avg.h
@@ -22,14 +22,16 @@
#include <stddef.h>
#include <stdint.h>
-#define CALL_2X_PIXELS(a, b, n)\
-static void a(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h){\
- b(block , pixels , line_size, h);\
- b(block+n, pixels+n, line_size, h);\
+#define CALL_2X_PIXELS(a, b, n) \
+static void a(uint8_t *block, const uint8_t *pixels, \
+ ptrdiff_t line_size, int h) \
+{ \
+ b(block, pixels, line_size, h); \
+ b(block + n, pixels + n, line_size, h); \
}
-#define BYTE_VEC32(c) ((c)*0x01010101UL)
-#define BYTE_VEC64(c) ((c)*0x0001000100010001UL)
+#define BYTE_VEC32(c) ((c) * 0x01010101UL)
+#define BYTE_VEC64(c) ((c) * 0x0001000100010001UL)
static inline uint32_t rnd_avg32(uint32_t a, uint32_t b)
{