Lines Matching refs:border
46 vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, int border)
50 int yplane_size = (height + 2 * border) * (width + 2 * border);
51 int uvplane_size = ((1 + height) / 2 + border) * ((1 + width) / 2 + border);
59 ybf->y_stride = width + 2 * border;
63 ybf->uv_stride = ybf->uv_width + border;
65 ybf->border = border;
77 ybf->y_buffer = ybf->buffer_alloc + (border * ybf->y_stride) + border;
82 ybf->u_buffer = ybf->buffer_alloc + yplane_size + (border / 2 * ybf->uv_stride) + border / 2;
83 ybf->v_buffer = ybf->buffer_alloc + yplane_size + uvplane_size + (border / 2 * ybf->uv_stride) + border / 2;