[FFmpeg-cvslog] Merge commit 'a92fd8a06256e71a0be87b03751ec3c2a4a8aa21'
Clément Bœsch
git at videolan.org
Tue Jan 31 17:05:24 EET 2017
ffmpeg | branch: master | Clément Bœsch <cboesch at gopro.com> | Tue Jan 31 15:55:35 2017 +0100| [a604115f72ad0d77b69193989bbe16174135129d] | committer: Clément Bœsch
Merge commit 'a92fd8a06256e71a0be87b03751ec3c2a4a8aa21'
* commit 'a92fd8a06256e71a0be87b03751ec3c2a4a8aa21':
hevc: Add DC IDCT
Noop, only spacing adjusted.
Merged-by: Clément Bœsch <cboesch at gopro.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a604115f72ad0d77b69193989bbe16174135129d
---
libavcodec/hevcdsp_template.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/libavcodec/hevcdsp_template.c b/libavcodec/hevcdsp_template.c
index ae32dcc..1dbd47a 100644
--- a/libavcodec/hevcdsp_template.c
+++ b/libavcodec/hevcdsp_template.c
@@ -263,19 +263,19 @@ static void FUNC(idct_ ## H ## x ## H )(int16_t *coeffs, \
} \
}
-#define IDCT_DC(H) \
-static void FUNC(idct_##H ##x ##H ##_dc)( \
- int16_t *coeffs) { \
- int i, j; \
- int shift = 14 - BIT_DEPTH; \
- int add = 1 << (shift - 1); \
- int coeff = (((coeffs[0] + 1) >> 1) + add) >> shift; \
- \
- for (j = 0; j < H; j++) { \
- for (i = 0; i < H; i++) { \
- coeffs[i+j*H] = coeff; \
- } \
- } \
+#define IDCT_DC(H) \
+static void FUNC(idct_ ## H ## x ## H ## _dc)(int16_t *coeffs) \
+{ \
+ int i, j; \
+ int shift = 14 - BIT_DEPTH; \
+ int add = 1 << (shift - 1); \
+ int coeff = (((coeffs[0] + 1) >> 1) + add) >> shift; \
+ \
+ for (j = 0; j < H; j++) { \
+ for (i = 0; i < H; i++) { \
+ coeffs[i + j * H] = coeff; \
+ } \
+ } \
}
IDCT( 4)
======================================================================
More information about the ffmpeg-cvslog
mailing list