summaryrefslogtreecommitdiff
path: root/vp9/encoder/x86/vp9_x86_csystemdependent.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@google.com>2013-04-10 15:55:59 -0700
committerRonald S. Bultje <rbultje@google.com>2013-04-10 16:50:30 -0700
commitb4f6098ef772e381c174581eca324e9d9ff1b87e (patch)
tree16cd43992c80f9706251432e65dc8b60094212ce /vp9/encoder/x86/vp9_x86_csystemdependent.c
parenta4579e04c9428aa25a6c9d787aa89c1c40493f57 (diff)
downloadlibvpx-b4f6098ef772e381c174581eca324e9d9ff1b87e.tar
libvpx-b4f6098ef772e381c174581eca324e9d9ff1b87e.tar.gz
libvpx-b4f6098ef772e381c174581eca324e9d9ff1b87e.tar.bz2
libvpx-b4f6098ef772e381c174581eca324e9d9ff1b87e.zip
Make RD superblock mode search size-agnostic.
Merge various super_block_yrd and super_block_uvrd versions into one common function that works for all sizes. Make transform size selection size-agnostic also. This fixes a slight bug in the intra UV superblock code where it used the wrong transform size for txsz > 8x8, and stores the txsz selection for superblocks properly (instead of forgetting it). Lastly, it removes the trellis search that was done for 16x16 intra predictors, since trellis is relatively expensive and should thus only be done after RD mode selection. Gives basically identical results on derf (+0.009%). Change-Id: If4485c6f0a0fe4038b3172f7a238477c35a6f8d3
Diffstat (limited to 'vp9/encoder/x86/vp9_x86_csystemdependent.c')
-rw-r--r--vp9/encoder/x86/vp9_x86_csystemdependent.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/vp9/encoder/x86/vp9_x86_csystemdependent.c b/vp9/encoder/x86/vp9_x86_csystemdependent.c
index 9557af119..310f0d99d 100644
--- a/vp9/encoder/x86/vp9_x86_csystemdependent.c
+++ b/vp9/encoder/x86/vp9_x86_csystemdependent.c
@@ -23,13 +23,6 @@ void vp9_short_fdct8x4_mmx(short *input, short *output, int pitch) {
vp9_short_fdct4x4_mmx(input + 4, output + 16, pitch);
}
-int vp9_mbblock_error_mmx_impl(short *coeff_ptr, short *dcoef_ptr);
-int vp9_mbblock_error_mmx(MACROBLOCK *mb) {
- short *coeff_ptr = mb->block[0].coeff;
- short *dcoef_ptr = mb->e_mbd.plane[0].dqcoeff;
- return vp9_mbblock_error_mmx_impl(coeff_ptr, dcoef_ptr);
-}
-
void vp9_subtract_b_mmx_impl(unsigned char *z, int src_stride,
short *diff, unsigned char *predictor,
int pitch);
@@ -44,13 +37,6 @@ void vp9_subtract_b_mmx(BLOCK *be, BLOCKD *bd, int pitch) {
#endif
#if HAVE_SSE2
-int vp9_mbblock_error_xmm_impl(short *coeff_ptr, short *dcoef_ptr);
-int vp9_mbblock_error_xmm(MACROBLOCK *mb) {
- short *coeff_ptr = mb->block[0].coeff;
- short *dcoef_ptr = mb->e_mbd.plane[0].dqcoeff;
- return vp9_mbblock_error_xmm_impl(coeff_ptr, dcoef_ptr);
-}
-
void vp9_subtract_b_sse2_impl(unsigned char *z, int src_stride,
short *diff, unsigned char *predictor,
int pitch);