Home
last modified time | relevance | path

Searched refs:skinmap (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vp8/common/
Dvp8_skin_detection.c79 YV12_BUFFER_CONFIG skinmap; in vp8_compute_skin_map() local
80 memset(&skinmap, 0, sizeof(skinmap)); in vp8_compute_skin_map()
81 if (vp8_yv12_alloc_frame_buffer(&skinmap, cm->Width, cm->Height, in vp8_compute_skin_map()
83 vpx_free_frame_buffer(&skinmap); in vp8_compute_skin_map()
86 memset(skinmap.buffer_alloc, 128, skinmap.frame_size); in vp8_compute_skin_map()
87 y = skinmap.y_buffer; in vp8_compute_skin_map()
106 vpx_write_yuv_frame(yuv_skinmap_file, &skinmap); in vp8_compute_skin_map()
107 vpx_free_frame_buffer(&skinmap); in vp8_compute_skin_map()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_skin_detection.c141 YV12_BUFFER_CONFIG skinmap; in vp9_output_skin_map() local
142 memset(&skinmap, 0, sizeof(YV12_BUFFER_CONFIG)); in vp9_output_skin_map()
143 if (vpx_alloc_frame_buffer(&skinmap, cm->width, cm->height, cm->subsampling_x, in vp9_output_skin_map()
146 vpx_free_frame_buffer(&skinmap); in vp9_output_skin_map()
149 memset(skinmap.buffer_alloc, 128, skinmap.frame_size); in vp9_output_skin_map()
150 y = skinmap.y_buffer; in vp9_output_skin_map()
171 vpx_write_yuv_frame(yuv_skinmap_file, &skinmap); in vp9_output_skin_map()
172 vpx_free_frame_buffer(&skinmap); in vp9_output_skin_map()