]> granicus.if.org Git - libvpx/commitdiff
Merge experiment "widerlpf"
authorYaowu Xu <yaowu@google.com>
Mon, 14 Jan 2013 20:11:06 +0000 (12:11 -0800)
committerYaowu Xu <yaowu@google.com>
Mon, 14 Jan 2013 23:17:35 +0000 (15:17 -0800)
Change-Id: I0c94475075e66e13cfe4c20fab7db6474441ae86

configure
vp9/common/vp9_loopfilter.c
vp9/common/vp9_loopfilter_filters.c
vp9/common/vp9_rtcd_defs.sh
vp9/common/x86/vp9_loopfilter_x86.c

index 4f0ae55e112c8dceb32d63fff51a1e55eeeaaf53..b6cf2752ee62178d0dac25dbf90fe12d9f6fd342 100755 (executable)
--- a/configure
+++ b/configure
@@ -250,7 +250,6 @@ EXPERIMENT_LIST="
     cnvcontext
     newcoefcontext
     enable_6tap
-    widerlpf
     abovesprefmv
 "
 CONFIG_LIST="
index 54658ebc5d06988b9ff7cd4ab8830a64830766d9..7633887a3b8f8fb7e4612eb38f14303e388755be 100644 (file)
@@ -252,12 +252,10 @@ void vp9_loop_filter_frame(VP9_COMMON *cm,
                 (sb_mb_lf_skip(mode_info_context - 1, mode_info_context) ||
                  tx_size >= TX_32X32))
               ) {
-#if CONFIG_WIDERLPF
             if (tx_size >= TX_16X16)
               vp9_lpf_mbv_w(y_ptr, u_ptr, v_ptr, post->y_stride,
                             post->uv_stride, &lfi);
             else
-#endif
               vp9_loop_filter_mbv(y_ptr, u_ptr, v_ptr, post->y_stride,
                                   post->uv_stride, &lfi);
           }
@@ -281,12 +279,10 @@ void vp9_loop_filter_frame(VP9_COMMON *cm,
                 (sb_mb_lf_skip(mode_info_context - mis, mode_info_context) ||
                 tx_size >= TX_32X32))
               ) {
-#if CONFIG_WIDERLPF
             if (tx_size >= TX_16X16)
               vp9_lpf_mbh_w(y_ptr, u_ptr, v_ptr, post->y_stride,
                             post->uv_stride, &lfi);
             else
-#endif
               vp9_loop_filter_mbh(y_ptr, u_ptr, v_ptr, post->y_stride,
                                   post->uv_stride, &lfi);
           }
index 1566abf9b6c040997dc875845aaedac542d721d2..fbce50d05398c081457a5b3814174630c729b6ae 100644 (file)
@@ -481,7 +481,6 @@ void vp9_loop_filter_bvs_c(uint8_t *y_ptr, int y_stride,
   vp9_loop_filter_simple_vertical_edge_c(y_ptr + 12, y_stride, blimit);
 }
 
-#if CONFIG_WIDERLPF
 static __inline void wide_mbfilter(int8_t mask, uint8_t hev,
                                    uint8_t flat, uint8_t flat2,
                                    uint8_t *op7, uint8_t *op6, uint8_t *op5,
@@ -720,4 +719,3 @@ void vp9_lpf_mbh_w_c(unsigned char *y_ptr, unsigned char *u_ptr,
                                         lfi->mblim, lfi->lim, lfi->hev_thr, 1);
 }
 
-#endif
index d8517bbfa9638ac52e5ef9550771d08848466fdf..fdffa2f6eea68d7b9d42eb17cec7b19db6269001 100644 (file)
@@ -233,13 +233,11 @@ vp9_loop_filter_simple_bh_c=vp9_loop_filter_bhs_c
 vp9_loop_filter_simple_bh_mmx=vp9_loop_filter_bhs_mmx
 vp9_loop_filter_simple_bh_sse2=vp9_loop_filter_bhs_sse2
 
-if [ "$CONFIG_WIDERLPF" = "yes" ]; then
 prototype void vp9_lpf_mbh_w "unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi"
 specialize vp9_lpf_mbh_w sse2
 
 prototype void vp9_lpf_mbv_w "unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi"
 specialize vp9_lpf_mbv_w sse2
-fi
 
 #
 # post proc
index 19388c2876fda491c40091b9fe665f0f56f9d58d..e73850dd9fe6480af93a93ce1f34b9619b7e562a 100644 (file)
@@ -86,7 +86,6 @@ void vp9_loop_filter_bvs_mmx(unsigned char *y_ptr, int y_stride,
 
 #if HAVE_SSE2
 
-#if CONFIG_WIDERLPF
 void vp9_mb_lpf_horizontal_edge_w_sse2(unsigned char *s,
                                        int p,
                                        const unsigned char *_blimit,
@@ -559,7 +558,6 @@ void vp9_mb_lpf_horizontal_edge_w_sse2(unsigned char *s,
     }
   }
 }
-#endif
 
 void vp9_mbloop_filter_horizontal_edge_sse2(unsigned char *s,
                                             int p,
@@ -1038,7 +1036,6 @@ void vp9_mbloop_filter_vertical_edge_sse2(unsigned char *s,
   transpose(src, 16, dst, p, 2);
 }
 
-#if CONFIG_WIDERLPF
 void vp9_mb_lpf_vertical_edge_w_sse2(unsigned char *s,
                                           int p,
                                           const unsigned char *blimit,
@@ -1069,7 +1066,7 @@ void vp9_mb_lpf_vertical_edge_w_sse2(unsigned char *s,
   /* Transpose 16x16 */
   transpose(src, 16, dst, p, 4);
 }
-#endif
+
 
 void vp9_mbloop_filter_vertical_edge_uv_sse2(unsigned char *u,
                                              int p,
@@ -1113,7 +1110,7 @@ void vp9_loop_filter_mbh_sse2(unsigned char *y_ptr,
                                               lfi->lim, lfi->hev_thr, v_ptr);
 }
 
-#if CONFIG_WIDERLPF
+
 void vp9_lpf_mbh_w_sse2(unsigned char *y_ptr, unsigned char *u_ptr,
                            unsigned char *v_ptr, int y_stride, int uv_stride,
                            struct loop_filter_info *lfi) {
@@ -1125,7 +1122,7 @@ void vp9_lpf_mbh_w_sse2(unsigned char *y_ptr, unsigned char *u_ptr,
     vp9_mbloop_filter_horizontal_edge_uv_sse2(u_ptr, uv_stride, lfi->mblim,
                                               lfi->lim, lfi->hev_thr, v_ptr);
 }
-#endif
+
 
 void vp9_loop_filter_bh8x8_sse2(unsigned char *y_ptr, unsigned char *u_ptr,
                              unsigned char *v_ptr, int y_stride, int uv_stride,
@@ -1152,7 +1149,7 @@ void vp9_loop_filter_mbv_sse2(unsigned char *y_ptr, unsigned char *u_ptr,
                                             lfi->lim, lfi->hev_thr, v_ptr);
 }
 
-#if CONFIG_WIDERLPF
+
 void vp9_lpf_mbv_w_sse2(unsigned char *y_ptr, unsigned char *u_ptr,
                    unsigned char *v_ptr, int y_stride, int uv_stride,
                    struct loop_filter_info *lfi) {
@@ -1164,7 +1161,7 @@ void vp9_lpf_mbv_w_sse2(unsigned char *y_ptr, unsigned char *u_ptr,
     vp9_mbloop_filter_vertical_edge_uv_sse2(u_ptr, uv_stride, lfi->mblim,
                                             lfi->lim, lfi->hev_thr, v_ptr);
 }
-#endif
+
 
 void vp9_loop_filter_bv8x8_sse2(unsigned char *y_ptr, unsigned char *u_ptr,
                              unsigned char *v_ptr, int y_stride, int uv_stride,