[x265-commits] [x265] dct: fix 16bpp, dct primitives are not 16bpp safe
Steve Borho
steve at borho.org
Fri Oct 11 08:48:14 CEST 2013
details: http://hg.videolan.org/x265/rev/c6d89dc62e19
branches:
changeset: 4384:c6d89dc62e19
user: Steve Borho <steve at borho.org>
date: Fri Oct 11 01:47:53 2013 -0500
description:
dct: fix 16bpp, dct primitives are not 16bpp safe
diffstat:
source/common/vec/dct-sse3.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 7134a091a71d -r c6d89dc62e19 source/common/vec/dct-sse3.cpp
--- a/source/common/vec/dct-sse3.cpp Thu Oct 10 17:21:36 2013 -0500
+++ b/source/common/vec/dct-sse3.cpp Fri Oct 11 01:47:53 2013 -0500
@@ -2282,9 +2282,11 @@ void idst4(int *src, short *dst, intptr_
namespace x265 {
void Setup_Vec_DCTPrimitives_sse3(EncoderPrimitives &p)
{
+#if !HIGH_BIT_DEPTH
p.dct[DCT_4x4] = dct4;
p.dct[DCT_16x16] = dct16;
p.dct[DCT_32x32] = dct32;
+#endif
p.idct[IDST_4x4] = idst4;
p.idct[IDCT_4x4] = idct4;
More information about the x265-commits
mailing list