Lines Matching full:width
189 unsigned char *v_mem, unsigned int width, in fill_smpte_yuv_planar() argument
228 for (x = 0; x < width; ++x) in fill_smpte_yuv_planar()
229 y_mem[x] = colors_top[x * 7 / width].y; in fill_smpte_yuv_planar()
234 for (x = 0; x < width; ++x) in fill_smpte_yuv_planar()
235 y_mem[x] = colors_middle[x * 7 / width].y; in fill_smpte_yuv_planar()
240 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_yuv_planar()
241 y_mem[x] = colors_bottom[x * 4 / (width * 5 / 7)].y; in fill_smpte_yuv_planar()
242 for (; x < width * 6 / 7; ++x) in fill_smpte_yuv_planar()
243 y_mem[x] = colors_bottom[(x - width * 5 / 7) * 3 in fill_smpte_yuv_planar()
244 / (width / 7) + 4].y; in fill_smpte_yuv_planar()
245 for (; x < width; ++x) in fill_smpte_yuv_planar()
252 for (x = 0; x < width; x += xsub) { in fill_smpte_yuv_planar()
253 u_mem[x*cs/xsub] = colors_top[x * 7 / width].u; in fill_smpte_yuv_planar()
254 v_mem[x*cs/xsub] = colors_top[x * 7 / width].v; in fill_smpte_yuv_planar()
261 for (x = 0; x < width; x += xsub) { in fill_smpte_yuv_planar()
262 u_mem[x*cs/xsub] = colors_middle[x * 7 / width].u; in fill_smpte_yuv_planar()
263 v_mem[x*cs/xsub] = colors_middle[x * 7 / width].v; in fill_smpte_yuv_planar()
270 for (x = 0; x < width * 5 / 7; x += xsub) { in fill_smpte_yuv_planar()
272 colors_bottom[x * 4 / (width * 5 / 7)].u; in fill_smpte_yuv_planar()
274 colors_bottom[x * 4 / (width * 5 / 7)].v; in fill_smpte_yuv_planar()
276 for (; x < width * 6 / 7; x += xsub) { in fill_smpte_yuv_planar()
277 u_mem[x*cs/xsub] = colors_bottom[(x - width * 5 / 7) * in fill_smpte_yuv_planar()
278 3 / (width / 7) + 4].u; in fill_smpte_yuv_planar()
279 v_mem[x*cs/xsub] = colors_bottom[(x - width * 5 / 7) * in fill_smpte_yuv_planar()
280 3 / (width / 7) + 4].v; in fill_smpte_yuv_planar()
282 for (; x < width; x += xsub) { in fill_smpte_yuv_planar()
307 unsigned int width, in fill_smpte_yuv_planar_10bpp() argument
348 for (x = 0; x < width; x += 4) in fill_smpte_yuv_planar_10bpp()
350 colors_top[(x+0) * 7 / width].y << 2, in fill_smpte_yuv_planar_10bpp()
351 colors_top[(x+1) * 7 / width].y << 2, in fill_smpte_yuv_planar_10bpp()
352 colors_top[(x+2) * 7 / width].y << 2, in fill_smpte_yuv_planar_10bpp()
353 colors_top[(x+3) * 7 / width].y << 2); in fill_smpte_yuv_planar_10bpp()
358 for (x = 0; x < width; x += 4) in fill_smpte_yuv_planar_10bpp()
360 colors_middle[(x+0) * 7 / width].y << 2, in fill_smpte_yuv_planar_10bpp()
361 colors_middle[(x+1) * 7 / width].y << 2, in fill_smpte_yuv_planar_10bpp()
362 colors_middle[(x+2) * 7 / width].y << 2, in fill_smpte_yuv_planar_10bpp()
363 colors_middle[(x+3) * 7 / width].y << 2); in fill_smpte_yuv_planar_10bpp()
368 for (x = 0; x < width * 5 / 7; x += 4) in fill_smpte_yuv_planar_10bpp()
370 colors_bottom[(x+0) * 4 / (width * 5 / 7)].y << 2, in fill_smpte_yuv_planar_10bpp()
371 colors_bottom[(x+1) * 4 / (width * 5 / 7)].y << 2, in fill_smpte_yuv_planar_10bpp()
372 colors_bottom[(x+2) * 4 / (width * 5 / 7)].y << 2, in fill_smpte_yuv_planar_10bpp()
373 colors_bottom[(x+3) * 4 / (width * 5 / 7)].y << 2); in fill_smpte_yuv_planar_10bpp()
374 for (; x < width * 6 / 7; x += 4) in fill_smpte_yuv_planar_10bpp()
376 colors_bottom[((x+0) - width * 5 / 7) * 3 / (width / 7) + 4].y << 2, in fill_smpte_yuv_planar_10bpp()
377 colors_bottom[((x+1) - width * 5 / 7) * 3 / (width / 7) + 4].y << 2, in fill_smpte_yuv_planar_10bpp()
378 colors_bottom[((x+2) - width * 5 / 7) * 3 / (width / 7) + 4].y << 2, in fill_smpte_yuv_planar_10bpp()
379 colors_bottom[((x+3) - width * 5 / 7) * 3 / (width / 7) + 4].y << 2); in fill_smpte_yuv_planar_10bpp()
380 for (; x < width; x += 4) in fill_smpte_yuv_planar_10bpp()
391 for (x = 0; x < width; x += xstep) in fill_smpte_yuv_planar_10bpp()
393 colors_top[(x+0) * 7 / width].u << 2, in fill_smpte_yuv_planar_10bpp()
394 colors_top[(x+0) * 7 / width].v << 2, in fill_smpte_yuv_planar_10bpp()
395 colors_top[(x+xsub) * 7 / width].u << 2, in fill_smpte_yuv_planar_10bpp()
396 colors_top[(x+xsub) * 7 / width].v << 2); in fill_smpte_yuv_planar_10bpp()
401 for (x = 0; x < width; x += xstep) in fill_smpte_yuv_planar_10bpp()
403 colors_middle[(x+0) * 7 / width].u << 2, in fill_smpte_yuv_planar_10bpp()
404 colors_middle[(x+0) * 7 / width].v << 2, in fill_smpte_yuv_planar_10bpp()
405 colors_middle[(x+xsub) * 7 / width].u << 2, in fill_smpte_yuv_planar_10bpp()
406 colors_middle[(x+xsub) * 7 / width].v << 2); in fill_smpte_yuv_planar_10bpp()
411 for (x = 0; x < width * 5 / 7; x += xstep) in fill_smpte_yuv_planar_10bpp()
413 colors_bottom[(x+0) * 4 / (width * 5 / 7)].u << 2, in fill_smpte_yuv_planar_10bpp()
414 colors_bottom[(x+0) * 4 / (width * 5 / 7)].v << 2, in fill_smpte_yuv_planar_10bpp()
415 colors_bottom[(x+xsub) * 4 / (width * 5 / 7)].u << 2, in fill_smpte_yuv_planar_10bpp()
416 colors_bottom[(x+xsub) * 4 / (width * 5 / 7)].v << 2); in fill_smpte_yuv_planar_10bpp()
417 for (; x < width * 6 / 7; x += xstep) in fill_smpte_yuv_planar_10bpp()
419 colors_bottom[((x+0) - width * 5 / 7) * 3 / (width / 7) + 4].u << 2, in fill_smpte_yuv_planar_10bpp()
420 colors_bottom[((x+0) - width * 5 / 7) * 3 / (width / 7) + 4].v << 2, in fill_smpte_yuv_planar_10bpp()
421 colors_bottom[((x+xsub) - width * 5 / 7) * 3 / (width / 7) + 4].u << 2, in fill_smpte_yuv_planar_10bpp()
422 colors_bottom[((x+xsub) - width * 5 / 7) * 3 / (width / 7) + 4].v << 2); in fill_smpte_yuv_planar_10bpp()
423 for (; x < width; x += xstep) in fill_smpte_yuv_planar_10bpp()
434 unsigned int width, unsigned int height, in fill_smpte_yuv_packed() argument
474 for (x = 0; x < width; ++x) in fill_smpte_yuv_packed()
475 y_mem[2*x] = colors_top[x * 7 / width].y; in fill_smpte_yuv_packed()
480 for (x = 0; x < width; ++x) in fill_smpte_yuv_packed()
481 y_mem[2*x] = colors_middle[x * 7 / width].y; in fill_smpte_yuv_packed()
486 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_yuv_packed()
487 y_mem[2*x] = colors_bottom[x * 4 / (width * 5 / 7)].y; in fill_smpte_yuv_packed()
488 for (; x < width * 6 / 7; ++x) in fill_smpte_yuv_packed()
489 y_mem[2*x] = colors_bottom[(x - width * 5 / 7) * 3 in fill_smpte_yuv_packed()
490 / (width / 7) + 4].y; in fill_smpte_yuv_packed()
491 for (; x < width; ++x) in fill_smpte_yuv_packed()
498 for (x = 0; x < width; x += 2) { in fill_smpte_yuv_packed()
499 c_mem[2*x+u] = colors_top[x * 7 / width].u; in fill_smpte_yuv_packed()
500 c_mem[2*x+v] = colors_top[x * 7 / width].v; in fill_smpte_yuv_packed()
506 for (x = 0; x < width; x += 2) { in fill_smpte_yuv_packed()
507 c_mem[2*x+u] = colors_middle[x * 7 / width].u; in fill_smpte_yuv_packed()
508 c_mem[2*x+v] = colors_middle[x * 7 / width].v; in fill_smpte_yuv_packed()
514 for (x = 0; x < width * 5 / 7; x += 2) { in fill_smpte_yuv_packed()
515 c_mem[2*x+u] = colors_bottom[x * 4 / (width * 5 / 7)].u; in fill_smpte_yuv_packed()
516 c_mem[2*x+v] = colors_bottom[x * 4 / (width * 5 / 7)].v; in fill_smpte_yuv_packed()
518 for (; x < width * 6 / 7; x += 2) { in fill_smpte_yuv_packed()
519 c_mem[2*x+u] = colors_bottom[(x - width * 5 / 7) * in fill_smpte_yuv_packed()
520 3 / (width / 7) + 4].u; in fill_smpte_yuv_packed()
521 c_mem[2*x+v] = colors_bottom[(x - width * 5 / 7) * in fill_smpte_yuv_packed()
522 3 / (width / 7) + 4].v; in fill_smpte_yuv_packed()
524 for (; x < width; x += 2) { in fill_smpte_yuv_packed()
533 unsigned int width, unsigned int height, in fill_smpte_rgb16() argument
568 for (x = 0; x < width; ++x) in fill_smpte_rgb16()
569 ((uint16_t *)mem)[x] = cpu_to_fb16(colors_top[x * 7 / width]); in fill_smpte_rgb16()
574 for (x = 0; x < width; ++x) in fill_smpte_rgb16()
575 ((uint16_t *)mem)[x] = cpu_to_fb16(colors_middle[x * 7 / width]); in fill_smpte_rgb16()
580 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_rgb16()
582 cpu_to_fb16(colors_bottom[x * 4 / (width * 5 / 7)]); in fill_smpte_rgb16()
583 for (; x < width * 6 / 7; ++x) in fill_smpte_rgb16()
585 cpu_to_fb16(colors_bottom[(x - width * 5 / 7) * 3 in fill_smpte_rgb16()
586 / (width / 7) + 4]); in fill_smpte_rgb16()
587 for (; x < width; ++x) in fill_smpte_rgb16()
594 unsigned int width, unsigned int height, in fill_smpte_rgb24() argument
629 for (x = 0; x < width; ++x) in fill_smpte_rgb24()
631 colors_top[x * 7 / width]; in fill_smpte_rgb24()
636 for (x = 0; x < width; ++x) in fill_smpte_rgb24()
638 colors_middle[x * 7 / width]; in fill_smpte_rgb24()
643 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_rgb24()
645 colors_bottom[x * 4 / (width * 5 / 7)]; in fill_smpte_rgb24()
646 for (; x < width * 6 / 7; ++x) in fill_smpte_rgb24()
648 colors_bottom[(x - width * 5 / 7) * 3 in fill_smpte_rgb24()
649 / (width / 7) + 4]; in fill_smpte_rgb24()
650 for (; x < width; ++x) in fill_smpte_rgb24()
657 unsigned int width, unsigned int height, in fill_smpte_rgb32() argument
692 for (x = 0; x < width; ++x) in fill_smpte_rgb32()
693 ((uint32_t *)mem)[x] = cpu_to_le32(colors_top[x * 7 / width]); in fill_smpte_rgb32()
698 for (x = 0; x < width; ++x) in fill_smpte_rgb32()
699 ((uint32_t *)mem)[x] = cpu_to_le32(colors_middle[x * 7 / width]); in fill_smpte_rgb32()
704 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_rgb32()
706 cpu_to_le32(colors_bottom[x * 4 / (width * 5 / 7)]); in fill_smpte_rgb32()
707 for (; x < width * 6 / 7; ++x) in fill_smpte_rgb32()
709 cpu_to_le32(colors_bottom[(x - width * 5 / 7) * 3 in fill_smpte_rgb32()
710 / (width / 7) + 4]); in fill_smpte_rgb32()
711 for (; x < width; ++x) in fill_smpte_rgb32()
718 unsigned int width, unsigned int height, in fill_smpte_rgb16fp() argument
753 for (x = 0; x < width; ++x) in fill_smpte_rgb16fp()
754 ((uint64_t *)mem)[x] = colors_top[x * 7 / width]; in fill_smpte_rgb16fp()
759 for (x = 0; x < width; ++x) in fill_smpte_rgb16fp()
760 ((uint64_t *)mem)[x] = colors_middle[x * 7 / width]; in fill_smpte_rgb16fp()
765 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_rgb16fp()
767 colors_bottom[x * 4 / (width * 5 / 7)]; in fill_smpte_rgb16fp()
768 for (; x < width * 6 / 7; ++x) in fill_smpte_rgb16fp()
770 colors_bottom[(x - width * 5 / 7) * 3 in fill_smpte_rgb16fp()
771 / (width / 7) + 4]; in fill_smpte_rgb16fp()
772 for (; x < width; ++x) in fill_smpte_rgb16fp()
863 unsigned int width; member
872 static struct fsd *fsd_alloc(unsigned int width) in fsd_alloc() argument
874 unsigned int n = 3 * (width + 1); in fsd_alloc()
877 fsd->width = width; in fsd_alloc()
912 unsigned int width = fsd->width; in fsd_update() local
914 unsigned int n = width + 1; in fsd_update()
917 if (fsd->x == width - 1) { in fsd_update()
936 j = (i + width - 1) % n; in fsd_update()
942 j = (i + width) % n; in fsd_update()
947 fsd->x = (fsd->x + 1) % width; in fsd_update()
981 static void fill_smpte_c1(void *mem, unsigned int width, unsigned int height, in fill_smpte_c1() argument
984 struct fsd *fsd = fsd_alloc(width); in fill_smpte_c1()
989 for (x = 0; x < width; ++x) in fill_smpte_c1()
990 write_color_1(fsd, mem, x, smpte_top[x * 7 / width]); in fill_smpte_c1()
995 for (x = 0; x < width; ++x) in fill_smpte_c1()
996 write_color_1(fsd, mem, x, smpte_middle[x * 7 / width]); in fill_smpte_c1()
1001 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_c1()
1003 smpte_bottom[x * 4 / (width * 5 / 7)]); in fill_smpte_c1()
1004 for (; x < width * 6 / 7; ++x) in fill_smpte_c1()
1006 smpte_bottom[(x - width * 5 / 7) * 3 / in fill_smpte_c1()
1007 (width / 7) + 4]); in fill_smpte_c1()
1008 for (; x < width; ++x) in fill_smpte_c1()
1063 static void fill_smpte_c2(void *mem, unsigned int width, unsigned int height, in fill_smpte_c2() argument
1066 struct fsd *fsd = fsd_alloc(width); in fill_smpte_c2()
1071 width /= 2; in fill_smpte_c2()
1075 for (x = 0; x < width; ++x) in fill_smpte_c2()
1076 write_color_2(fsd, mem, stride, x, smpte_top[x * 7 / width]); in fill_smpte_c2()
1081 for (x = 0; x < width; ++x) in fill_smpte_c2()
1082 write_color_2(fsd, mem, stride, x, smpte_middle[x * 7 / width]); in fill_smpte_c2()
1087 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_c2()
1089 smpte_bottom[x * 4 / (width * 5 / 7)]); in fill_smpte_c2()
1090 for (; x < width * 6 / 7; ++x) in fill_smpte_c2()
1092 smpte_bottom[(x - width * 5 / 7) * 3 / in fill_smpte_c2()
1093 (width / 7) + 4]); in fill_smpte_c2()
1094 for (; x < width; ++x) in fill_smpte_c2()
1110 static void fill_smpte_c4(void *mem, unsigned int width, unsigned int height, in fill_smpte_c4() argument
1117 for (x = 0; x < width; ++x) in fill_smpte_c4()
1118 write_pixel_4(mem, x, smpte_top[x * 7 / width]); in fill_smpte_c4()
1123 for (x = 0; x < width; ++x) in fill_smpte_c4()
1124 write_pixel_4(mem, x, smpte_middle[x * 7 / width]); in fill_smpte_c4()
1129 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_c4()
1131 smpte_bottom[x * 4 / (width * 5 / 7)]); in fill_smpte_c4()
1132 for (; x < width * 6 / 7; ++x) in fill_smpte_c4()
1134 smpte_bottom[(x - width * 5 / 7) * 3 / in fill_smpte_c4()
1135 (width / 7) + 4]); in fill_smpte_c4()
1136 for (; x < width; ++x) in fill_smpte_c4()
1142 static void fill_smpte_c8(void *mem, unsigned int width, unsigned int height, in fill_smpte_c8() argument
1149 for (x = 0; x < width; ++x) in fill_smpte_c8()
1150 ((uint8_t *)mem)[x] = smpte_top[x * 7 / width]; in fill_smpte_c8()
1155 for (x = 0; x < width; ++x) in fill_smpte_c8()
1156 ((uint8_t *)mem)[x] = smpte_middle[x * 7 / width]; in fill_smpte_c8()
1161 for (x = 0; x < width * 5 / 7; ++x) in fill_smpte_c8()
1163 smpte_bottom[x * 4 / (width * 5 / 7)]; in fill_smpte_c8()
1164 for (; x < width * 6 / 7; ++x) in fill_smpte_c8()
1166 smpte_bottom[(x - width * 5 / 7) * 3 in fill_smpte_c8()
1167 / (width / 7) + 4]; in fill_smpte_c8()
1168 for (; x < width; ++x) in fill_smpte_c8()
1192 unsigned int width, unsigned int height, in fill_smpte() argument
1199 return fill_smpte_c1(planes[0], width, height, stride); in fill_smpte()
1201 return fill_smpte_c2(planes[0], width, height, stride); in fill_smpte()
1203 return fill_smpte_c4(planes[0], width, height, stride); in fill_smpte()
1205 return fill_smpte_c8(planes[0], width, height, stride); in fill_smpte()
1210 return fill_smpte_yuv_packed(&info->yuv, planes[0], width, in fill_smpte()
1222 width, height, stride); in fill_smpte()
1228 planes[1], width, height, in fill_smpte()
1233 planes[2], width, height, stride); in fill_smpte()
1237 planes[1], width, height, stride); in fill_smpte()
1260 width, height, stride, in fill_smpte()
1266 width, height, stride); in fill_smpte()
1284 width, height, stride); in fill_smpte()
1291 width, height, stride); in fill_smpte()
1296 static void byteswap_buffer16(void *mem, unsigned int width, unsigned int height, in byteswap_buffer16() argument
1302 for (x = 0; x < width; ++x) in byteswap_buffer16()
1308 static void byteswap_buffer32(void *mem, unsigned int width, unsigned int height, in byteswap_buffer32() argument
1314 for (x = 0; x < width; ++x) in byteswap_buffer32()
1321 static void make_pwetty(void *data, unsigned int width, unsigned int height, in make_pwetty() argument
1360 byteswap_buffer16(data, width, height, stride); in make_pwetty()
1362 byteswap_buffer32(data, width, height, stride); in make_pwetty()
1366 width, height, in make_pwetty()
1372 for (unsigned x = 0; x < width; x += 250) in make_pwetty()
1402 byteswap_buffer16(data, width, height, stride); in make_pwetty()
1404 byteswap_buffer32(data, width, height, stride); in make_pwetty()
1409 unsigned int width) in make_tiles_yuv_color() argument
1411 div_t d = div(x+y, width); in make_tiles_yuv_color()
1422 unsigned char *v_mem, unsigned int width, in fill_tiles_yuv_planar() argument
1433 for (x = 0; x < width; ++x) { in fill_tiles_yuv_planar()
1435 make_tiles_yuv_color(x, y, width); in fill_tiles_yuv_planar()
1453 unsigned int width, in fill_tiles_yuv_planar_10bpp() argument
1466 for (x = 0; x < width; x += 4) { in fill_tiles_yuv_planar_10bpp()
1467 struct color_yuv a = make_tiles_yuv_color(x+0, y, width); in fill_tiles_yuv_planar_10bpp()
1468 struct color_yuv b = make_tiles_yuv_color(x+1, y, width); in fill_tiles_yuv_planar_10bpp()
1469 struct color_yuv c = make_tiles_yuv_color(x+2, y, width); in fill_tiles_yuv_planar_10bpp()
1470 struct color_yuv d = make_tiles_yuv_color(x+3, y, width); in fill_tiles_yuv_planar_10bpp()
1478 for (x = 0; x < width; x += xstep) { in fill_tiles_yuv_planar_10bpp()
1479 struct color_yuv a = make_tiles_yuv_color(x+0, y, width); in fill_tiles_yuv_planar_10bpp()
1480 struct color_yuv b = make_tiles_yuv_color(x+xsub, y, width); in fill_tiles_yuv_planar_10bpp()
1490 void *mem, unsigned int width, in fill_tiles_yuv_packed() argument
1502 for (x = 0; x < width; x += 2) { in fill_tiles_yuv_packed()
1504 make_tiles_yuv_color(x, y, width); in fill_tiles_yuv_packed()
1518 unsigned int width, unsigned int height, in fill_tiles_rgb16() argument
1526 for (x = 0; x < width; ++x) { in fill_tiles_rgb16()
1527 div_t d = div(x+y, width); in fill_tiles_rgb16()
1540 make_pwetty(mem_base, width, height, stride, info->format); in fill_tiles_rgb16()
1544 unsigned int width, unsigned int height, in fill_tiles_rgb24() argument
1551 for (x = 0; x < width; ++x) { in fill_tiles_rgb24()
1552 div_t d = div(x+y, width); in fill_tiles_rgb24()
1566 unsigned int width, unsigned int height, in fill_tiles_rgb32() argument
1574 for (x = 0; x < width; ++x) { in fill_tiles_rgb32()
1575 div_t d = div(x+y, width); in fill_tiles_rgb32()
1578 uint32_t alpha = ((y < height/2) && (x < width/2)) ? 127 : 255; in fill_tiles_rgb32()
1589 make_pwetty(mem_base, width, height, stride, info->format); in fill_tiles_rgb32()
1593 unsigned int width, unsigned int height, in fill_tiles_rgb16fp() argument
1601 for (x = 0; x < width; ++x) { in fill_tiles_rgb16fp()
1602 div_t d = div(x+y, width); in fill_tiles_rgb16fp()
1605 uint32_t alpha = ((y < height/2) && (x < width/2)) ? 127 : 255; in fill_tiles_rgb16fp()
1618 unsigned int width, unsigned int height, in fill_tiles() argument
1629 width, height, stride); in fill_tiles()
1640 width, height, stride); in fill_tiles()
1646 width, height, stride); in fill_tiles()
1650 planes[2], width, height, stride); in fill_tiles()
1654 planes[1], width, height, stride); in fill_tiles()
1677 width, height, stride, in fill_tiles()
1683 width, height, stride); in fill_tiles()
1701 width, height, stride); in fill_tiles()
1708 width, height, stride); in fill_tiles()
1732 unsigned int width, unsigned int height, in fill_gradient_rgb32() argument
1740 for (j = 0; j < width / 2; j++) { in fill_gradient_rgb32()
1750 for (j = 0; j < width / 2; j++) { in fill_gradient_rgb32()
1760 unsigned int width, unsigned int height, in fill_gradient_rgb16fp() argument
1768 for (j = 0; j < width / 2; j++) { in fill_gradient_rgb16fp()
1778 for (j = 0; j < width / 2; j++) { in fill_gradient_rgb16fp()
1812 unsigned int width, unsigned int height, in fill_gradient() argument
1833 width, height, stride); in fill_gradient()
1840 width, height, stride); in fill_gradient()
1849 * @width: Width in pixels
1857 void *planes[3], unsigned int width, in util_fill_pattern() argument
1868 return fill_tiles(info, planes, width, height, stride); in util_fill_pattern()
1871 return fill_smpte(info, planes, width, height, stride); in util_fill_pattern()
1877 return fill_gradient(info, planes, width, height, stride); in util_fill_pattern()