Lines Matching defs:pitches
134 img->pitches[0] = w;
136 img->pitches[1] = w;
144 img->pitches[0] = w * 2;
146 img->pitches[1] = w * 2;
154 img->pitches[0] = w;
156 img->pitches[1] = w / 2;
158 img->pitches[2] = w / 2;
167 img->pitches[0] = w * 2;
177 img->pitches[0] = w * 4;
307 img->pitches[0] = stride > 0 ? stride : w * 2;
308 assert(img->pitches[0] >= (w * 2));
309 img->data_size = img->pitches[0] * h;
316 img->pitches[0] = stride > 0 ? stride : w * 4;
317 assert(img->pitches[0] >= (w * 4));
318 img->data_size = img->pitches[0] * h;
330 /* screen->resource_get_info(screen, surfaces[0]->texture, &img->pitches[0],*/
332 img->pitches[0] = stride;
335 screen->resource_get_info(screen, surfaces[1]->texture, &img->pitches[1],
337 if (!img->pitches[1])
369 screen->resource_get_info(screen, surfaces[0]->texture, &img->pitches[0],
371 if (!img->pitches[0])
374 screen->resource_get_info(screen, surfaces[1]->texture, &img->pitches[1],
376 if (!img->pitches[1])
388 img->data_size = (img->pitches[0] * h) + (img->pitches[1] * h / 2);
391 img->pitches[0] = w;
392 img->pitches[1] = w;
478 unsigned pitches[3], i, j;
555 pitches[i] = vaimage->pitches[i];
563 tmp_p = pitches[1];
564 pitches[1] = pitches[2];
565 pitches[2] = tmp_p;
592 u_copy_nv12_to_yv12(data, pitches, i, j,
596 util_copy_rect(data[i] + pitches[i] * j,
598 pitches[i] * views[i]->texture->array_size, 0, 0,
621 unsigned pitches[3], i, j;
689 pitches[i] = vaimage->pitches[i];
697 tmp_p = pitches[1];
698 pitches[1] = pitches[2];
699 pitches[2] = tmp_p;
730 u_copy_nv12_from_yv12((const void * const*) data, pitches, i, j,
737 data[i] + pitches[i] * j,
738 pitches[i] * views[i]->texture->array_size, 0);