mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
hpel_template: Drop some unnecessary parentheses
This commit is contained in:
parent
e8eace3276
commit
2972087e39
@ -27,7 +27,7 @@ static inline void FUNCC(OPNAME ## _pixels2)(uint8_t *block, \
|
|||||||
{ \
|
{ \
|
||||||
int i; \
|
int i; \
|
||||||
for (i = 0; i < h; i++) { \
|
for (i = 0; i < h; i++) { \
|
||||||
OP(*((pixel2 *) (block)), AV_RN2P(pixels)); \
|
OP(*((pixel2 *) block), AV_RN2P(pixels)); \
|
||||||
pixels += line_size; \
|
pixels += line_size; \
|
||||||
block += line_size; \
|
block += line_size; \
|
||||||
} \
|
} \
|
||||||
@ -40,7 +40,7 @@ static inline void FUNCC(OPNAME ## _pixels4)(uint8_t *block, \
|
|||||||
{ \
|
{ \
|
||||||
int i; \
|
int i; \
|
||||||
for (i = 0; i < h; i++) { \
|
for (i = 0; i < h; i++) { \
|
||||||
OP(*((pixel4 *) (block)), AV_RN4P(pixels)); \
|
OP(*((pixel4 *) block), AV_RN4P(pixels)); \
|
||||||
pixels += line_size; \
|
pixels += line_size; \
|
||||||
block += line_size; \
|
block += line_size; \
|
||||||
} \
|
} \
|
||||||
@ -53,7 +53,7 @@ static inline void FUNCC(OPNAME ## _pixels8)(uint8_t *block, \
|
|||||||
{ \
|
{ \
|
||||||
int i; \
|
int i; \
|
||||||
for (i = 0; i < h; i++) { \
|
for (i = 0; i < h; i++) { \
|
||||||
OP(*((pixel4 *) (block)), AV_RN4P(pixels)); \
|
OP(*((pixel4 *) block), AV_RN4P(pixels)); \
|
||||||
OP(*((pixel4 *) (block + 4 * sizeof(pixel))), \
|
OP(*((pixel4 *) (block + 4 * sizeof(pixel))), \
|
||||||
AV_RN4P(pixels + 4 * sizeof(pixel))); \
|
AV_RN4P(pixels + 4 * sizeof(pixel))); \
|
||||||
pixels += line_size; \
|
pixels += line_size; \
|
||||||
|
Loading…
Reference in New Issue
Block a user