shithub: libvpx

Download patch

ref: 494188505b124bcf258bcd8ceda4548a2b9a068f
parent: 4702bb26be21d4a9ec129c89e711ebf79265033e
parent: 45266446154183dd62a1f1d84345e884ceca9287
author: Jerome Jiang <jianj@google.com>
date: Thu Jul 20 12:58:01 EDT 2017

Merge "vp9: Removed unused skin detection function."

--- a/vp9/encoder/vp9_skin_detection.c
+++ b/vp9/encoder/vp9_skin_detection.c
@@ -126,18 +126,6 @@
   }
 }
 
-void vp9_compute_skin_map(VP9_COMP *const cpi, BLOCK_SIZE bsize) {
-  int mi_row, mi_col;
-  VP9_COMMON *const cm = &cpi->common;
-  // Loop through blocks and set skin map based on center pixel of block.
-  // Ignore rightmost/bottom boundary blocks.
-  for (mi_row = 0; mi_row < cm->mi_rows - 1; mi_row += MI_BLOCK_SIZE) {
-    for (mi_col = 0; mi_col < cm->mi_cols - 1; mi_col += MI_BLOCK_SIZE) {
-      vp9_compute_skin_sb(cpi, bsize, mi_row, mi_col);
-    }
-  }
-}
-
 #ifdef OUTPUT_YUV_SKINMAP
 // For viewing skin map on input source.
 void vp9_output_skin_map(VP9_COMP *const cpi, FILE *yuv_skinmap_file) {
--- a/vp9/encoder/vp9_skin_detection.h
+++ b/vp9/encoder/vp9_skin_detection.h
@@ -28,8 +28,6 @@
 void vp9_compute_skin_sb(struct VP9_COMP *const cpi, BLOCK_SIZE bsize,
                          int mi_row, int mi_col);
 
-void vp9_compute_skin_map(struct VP9_COMP *const cpi, BLOCK_SIZE bsize);
-
 #ifdef OUTPUT_YUV_SKINMAP
 // For viewing skin map on input source.
 void vp9_output_skin_map(struct VP9_COMP *const cpi, FILE *yuv_skinmap_file);