]> granicus.if.org Git - libvpx/commitdiff
vp9: Removed unused skin detection function.
authorJerome Jiang <jianj@google.com>
Tue, 18 Jul 2017 21:52:04 +0000 (14:52 -0700)
committerJerome Jiang <jianj@google.com>
Tue, 18 Jul 2017 21:52:04 +0000 (14:52 -0700)
Change-Id: I6702b7b11aa4ac9aac5fd54deef4377cdcb29c64

vp9/encoder/vp9_skin_detection.c
vp9/encoder/vp9_skin_detection.h

index 9a80a2c700eaab1369b72ce35ac4daecd0f9e39b..cc6c9677670f4182bba6c74d3421ee152681b1d5 100644 (file)
@@ -126,18 +126,6 @@ void vp9_compute_skin_sb(VP9_COMP *const cpi, BLOCK_SIZE bsize, int mi_row,
   }
 }
 
-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) {
index c24d691b2f75f030bc139868c84f70e4d4e3b37f..8880bff466af1b0a8449803ebf3a48c3cfd86c41 100644 (file)
@@ -28,8 +28,6 @@ int vp9_compute_skin_block(const uint8_t *y, const uint8_t *u, const uint8_t *v,
 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);