]> granicus.if.org Git - libvpx/commitdiff
Fix bad merge artifacts
authorYaowu Xu <yaowu@google.com>
Fri, 5 Feb 2016 15:50:57 +0000 (07:50 -0800)
committerYaowu Xu <yaowu@google.com>
Fri, 5 Feb 2016 17:04:41 +0000 (09:04 -0800)
Temporaly disable warning for unused function for vp10, needs clean
out the warnings before re-enable the flag for vp10.

Change-Id: I5636f8cd607423f6ea6963db9c2cbd688e30b495

configure
vp10/decoder/decodeframe.c
vpx_dsp/intrapred.c

index c93c22cb4042e46aa910d5cb1da5f785a375e35b..322be7c0737e7d683e56b3d9a053362e68808365 100755 (executable)
--- a/configure
+++ b/configure
@@ -611,7 +611,7 @@ process_toolchain() {
           ;;
           *) check_add_cflags -Wunused-but-set-variable ;;
         esac
-        if enabled mips || [ -z "${INLINE}" ]; then
+        if enabled mips || [ -z "${INLINE}" ] || enabled vp10; then
           enabled extra_warnings || check_add_cflags -Wno-unused-function
         else
           check_add_cflags -Wunused-function
index 48b1217927f50f802e04869235ea1e2a83a88038..19364c976333e71d5063914d1c58f3c7cb8ae1a1 100644 (file)
@@ -862,7 +862,7 @@ static void dec_build_inter_predictors_sb(VP10Decoder *const pbi,
     }
   }
 }
-
+#if CONFIG_SUPERTX
 static void dec_build_inter_predictors_sb_sub8x8(VP10Decoder *const pbi,
                                                  MACROBLOCKD *xd,
                                                  int mi_row, int mi_col,
@@ -905,7 +905,7 @@ static void dec_build_inter_predictors_sb_sub8x8(VP10Decoder *const pbi,
     }
   }
 }
-
+#endif
 static INLINE TX_SIZE dec_get_uv_tx_size(const MB_MODE_INFO *mbmi,
                                          int n4_wl, int n4_hl) {
   // get minimum log2 num4x4s dimension
@@ -2024,7 +2024,7 @@ static void setup_bool_decoder(const uint8_t *data,
     vpx_internal_error(error_info, VPX_CODEC_MEM_ERROR,
                        "Failed to allocate bool decoder %d", 1);
 }
-
+#if CONFIG_ANS
 static void setup_token_decoder(const uint8_t *data,
                                 const uint8_t *data_end,
                                 const size_t read_size,
@@ -2045,6 +2045,7 @@ static void setup_token_decoder(const uint8_t *data,
     vpx_internal_error(error_info, VPX_CODEC_MEM_ERROR,
                        "Failed to allocate token decoder %d", 1);
 }
+#endif
 
 static void read_coef_probs_common(vp10_coeff_probs_model *coef_probs,
                                    vpx_reader *r) {
index cbb2d8df1b857e7125eb4b60712fd14610a0c38b..18bcd87f2852892837c162f46c130aaf1da5fa7c 100644 (file)
@@ -528,7 +528,6 @@ static INLINE void highbd_d207_predictor(uint16_t *dst, ptrdiff_t stride,
   }
 }
 
-#if CONFIG_MISC_FIXES
 static INLINE void highbd_d207e_predictor(uint16_t *dst, ptrdiff_t stride,
                                           int bs, const uint16_t *above,
                                           const uint16_t *left, int bd) {
@@ -545,7 +544,6 @@ static INLINE void highbd_d207e_predictor(uint16_t *dst, ptrdiff_t stride,
     dst += stride;
   }
 }
-#endif  // CONFIG_MISC_FIXES
 
 static INLINE void highbd_d63_predictor(uint16_t *dst, ptrdiff_t stride,
                                         int bs, const uint16_t *above,
@@ -581,7 +579,6 @@ static INLINE void highbd_d45_predictor(uint16_t *dst, ptrdiff_t stride, int bs,
   }
 }
 
-#if CONFIG_MISC_FIXES
 static INLINE void highbd_d45e_predictor(uint16_t *dst, ptrdiff_t stride,
                                          int bs, const uint16_t *above,
                                          const uint16_t *left, int bd) {
@@ -596,7 +593,6 @@ static INLINE void highbd_d45e_predictor(uint16_t *dst, ptrdiff_t stride,
     dst += stride;
   }
 }
-#endif  // CONFIG_MISC_FIXES
 
 static INLINE void highbd_d117_predictor(uint16_t *dst, ptrdiff_t stride,
                                          int bs, const uint16_t *above,