Commit a604115f authored by Clément Bœsch's avatar Clément Bœsch

Merge commit 'a92fd8a0'

* commit 'a92fd8a0':
  hevc: Add DC IDCT

Noop, only spacing adjusted.
Merged-by: 's avatarClément Bœsch <cboesch@gopro.com>
parents 2456efcc a92fd8a0
...@@ -264,8 +264,8 @@ static void FUNC(idct_ ## H ## x ## H )(int16_t *coeffs, \ ...@@ -264,8 +264,8 @@ static void FUNC(idct_ ## H ## x ## H )(int16_t *coeffs, \
} }
#define IDCT_DC(H) \ #define IDCT_DC(H) \
static void FUNC(idct_##H ##x ##H ##_dc)( \ static void FUNC(idct_ ## H ## x ## H ## _dc)(int16_t *coeffs) \
int16_t *coeffs) { \ { \
int i, j; \ int i, j; \
int shift = 14 - BIT_DEPTH; \ int shift = 14 - BIT_DEPTH; \
int add = 1 << (shift - 1); \ int add = 1 << (shift - 1); \
...@@ -273,7 +273,7 @@ static void FUNC(idct_##H ##x ##H ##_dc)( \ ...@@ -273,7 +273,7 @@ static void FUNC(idct_##H ##x ##H ##_dc)( \
\ \
for (j = 0; j < H; j++) { \ for (j = 0; j < H; j++) { \
for (i = 0; i < H; i++) { \ for (i = 0; i < H; i++) { \
coeffs[i+j*H] = coeff; \ coeffs[i + j * H] = coeff; \
} \ } \
} \ } \
} }
......
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