Lines Matching refs:pitches
134 img->pitches[0] = w; in vlVaCreateImage()
136 img->pitches[1] = w; in vlVaCreateImage()
144 img->pitches[0] = w * 2; in vlVaCreateImage()
146 img->pitches[1] = w * 2; in vlVaCreateImage()
154 img->pitches[0] = w; in vlVaCreateImage()
156 img->pitches[1] = w / 2; in vlVaCreateImage()
158 img->pitches[2] = w / 2; in vlVaCreateImage()
167 img->pitches[0] = w * 2; in vlVaCreateImage()
177 img->pitches[0] = w * 4; in vlVaCreateImage()
294 img->pitches[0] = stride > 0 ? stride : w * 2; in vlVaDeriveImage()
295 assert(img->pitches[0] >= (w * 2)); in vlVaDeriveImage()
296 img->data_size = img->pitches[0] * h; in vlVaDeriveImage()
303 img->pitches[0] = stride > 0 ? stride : w * 4; in vlVaDeriveImage()
304 assert(img->pitches[0] >= (w * 4)); in vlVaDeriveImage()
305 img->data_size = img->pitches[0] * h; in vlVaDeriveImage()
351 img->pitches[0] = stride > 0 ? stride : w; in vlVaDeriveImage()
352 img->pitches[1] = stride > 0 ? stride : w; in vlVaDeriveImage()
435 unsigned pitches[3], i, j; in vlVaGetImage() local
512 pitches[i] = vaimage->pitches[i]; in vlVaGetImage()
520 tmp_p = pitches[1]; in vlVaGetImage()
521 pitches[1] = pitches[2]; in vlVaGetImage()
522 pitches[2] = tmp_p; in vlVaGetImage()
549 u_copy_nv12_to_yv12(data, pitches, i, j, in vlVaGetImage()
553 util_copy_rect(data[i] + pitches[i] * j, in vlVaGetImage()
555 pitches[i] * views[i]->texture->array_size, 0, 0, in vlVaGetImage()
578 unsigned pitches[3], i, j; in vlVaPutImage() local
646 pitches[i] = vaimage->pitches[i]; in vlVaPutImage()
654 tmp_p = pitches[1]; in vlVaPutImage()
655 pitches[1] = pitches[2]; in vlVaPutImage()
656 pitches[2] = tmp_p; in vlVaPutImage()
687 u_copy_nv12_from_yv12((const void * const*) data, pitches, i, j, in vlVaPutImage()
694 data[i] + pitches[i] * j, in vlVaPutImage()
695 pitches[i] * views[i]->texture->array_size, 0); in vlVaPutImage()