Lines Matching refs:buffer_alloc
36 vpx_free(ybf->buffer_alloc); in vp8_yv12_de_alloc_frame_buffer()
65 if (!ybf->buffer_alloc) { in vp8_yv12_realloc_frame_buffer()
66 ybf->buffer_alloc = (uint8_t *)vpx_memalign(32, frame_size); in vp8_yv12_realloc_frame_buffer()
67 if (!ybf->buffer_alloc) { in vp8_yv12_realloc_frame_buffer()
76 memset(ybf->buffer_alloc, 0, frame_size); in vp8_yv12_realloc_frame_buffer()
110 ybf->y_buffer = ybf->buffer_alloc + (border * y_stride) + border; in vp8_yv12_realloc_frame_buffer()
112 ybf->buffer_alloc + yplane_size + (border / 2 * uv_stride) + border / 2; in vp8_yv12_realloc_frame_buffer()
113 ybf->v_buffer = ybf->buffer_alloc + yplane_size + uvplane_size + in vp8_yv12_realloc_frame_buffer()
138 vpx_free(ybf->buffer_alloc); in vpx_free_frame_buffer()
221 ybf->buffer_alloc = (uint8_t *)yv12_align_addr(fb->data, 32); in vpx_realloc_frame_buffer()
228 memset(ybf->buffer_alloc, 0, (size_t)frame_size); in vpx_realloc_frame_buffer()
233 vpx_free(ybf->buffer_alloc); in vpx_realloc_frame_buffer()
234 ybf->buffer_alloc = NULL; in vpx_realloc_frame_buffer()
237 ybf->buffer_alloc = (uint8_t *)vpx_memalign(32, (size_t)frame_size); in vpx_realloc_frame_buffer()
238 if (!ybf->buffer_alloc) return -1; in vpx_realloc_frame_buffer()
245 memset(ybf->buffer_alloc, 0, ybf->buffer_alloc_sz); in vpx_realloc_frame_buffer()
265 buf = ybf->buffer_alloc; in vpx_realloc_frame_buffer()
269 buf = CONVERT_TO_BYTEPTR(ybf->buffer_alloc); in vpx_realloc_frame_buffer()