mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Merge commit 'acd2b8e42df25d46440583f93c12e5f285aebb31'
* commit 'acd2b8e42df25d46440583f93c12e5f285aebb31': rnd_avg.h: K&R formatting cosmetics Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
3a27f968f9
@ -25,14 +25,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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user