summaryrefslogtreecommitdiff
path: root/vp8/encoder/onyx_if.c
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2012-01-12 16:55:44 -0800
committerJohn Koleszar <jkoleszar@google.com>2012-01-30 12:10:42 -0800
commit510e0ab4679ef76f1d7c5ed1b792f8012444f0cc (patch)
tree46826af7216240c6d633697ac812c0d7892b0ace /vp8/encoder/onyx_if.c
parent83a91e789ccd9fc0a9d05cb4357131ad18ba3b04 (diff)
downloadlibvpx-510e0ab4679ef76f1d7c5ed1b792f8012444f0cc.tar
libvpx-510e0ab4679ef76f1d7c5ed1b792f8012444f0cc.tar.gz
libvpx-510e0ab4679ef76f1d7c5ed1b792f8012444f0cc.tar.bz2
libvpx-510e0ab4679ef76f1d7c5ed1b792f8012444f0cc.zip
RTCD: add FDCT functions
This commit continues the process of converting to the new RTCD system. Change-Id: I3f9c07db65eb206f6363d21bdb80e871570da767
Diffstat (limited to 'vp8/encoder/onyx_if.c')
-rw-r--r--vp8/encoder/onyx_if.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c
index 416d4daa1..5a13a625e 100644
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -141,9 +141,6 @@ extern int inter_uv_modes[4] ;
extern unsigned int inter_b_modes[15];
#endif
-extern void (*vp8_short_fdct4x4)(short *input, short *output, int pitch);
-extern void (*vp8_short_fdct8x4)(short *input, short *output, int pitch);
-
extern const int vp8_bits_per_mb[2][QINDEX_RANGE];
extern const int qrounding_factors[129];
@@ -979,16 +976,17 @@ void vp8_set_speed_features(VP8_COMP *cpi)
if (cpi->sf.improved_dct)
{
- cpi->mb.vp8_short_fdct8x4 = FDCT_INVOKE(&cpi->rtcd.fdct, short8x4);
- cpi->mb.vp8_short_fdct4x4 = FDCT_INVOKE(&cpi->rtcd.fdct, short4x4);
+ cpi->mb.short_fdct8x4 = vp8_short_fdct8x4;
+ cpi->mb.short_fdct4x4 = vp8_short_fdct4x4;
}
else
{
- cpi->mb.vp8_short_fdct8x4 = FDCT_INVOKE(&cpi->rtcd.fdct, fast8x4);
- cpi->mb.vp8_short_fdct4x4 = FDCT_INVOKE(&cpi->rtcd.fdct, fast4x4);
+ /* No fast FDCT defined for any platform at this time. */
+ cpi->mb.short_fdct8x4 = vp8_short_fdct8x4;
+ cpi->mb.short_fdct4x4 = vp8_short_fdct4x4;
}
- cpi->mb.short_walsh4x4 = FDCT_INVOKE(&cpi->rtcd.fdct, walsh_short4x4);
+ cpi->mb.short_walsh4x4 = vp8_short_walsh4x4;
if (cpi->sf.improved_quant)
{