summaryrefslogtreecommitdiff
path: root/vp8/encoder/x86/x86_csystemdependent.c
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2011-03-24 11:06:36 -0700
committerCode Review <code-review@webmproject.org>2011-03-24 11:06:36 -0700
commitbeaafefcf166950aed700a63f5d40f8b87cc736a (patch)
tree253956eec8b816e8172c9a6d372e52ab038acb1d /vp8/encoder/x86/x86_csystemdependent.c
parent4cde2ab765f8dbbd404487b474052c499f46ad0f (diff)
parent8edaf6e2f232f00de3e3aac1657a31a3effe9a11 (diff)
downloadlibvpx-beaafefcf166950aed700a63f5d40f8b87cc736a.tar
libvpx-beaafefcf166950aed700a63f5d40f8b87cc736a.tar.gz
libvpx-beaafefcf166950aed700a63f5d40f8b87cc736a.tar.bz2
libvpx-beaafefcf166950aed700a63f5d40f8b87cc736a.zip
Merge "use asm_offsets with vp8_regular_quantize_b_sse2"
Diffstat (limited to 'vp8/encoder/x86/x86_csystemdependent.c')
-rw-r--r--vp8/encoder/x86/x86_csystemdependent.c28
1 files changed, 1 insertions, 27 deletions
diff --git a/vp8/encoder/x86/x86_csystemdependent.c b/vp8/encoder/x86/x86_csystemdependent.c
index 8327fad60..2b6bd98eb 100644
--- a/vp8/encoder/x86/x86_csystemdependent.c
+++ b/vp8/encoder/x86/x86_csystemdependent.c
@@ -106,30 +106,6 @@ static void fast_quantize_b_sse2(BLOCK *b, BLOCKD *d)
);
}
-
-int vp8_regular_quantize_b_impl_sse2(short *coeff_ptr, short *zbin_ptr,
- short *qcoeff_ptr,short *dequant_ptr,
- const int *default_zig_zag, short *round_ptr,
- short *quant_ptr, short *dqcoeff_ptr,
- unsigned short zbin_oq_value,
- short *zbin_boost_ptr,
- short *quant_shift_ptr);
-
-static void regular_quantize_b_sse2(BLOCK *b,BLOCKD *d)
-{
- d->eob = vp8_regular_quantize_b_impl_sse2(b->coeff,
- b->zbin,
- d->qcoeff,
- d->dequant,
- vp8_default_zig_zag1d,
- b->round,
- b->quant,
- d->dqcoeff,
- b->zbin_extra,
- b->zrun_zbin_boost,
- b->quant_shift);
-}
-
int vp8_mbblock_error_xmm_impl(short *coeff_ptr, short *dcoef_ptr, int dc);
static int mbblock_error_xmm(MACROBLOCK *mb, int dc)
{
@@ -317,9 +293,7 @@ void vp8_arch_x86_encoder_init(VP8_COMP *cpi)
cpi->rtcd.encodemb.submby = vp8_subtract_mby_sse2;
cpi->rtcd.encodemb.submbuv = vp8_subtract_mbuv_sse2;
-#if ARCH_X86
- cpi->rtcd.quantize.quantb = regular_quantize_b_sse2;
-#endif
+ cpi->rtcd.quantize.quantb = vp8_regular_quantize_b_sse2;
cpi->rtcd.quantize.fastquantb = fast_quantize_b_sse2;
#if !(CONFIG_REALTIME_ONLY)