summaryrefslogtreecommitdiff
path: root/vpx_dsp
diff options
context:
space:
mode:
authorJohann Koenig <johannkoenig@google.com>2017-06-28 22:34:53 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-06-28 22:34:53 +0000
commit35f8515c3fb76a5264747ed4aa8487476d83e0b1 (patch)
tree1ed18fb8f85cc248f94909d4a6dac1b379513d66 /vpx_dsp
parent8582d33a0d61eaa59401e5cd65985d14791754e3 (diff)
parent5ac88162b9e4648ab35bc1df2d77bd44151ee23a (diff)
downloadlibvpx-35f8515c3fb76a5264747ed4aa8487476d83e0b1.tar
libvpx-35f8515c3fb76a5264747ed4aa8487476d83e0b1.tar.gz
libvpx-35f8515c3fb76a5264747ed4aa8487476d83e0b1.tar.bz2
libvpx-35f8515c3fb76a5264747ed4aa8487476d83e0b1.zip
Merge "partial fdct test"
Diffstat (limited to 'vpx_dsp')
-rw-r--r--vpx_dsp/vpx_dsp_common.h2
-rw-r--r--vpx_dsp/vpx_dsp_rtcd_defs.pl2
2 files changed, 1 insertions, 3 deletions
diff --git a/vpx_dsp/vpx_dsp_common.h b/vpx_dsp/vpx_dsp_common.h
index 49d36e545..e4c60fa18 100644
--- a/vpx_dsp/vpx_dsp_common.h
+++ b/vpx_dsp/vpx_dsp_common.h
@@ -55,7 +55,6 @@ static INLINE double fclamp(double value, double low, double high) {
return value < low ? low : (value > high ? high : value);
}
-#if CONFIG_VP9_HIGHBITDEPTH
static INLINE uint16_t clip_pixel_highbd(int val, int bd) {
switch (bd) {
case 8:
@@ -64,7 +63,6 @@ static INLINE uint16_t clip_pixel_highbd(int val, int bd) {
case 12: return (uint16_t)clamp(val, 0, 4095);
}
}
-#endif // CONFIG_VP9_HIGHBITDEPTH
#ifdef __cplusplus
} // extern "C"
diff --git a/vpx_dsp/vpx_dsp_rtcd_defs.pl b/vpx_dsp/vpx_dsp_rtcd_defs.pl
index 51aa9f637..81729cdf8 100644
--- a/vpx_dsp/vpx_dsp_rtcd_defs.pl
+++ b/vpx_dsp/vpx_dsp_rtcd_defs.pl
@@ -493,7 +493,7 @@ if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
specialize qw/vpx_fdct8x8 neon sse2/;
add_proto qw/void vpx_fdct8x8_1/, "const int16_t *input, tran_low_t *output, int stride";
- specialize qw/vpx_fdct8x8_1 neon sse2/;
+ specialize qw/vpx_fdct8x8_1 neon sse2 msa/;
add_proto qw/void vpx_fdct16x16/, "const int16_t *input, tran_low_t *output, int stride";
specialize qw/vpx_fdct16x16 neon sse2/;