Cleanup dead code
Change-Id: I300b45f051e49d54860733d19f722645e6c3cad6
diff --git a/av1/common/warped_motion.c b/av1/common/warped_motion.c
index 02fe24a..1f2473f 100644
--- a/av1/common/warped_motion.c
+++ b/av1/common/warped_motion.c
@@ -281,29 +281,6 @@
}
}
-// 'points' are at original scale, output 'proj's are scaled up by
-// 1 << WARPEDPIXEL_PREC_BITS
-void project_points(const WarpedMotionParams *wm_params, int *points, int *proj,
- const int n, const int stride_points, const int stride_proj,
- const int subsampling_x, const int subsampling_y) {
- switch (wm_params->wmtype) {
- case AFFINE:
- project_points_affine(wm_params->wmmat, points, proj, n, stride_points,
- stride_proj, subsampling_x, subsampling_y);
- break;
- case ROTZOOM:
- project_points_rotzoom(wm_params->wmmat, points, proj, n, stride_points,
- stride_proj, subsampling_x, subsampling_y);
- break;
- case HOMOGRAPHY:
- project_points_homography(wm_params->wmmat, points, proj, n,
- stride_points, stride_proj, subsampling_x,
- subsampling_y);
- break;
- default: assert(0 && "Invalid warped motion type!"); return;
- }
-}
-
static const int16_t
filter_ntap[WARPEDPIXEL_PREC_SHIFTS][WARPEDPIXEL_FILTER_TAPS] = {
#if WARPEDPIXEL_PREC_BITS == 6
diff --git a/av1/common/warped_motion.h b/av1/common/warped_motion.h
index 4d707cf..760f1e3 100644
--- a/av1/common/warped_motion.h
+++ b/av1/common/warped_motion.h
@@ -69,10 +69,6 @@
const int stride_proj, const int subsampling_x,
const int subsampling_y);
-void project_points(const WarpedMotionParams *wm_params, int *points, int *proj,
- const int n, const int stride_points, const int stride_proj,
- const int subsampling_x, const int subsampling_y);
-
// Returns the error between the result of applying motion 'wm' to the frame
// described by 'ref' and the frame described by 'dst'.
int64_t av1_warp_error(WarpedMotionParams *wm,