From ae455fabd8e1cac6b3d27b932aba0765c0cfee96 Mon Sep 17 00:00:00 2001
From: James Zern <jzern@google.com>
Date: Tue, 20 Aug 2013 18:06:58 -0700
Subject: [PATCH] vp9 rtcd: remove non-existent sad functions

vp9_sad32x3, vp9_sad3x32

+ remove unnecessary sad include from vp9_findnearmv.c

Change-Id: Idef2a89cadc3fec64eff82ba9be60ffff50b3468
---
 vp9/common/vp9_findnearmv.c | 1 -
 vp9/common/vp9_rtcd_defs.sh | 6 ------
 2 files changed, 7 deletions(-)

diff --git a/vp9/common/vp9_findnearmv.c b/vp9/common/vp9_findnearmv.c
index 939c8c923..27314199a 100644
--- a/vp9/common/vp9_findnearmv.c
+++ b/vp9/common/vp9_findnearmv.c
@@ -12,7 +12,6 @@
 
 #include "vp9/common/vp9_findnearmv.h"
 #include "vp9/common/vp9_mvref_common.h"
-#include "vp9/common/vp9_sadmxn.h"
 
 static void lower_mv_precision(MV *mv, int allow_hp) {
   const int use_hp = allow_hp && vp9_use_mv_hp(mv);
diff --git a/vp9/common/vp9_rtcd_defs.sh b/vp9/common/vp9_rtcd_defs.sh
index aa8088d6d..dd9dbfe00 100644
--- a/vp9/common/vp9_rtcd_defs.sh
+++ b/vp9/common/vp9_rtcd_defs.sh
@@ -343,12 +343,6 @@ specialize vp9_short_iwalsh4x4_1_add
 prototype void vp9_short_iwalsh4x4_add "int16_t *input, uint8_t *dest, int dest_stride"
 specialize vp9_short_iwalsh4x4_add
 
-prototype unsigned int vp9_sad32x3 "const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int ref_stride, int max_sad"
-specialize vp9_sad32x3
-
-prototype unsigned int vp9_sad3x32 "const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int ref_stride, int max_sad"
-specialize vp9_sad3x32
-
 #
 # Encoder functions below this point.
 #
-- 
2.40.0