diff options
author | Jerome Jiang <jianj@google.com> | 2017-06-01 13:46:46 -0700 |
---|---|---|
committer | Jerome Jiang <jianj@google.com> | 2017-06-01 13:46:46 -0700 |
commit | 68f035026fc9d9465a07e61267a3baff288e50c2 (patch) | |
tree | dddab194b82f28352e5fca11e4a05ff41617145a /vp8 | |
parent | e254969df2632954395a2d4b02996a4fef1fa288 (diff) | |
download | libvpx-68f035026fc9d9465a07e61267a3baff288e50c2.tar libvpx-68f035026fc9d9465a07e61267a3baff288e50c2.tar.gz libvpx-68f035026fc9d9465a07e61267a3baff288e50c2.tar.bz2 libvpx-68f035026fc9d9465a07e61267a3baff288e50c2.zip |
vp8 skin detection: Fix visual studio build failure.
Change-Id: I510b755550ebbfa2aaf9b974920d7f1c6454a845
Diffstat (limited to 'vp8')
-rw-r--r-- | vp8/common/skin_detection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vp8/common/skin_detection.c b/vp8/common/skin_detection.c index dd61b8355..4fd2da81e 100644 --- a/vp8/common/skin_detection.c +++ b/vp8/common/skin_detection.c @@ -50,7 +50,7 @@ static int evaluate_skin_color_difference(const int cb, const int cr, } // Checks if the input yCbCr values corresponds to skin color. -int skin_pixel(const int y, const int cb, const int cr, const int motion) { +int skin_pixel(int y, int cb, int cr, int motion) { if (y < y_low || y > y_high) { return 0; } else { @@ -85,8 +85,8 @@ int skin_pixel(const int y, const int cb, const int cr, const int motion) { } int compute_skin_block(const uint8_t *y, const uint8_t *u, const uint8_t *v, - const int stride, const int strideuv, - const int consec_zeromv, const int curr_motion_magn) { + int stride, int strideuv, int consec_zeromv, + int curr_motion_magn) { // No skin if block has been zero/small motion for long consecutive time. if (consec_zeromv > 60 && curr_motion_magn == 0) { return 0; |