summaryrefslogtreecommitdiff
path: root/vp9/common
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2013-08-12 23:03:47 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2013-08-12 23:03:47 -0700
commit39fe23503209a7ff663583c387ae34b40904cda8 (patch)
tree76b9acfdeaef1717ba20d2f22f9f18b61bc53e43 /vp9/common
parent4417c045315c0d3f8ab565ba813cb9cd48cdc9cd (diff)
parent78136edcdc3f53bc63b58e76ec4b160a2da1a0e3 (diff)
downloadlibvpx-39fe23503209a7ff663583c387ae34b40904cda8.tar
libvpx-39fe23503209a7ff663583c387ae34b40904cda8.tar.gz
libvpx-39fe23503209a7ff663583c387ae34b40904cda8.tar.bz2
libvpx-39fe23503209a7ff663583c387ae34b40904cda8.zip
Merge "SSE2 high precision 32x32 forward DCT"
Diffstat (limited to 'vp9/common')
-rw-r--r--vp9/common/vp9_blockd.h2
-rw-r--r--vp9/common/vp9_idct.h3
-rw-r--r--vp9/common/vp9_rtcd_defs.sh2
3 files changed, 5 insertions, 2 deletions
diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h
index 244885ad2..25b8cf69d 100644
--- a/vp9/common/vp9_blockd.h
+++ b/vp9/common/vp9_blockd.h
@@ -143,7 +143,7 @@ typedef struct {
unsigned char mb_skip_coeff; /* does this mb has coefficients at all, 1=no coefficients, 0=need decode tokens */
unsigned char segment_id; // Segment id for current frame
- // Flags used for prediction status of various bistream signals
+ // Flags used for prediction status of various bit-stream signals
unsigned char seg_id_predicted;
// Indicates if the mb is part of the image (1) vs border (0)
diff --git a/vp9/common/vp9_idct.h b/vp9/common/vp9_idct.h
index 2d959f0ea..0c47da6bd 100644
--- a/vp9/common/vp9_idct.h
+++ b/vp9/common/vp9_idct.h
@@ -27,6 +27,9 @@
#define pair_set_epi16(a, b) \
_mm_set1_epi32(((uint16_t)(a)) + (((uint16_t)(b)) << 16))
+#define pair_set_epi32(a, b) \
+ _mm_set_epi32(b, a, b, a)
+
// Constants:
// for (int i = 1; i< 32; ++i)
// printf("static const int cospi_%d_64 = %.0f;\n", i,
diff --git a/vp9/common/vp9_rtcd_defs.sh b/vp9/common/vp9_rtcd_defs.sh
index 9e8714cb2..c5ae35806 100644
--- a/vp9/common/vp9_rtcd_defs.sh
+++ b/vp9/common/vp9_rtcd_defs.sh
@@ -740,7 +740,7 @@ prototype void vp9_short_fdct8x4 "int16_t *InputData, int16_t *OutputData, int p
specialize vp9_short_fdct8x4 sse2
prototype void vp9_short_fdct32x32 "int16_t *InputData, int16_t *OutputData, int pitch"
-specialize vp9_short_fdct32x32
+specialize vp9_short_fdct32x32 sse2
prototype void vp9_short_fdct32x32_rd "int16_t *InputData, int16_t *OutputData, int pitch"
specialize vp9_short_fdct32x32_rd sse2