Lines Matching refs:border
61 vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, int border)
65 int yplane_size = (height + 2 * border) * (width + 2 * border);
66 int uvplane_size = (height / 2 + border) * (width / 2 + border);
74 ybf->y_stride = width + 2 * border;
78 ybf->uv_stride = ybf->uv_width + border;
80 ybf->border = border;
90 ybf->y_buffer = ybf->buffer_alloc + border * ybf->y_stride + border;
91 ybf->u_buffer = ybf->buffer_alloc + yplane_size + border / 2 * ybf->uv_stride + border / 2;
92 ybf->v_buffer = ybf->buffer_alloc + yplane_size + uvplane_size + border / 2 * ybf->uv_stride + border / 2;
111 extend_memset(ybf->y_buffer, 0x0, ybf->y_stride *(ybf->y_height + 2 * ybf->border));
112 extend_memset(ybf->u_buffer, 0x80, ybf->uv_stride *(ybf->uv_height + ybf->border));
113 extend_memset(ybf->v_buffer, 0x80, ybf->uv_stride *(ybf->uv_height + ybf->border));