aboutsummaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_skin_detection.h
diff options
context:
space:
mode:
authorMarco <marpan@google.com>2016-01-04 16:48:15 -0800
committerMarco <marpan@google.com>2016-01-04 16:58:06 -0800
commita8b7c6aad3113745a391e3c24721ffe36f07e8d4 (patch)
tree7146df5ac0a20d3caf43fac0d93bf25d1d6be7ea /vp9/encoder/vp9_skin_detection.h
parente5dfca02a9c15b26a97e58dbf7be37420f1d51b4 (diff)
downloadlibvpx-a8b7c6aad3113745a391e3c24721ffe36f07e8d4.tar.gz
vp9-skin detection: Refactoring.
Add function to compute skin map for a given block, as its used in several places (cyclic refresh, noise estimation, and denoising). Change-Id: Ied622908df43b6927f7fafc6c019d1867f2a24eb
Diffstat (limited to 'vp9/encoder/vp9_skin_detection.h')
-rw-r--r--vp9/encoder/vp9_skin_detection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_skin_detection.h b/vp9/encoder/vp9_skin_detection.h
index 0a87ef9f4..73f7c39d9 100644
--- a/vp9/encoder/vp9_skin_detection.h
+++ b/vp9/encoder/vp9_skin_detection.h
@@ -23,6 +23,9 @@ struct VP9_COMP;
int vp9_skin_pixel(const uint8_t y, const uint8_t cb, const uint8_t cr);
+int vp9_compute_skin_block(const uint8_t *y, const uint8_t *u, const uint8_t *v,
+ int stride, int strideuv, int bsize);
+
#ifdef OUTPUT_YUV_SKINMAP
// For viewing skin map on input source.
void vp9_compute_skin_map(struct VP9_COMP *const cpi, FILE *yuv_skinmap_file);