summaryrefslogtreecommitdiff
path: root/vp10/encoder/skin_detection.c
diff options
context:
space:
mode:
Diffstat (limited to 'vp10/encoder/skin_detection.c')
-rw-r--r--vp10/encoder/skin_detection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vp10/encoder/skin_detection.c b/vp10/encoder/skin_detection.c
index 5923eca8a..9aac477a8 100644
--- a/vp10/encoder/skin_detection.c
+++ b/vp10/encoder/skin_detection.c
@@ -61,10 +61,10 @@ void vp10_compute_skin_map(VP10_COMP *const cpi, FILE *yuv_skinmap_file) {
const int src_uvstride = cpi->Source->uv_stride;
YV12_BUFFER_CONFIG skinmap;
memset(&skinmap, 0, sizeof(YV12_BUFFER_CONFIG));
- if (vp9_alloc_frame_buffer(&skinmap, cm->width, cm->height,
+ if (vpx_alloc_frame_buffer(&skinmap, cm->width, cm->height,
cm->subsampling_x, cm->subsampling_y,
VP9_ENC_BORDER_IN_PIXELS, cm->byte_alignment)) {
- vp9_free_frame_buffer(&skinmap);
+ vpx_free_frame_buffer(&skinmap);
return;
}
memset(skinmap.buffer_alloc, 128, skinmap.frame_size);
@@ -99,6 +99,6 @@ void vp10_compute_skin_map(VP10_COMP *const cpi, FILE *yuv_skinmap_file) {
src_v += (src_uvstride << 2) - ((cm->mi_cols - 1) << 2);
}
vp10_write_yuv_frame_420(&skinmap, yuv_skinmap_file);
- vp9_free_frame_buffer(&skinmap);
+ vpx_free_frame_buffer(&skinmap);
}
#endif