Commit 75cc29a8 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'cce791b1'

* commit 'cce791b1':
  hpeldsp_template: Merge some declarations and initializations

Conflicts:
	libavcodec/hpeldsp_template.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 76d7676f cce791b1
......@@ -133,14 +133,14 @@ static inline void FUNCC(OPNAME ## _pixels2_xy2)(uint8_t *_block, \
ptrdiff_t line_size, \
int h) \
{ \
int i, a0, b0, a1, b1; \
pixel *block = (pixel *) _block; \
const pixel *pixels = (const pixel *) _pixels; \
a0 = pixels[0]; \
b0 = pixels[1] + 2; \
int i, a1, b1; \
int a0 = pixels[0]; \
int b0 = pixels[1] + 2; \
\
a0 += b0; \
b0 += pixels[2]; \
\
line_size >>= sizeof(pixel)-1; \
pixels += line_size; \
for (i = 0; i < h; i += 2) { \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment