shithub: libvpx

Download patch

ref: e03715fe6ce7b18ba87f54c6fe5ea215abe757ed
parent: f9d5f86643244d8f1f9f64187098baa1a08b6d18
author: Ronald S. Bultje <rbultje@google.com>
date: Fri Oct 12 17:08:03 EDT 2012

Replace vp8_inverse_htransform_b() by direct call to vp8_ihtllm_c().

Change-Id: I55ee7566341b04d7e7340fdab95189f82231a792

--- a/vp8/common/invtrans.c
+++ b/vp8/common/invtrans.c
@@ -31,12 +31,6 @@
 
 }
 
-#if CONFIG_HYBRIDTRANSFORM
-void vp8_inverse_htransform_b(const vp8_idct_rtcd_vtable_t *rtcd, BLOCKD *b, int pitch) {
-  vp8_ihtllm_c(b->dqcoeff, b->diff, pitch, b->bmi.as_mode.tx_type, 4);
-}
-#endif
-
 void vp8_inverse_transform_b(const vp8_idct_rtcd_vtable_t *rtcd, BLOCKD *b, int pitch) {
   if (b->eob <= 1)
     IDCT_INVOKE(rtcd, idct1)(b->dqcoeff, b->diff, pitch);
--- a/vp8/common/invtrans.h
+++ b/vp8/common/invtrans.h
@@ -16,10 +16,6 @@
 #include "idct.h"
 #include "blockd.h"
 
-#if CONFIG_HYBRIDTRANSFORM
-extern void vp8_inverse_htransform_b(const vp8_idct_rtcd_vtable_t *rtcd, BLOCKD *b, int pitch);
-#endif
-
 extern void vp8_inverse_transform_b(const vp8_idct_rtcd_vtable_t *rtcd, BLOCKD *b, int pitch);
 extern void vp8_inverse_transform_mb(const vp8_idct_rtcd_vtable_t *rtcd, MACROBLOCKD *xd);
 extern void vp8_inverse_transform_mby(const vp8_idct_rtcd_vtable_t *rtcd, MACROBLOCKD *xd);
--- a/vp8/encoder/encodeintra.c
+++ b/vp8/encoder/encodeintra.c
@@ -90,7 +90,7 @@
     txfm_map(b, b->bmi.as_mode.first);
     vp8_fht_c(be->src_diff, be->coeff, 32, b->bmi.as_mode.tx_type, 4);
     vp8_ht_quantize_b(be, b);
-    vp8_inverse_htransform_b(IF_RTCD(&rtcd->common->idct), b, 32) ;
+    vp8_ihtllm_c(b->dqcoeff, b->diff, 32, b->bmi.as_mode.tx_type, 4);
   } else {
     x->vp8_short_fdct4x4(be->src_diff, be->coeff, 32) ;
     x->quantize_b(be, b) ;
--