Lines Matching +full:0 +full:d
2 * Mesa 3-D graphics library
74 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_a8b8g8r8_unorm()
76 uint32_t d = 0; in pack_ubyte_a8b8g8r8_unorm() local
77 d |= PACK(a, 0, 8); in pack_ubyte_a8b8g8r8_unorm()
78 d |= PACK(b, 8, 8); in pack_ubyte_a8b8g8r8_unorm()
79 d |= PACK(g, 16, 8); in pack_ubyte_a8b8g8r8_unorm()
80 d |= PACK(r, 24, 8); in pack_ubyte_a8b8g8r8_unorm()
81 (*(uint32_t *)dst) = d; in pack_ubyte_a8b8g8r8_unorm()
99 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_x8b8g8r8_unorm()
101 uint32_t d = 0; in pack_ubyte_x8b8g8r8_unorm() local
102 d |= PACK(b, 8, 8); in pack_ubyte_x8b8g8r8_unorm()
103 d |= PACK(g, 16, 8); in pack_ubyte_x8b8g8r8_unorm()
104 d |= PACK(r, 24, 8); in pack_ubyte_x8b8g8r8_unorm()
105 (*(uint32_t *)dst) = d; in pack_ubyte_x8b8g8r8_unorm()
114 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_r8g8b8a8_unorm()
128 uint32_t d = 0; in pack_ubyte_r8g8b8a8_unorm() local
129 d |= PACK(r, 0, 8); in pack_ubyte_r8g8b8a8_unorm()
130 d |= PACK(g, 8, 8); in pack_ubyte_r8g8b8a8_unorm()
131 d |= PACK(b, 16, 8); in pack_ubyte_r8g8b8a8_unorm()
132 d |= PACK(a, 24, 8); in pack_ubyte_r8g8b8a8_unorm()
133 (*(uint32_t *)dst) = d; in pack_ubyte_r8g8b8a8_unorm()
142 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_r8g8b8x8_unorm()
153 uint32_t d = 0; in pack_ubyte_r8g8b8x8_unorm() local
154 d |= PACK(r, 0, 8); in pack_ubyte_r8g8b8x8_unorm()
155 d |= PACK(g, 8, 8); in pack_ubyte_r8g8b8x8_unorm()
156 d |= PACK(b, 16, 8); in pack_ubyte_r8g8b8x8_unorm()
157 (*(uint32_t *)dst) = d; in pack_ubyte_r8g8b8x8_unorm()
174 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_b8g8r8a8_unorm()
180 uint32_t d = 0; in pack_ubyte_b8g8r8a8_unorm() local
181 d |= PACK(b, 0, 8); in pack_ubyte_b8g8r8a8_unorm()
182 d |= PACK(g, 8, 8); in pack_ubyte_b8g8r8a8_unorm()
183 d |= PACK(r, 16, 8); in pack_ubyte_b8g8r8a8_unorm()
184 d |= PACK(a, 24, 8); in pack_ubyte_b8g8r8a8_unorm()
185 (*(uint32_t *)dst) = d; in pack_ubyte_b8g8r8a8_unorm()
202 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_b8g8r8x8_unorm()
205 uint32_t d = 0; in pack_ubyte_b8g8r8x8_unorm() local
206 d |= PACK(b, 0, 8); in pack_ubyte_b8g8r8x8_unorm()
207 d |= PACK(g, 8, 8); in pack_ubyte_b8g8r8x8_unorm()
208 d |= PACK(r, 16, 8); in pack_ubyte_b8g8r8x8_unorm()
209 (*(uint32_t *)dst) = d; in pack_ubyte_b8g8r8x8_unorm()
222 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_a8r8g8b8_unorm()
232 uint32_t d = 0; in pack_ubyte_a8r8g8b8_unorm() local
233 d |= PACK(a, 0, 8); in pack_ubyte_a8r8g8b8_unorm()
234 d |= PACK(r, 8, 8); in pack_ubyte_a8r8g8b8_unorm()
235 d |= PACK(g, 16, 8); in pack_ubyte_a8r8g8b8_unorm()
236 d |= PACK(b, 24, 8); in pack_ubyte_a8r8g8b8_unorm()
237 (*(uint32_t *)dst) = d; in pack_ubyte_a8r8g8b8_unorm()
247 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_x8r8g8b8_unorm()
257 uint32_t d = 0; in pack_ubyte_x8r8g8b8_unorm() local
258 d |= PACK(r, 8, 8); in pack_ubyte_x8r8g8b8_unorm()
259 d |= PACK(g, 16, 8); in pack_ubyte_x8r8g8b8_unorm()
260 d |= PACK(b, 24, 8); in pack_ubyte_x8r8g8b8_unorm()
261 (*(uint32_t *)dst) = d; in pack_ubyte_x8r8g8b8_unorm()
278 _mesa_unorm_to_unorm(src[0], 8, 5); in pack_ubyte_b5g6r5_unorm()
280 uint16_t d = 0; in pack_ubyte_b5g6r5_unorm() local
281 d |= PACK(b, 0, 5); in pack_ubyte_b5g6r5_unorm()
282 d |= PACK(g, 5, 6); in pack_ubyte_b5g6r5_unorm()
283 d |= PACK(r, 11, 5); in pack_ubyte_b5g6r5_unorm()
284 (*(uint16_t *)dst) = d; in pack_ubyte_b5g6r5_unorm()
293 _mesa_unorm_to_unorm(src[0], 8, 5); in pack_ubyte_r5g6b5_unorm()
303 uint16_t d = 0; in pack_ubyte_r5g6b5_unorm() local
304 d |= PACK(r, 0, 5); in pack_ubyte_r5g6b5_unorm()
305 d |= PACK(g, 5, 6); in pack_ubyte_r5g6b5_unorm()
306 d |= PACK(b, 11, 5); in pack_ubyte_r5g6b5_unorm()
307 (*(uint16_t *)dst) = d; in pack_ubyte_r5g6b5_unorm()
324 _mesa_unorm_to_unorm(src[0], 8, 4); in pack_ubyte_b4g4r4a4_unorm()
330 uint16_t d = 0; in pack_ubyte_b4g4r4a4_unorm() local
331 d |= PACK(b, 0, 4); in pack_ubyte_b4g4r4a4_unorm()
332 d |= PACK(g, 4, 4); in pack_ubyte_b4g4r4a4_unorm()
333 d |= PACK(r, 8, 4); in pack_ubyte_b4g4r4a4_unorm()
334 d |= PACK(a, 12, 4); in pack_ubyte_b4g4r4a4_unorm()
335 (*(uint16_t *)dst) = d; in pack_ubyte_b4g4r4a4_unorm()
352 _mesa_unorm_to_unorm(src[0], 8, 4); in pack_ubyte_b4g4r4x4_unorm()
355 uint16_t d = 0; in pack_ubyte_b4g4r4x4_unorm() local
356 d |= PACK(b, 0, 4); in pack_ubyte_b4g4r4x4_unorm()
357 d |= PACK(g, 4, 4); in pack_ubyte_b4g4r4x4_unorm()
358 d |= PACK(r, 8, 4); in pack_ubyte_b4g4r4x4_unorm()
359 (*(uint16_t *)dst) = d; in pack_ubyte_b4g4r4x4_unorm()
372 _mesa_unorm_to_unorm(src[0], 8, 4); in pack_ubyte_a4r4g4b4_unorm()
382 uint16_t d = 0; in pack_ubyte_a4r4g4b4_unorm() local
383 d |= PACK(a, 0, 4); in pack_ubyte_a4r4g4b4_unorm()
384 d |= PACK(r, 4, 4); in pack_ubyte_a4r4g4b4_unorm()
385 d |= PACK(g, 8, 4); in pack_ubyte_a4r4g4b4_unorm()
386 d |= PACK(b, 12, 4); in pack_ubyte_a4r4g4b4_unorm()
387 (*(uint16_t *)dst) = d; in pack_ubyte_a4r4g4b4_unorm()
408 _mesa_unorm_to_unorm(src[0], 8, 5); in pack_ubyte_a1b5g5r5_unorm()
410 uint16_t d = 0; in pack_ubyte_a1b5g5r5_unorm() local
411 d |= PACK(a, 0, 1); in pack_ubyte_a1b5g5r5_unorm()
412 d |= PACK(b, 1, 5); in pack_ubyte_a1b5g5r5_unorm()
413 d |= PACK(g, 6, 5); in pack_ubyte_a1b5g5r5_unorm()
414 d |= PACK(r, 11, 5); in pack_ubyte_a1b5g5r5_unorm()
415 (*(uint16_t *)dst) = d; in pack_ubyte_a1b5g5r5_unorm()
433 _mesa_unorm_to_unorm(src[0], 8, 5); in pack_ubyte_x1b5g5r5_unorm()
435 uint16_t d = 0; in pack_ubyte_x1b5g5r5_unorm() local
436 d |= PACK(b, 1, 5); in pack_ubyte_x1b5g5r5_unorm()
437 d |= PACK(g, 6, 5); in pack_ubyte_x1b5g5r5_unorm()
438 d |= PACK(r, 11, 5); in pack_ubyte_x1b5g5r5_unorm()
439 (*(uint16_t *)dst) = d; in pack_ubyte_x1b5g5r5_unorm()
456 _mesa_unorm_to_unorm(src[0], 8, 5); in pack_ubyte_b5g5r5a1_unorm()
462 uint16_t d = 0; in pack_ubyte_b5g5r5a1_unorm() local
463 d |= PACK(b, 0, 5); in pack_ubyte_b5g5r5a1_unorm()
464 d |= PACK(g, 5, 5); in pack_ubyte_b5g5r5a1_unorm()
465 d |= PACK(r, 10, 5); in pack_ubyte_b5g5r5a1_unorm()
466 d |= PACK(a, 15, 1); in pack_ubyte_b5g5r5a1_unorm()
467 (*(uint16_t *)dst) = d; in pack_ubyte_b5g5r5a1_unorm()
484 _mesa_unorm_to_unorm(src[0], 8, 5); in pack_ubyte_b5g5r5x1_unorm()
487 uint16_t d = 0; in pack_ubyte_b5g5r5x1_unorm() local
488 d |= PACK(b, 0, 5); in pack_ubyte_b5g5r5x1_unorm()
489 d |= PACK(g, 5, 5); in pack_ubyte_b5g5r5x1_unorm()
490 d |= PACK(r, 10, 5); in pack_ubyte_b5g5r5x1_unorm()
491 (*(uint16_t *)dst) = d; in pack_ubyte_b5g5r5x1_unorm()
504 _mesa_unorm_to_unorm(src[0], 8, 5); in pack_ubyte_a1r5g5b5_unorm()
514 uint16_t d = 0; in pack_ubyte_a1r5g5b5_unorm() local
515 d |= PACK(a, 0, 1); in pack_ubyte_a1r5g5b5_unorm()
516 d |= PACK(r, 1, 5); in pack_ubyte_a1r5g5b5_unorm()
517 d |= PACK(g, 6, 5); in pack_ubyte_a1r5g5b5_unorm()
518 d |= PACK(b, 11, 5); in pack_ubyte_a1r5g5b5_unorm()
519 (*(uint16_t *)dst) = d; in pack_ubyte_a1r5g5b5_unorm()
528 _mesa_unorm_to_unorm(src[0], 8, 4); in pack_ubyte_l4a4_unorm()
534 uint8_t d = 0; in pack_ubyte_l4a4_unorm() local
535 d |= PACK(l, 0, 4); in pack_ubyte_l4a4_unorm()
536 d |= PACK(a, 4, 4); in pack_ubyte_l4a4_unorm()
537 (*(uint8_t *)dst) = d; in pack_ubyte_l4a4_unorm()
554 _mesa_unorm_to_unorm(src[0], 8, 3); in pack_ubyte_b2g3r3_unorm()
556 uint8_t d = 0; in pack_ubyte_b2g3r3_unorm() local
557 d |= PACK(b, 0, 2); in pack_ubyte_b2g3r3_unorm()
558 d |= PACK(g, 2, 3); in pack_ubyte_b2g3r3_unorm()
559 d |= PACK(r, 5, 3); in pack_ubyte_b2g3r3_unorm()
560 (*(uint8_t *)dst) = d; in pack_ubyte_b2g3r3_unorm()
577 _mesa_unorm_to_unorm(src[0], 8, 10); in pack_ubyte_b10g10r10a2_unorm()
583 uint32_t d = 0; in pack_ubyte_b10g10r10a2_unorm() local
584 d |= PACK(b, 0, 10); in pack_ubyte_b10g10r10a2_unorm()
585 d |= PACK(g, 10, 10); in pack_ubyte_b10g10r10a2_unorm()
586 d |= PACK(r, 20, 10); in pack_ubyte_b10g10r10a2_unorm()
587 d |= PACK(a, 30, 2); in pack_ubyte_b10g10r10a2_unorm()
588 (*(uint32_t *)dst) = d; in pack_ubyte_b10g10r10a2_unorm()
605 _mesa_unorm_to_unorm(src[0], 8, 10); in pack_ubyte_b10g10r10x2_unorm()
608 uint32_t d = 0; in pack_ubyte_b10g10r10x2_unorm() local
609 d |= PACK(b, 0, 10); in pack_ubyte_b10g10r10x2_unorm()
610 d |= PACK(g, 10, 10); in pack_ubyte_b10g10r10x2_unorm()
611 d |= PACK(r, 20, 10); in pack_ubyte_b10g10r10x2_unorm()
612 (*(uint32_t *)dst) = d; in pack_ubyte_b10g10r10x2_unorm()
621 _mesa_unorm_to_unorm(src[0], 8, 10); in pack_ubyte_r10g10b10a2_unorm()
635 uint32_t d = 0; in pack_ubyte_r10g10b10a2_unorm() local
636 d |= PACK(r, 0, 10); in pack_ubyte_r10g10b10a2_unorm()
637 d |= PACK(g, 10, 10); in pack_ubyte_r10g10b10a2_unorm()
638 d |= PACK(b, 20, 10); in pack_ubyte_r10g10b10a2_unorm()
639 d |= PACK(a, 30, 2); in pack_ubyte_r10g10b10a2_unorm()
640 (*(uint32_t *)dst) = d; in pack_ubyte_r10g10b10a2_unorm()
649 _mesa_unorm_to_unorm(src[0], 8, 10); in pack_ubyte_r10g10b10x2_unorm()
660 uint32_t d = 0; in pack_ubyte_r10g10b10x2_unorm() local
661 d |= PACK(r, 0, 10); in pack_ubyte_r10g10b10x2_unorm()
662 d |= PACK(g, 10, 10); in pack_ubyte_r10g10b10x2_unorm()
663 d |= PACK(b, 20, 10); in pack_ubyte_r10g10b10x2_unorm()
664 (*(uint32_t *)dst) = d; in pack_ubyte_r10g10b10x2_unorm()
673 _mesa_unorm_to_unorm(src[0], 8, 3); in pack_ubyte_r3g3b2_unorm()
683 uint8_t d = 0; in pack_ubyte_r3g3b2_unorm() local
684 d |= PACK(r, 0, 3); in pack_ubyte_r3g3b2_unorm()
685 d |= PACK(g, 3, 3); in pack_ubyte_r3g3b2_unorm()
686 d |= PACK(b, 6, 2); in pack_ubyte_r3g3b2_unorm()
687 (*(uint8_t *)dst) = d; in pack_ubyte_r3g3b2_unorm()
708 _mesa_unorm_to_unorm(src[0], 8, 4); in pack_ubyte_a4b4g4r4_unorm()
710 uint16_t d = 0; in pack_ubyte_a4b4g4r4_unorm() local
711 d |= PACK(a, 0, 4); in pack_ubyte_a4b4g4r4_unorm()
712 d |= PACK(b, 4, 4); in pack_ubyte_a4b4g4r4_unorm()
713 d |= PACK(g, 8, 4); in pack_ubyte_a4b4g4r4_unorm()
714 d |= PACK(r, 12, 4); in pack_ubyte_a4b4g4r4_unorm()
715 (*(uint16_t *)dst) = d; in pack_ubyte_a4b4g4r4_unorm()
724 _mesa_unorm_to_unorm(src[0], 8, 4); in pack_ubyte_r4g4b4a4_unorm()
738 uint16_t d = 0; in pack_ubyte_r4g4b4a4_unorm() local
739 d |= PACK(r, 0, 4); in pack_ubyte_r4g4b4a4_unorm()
740 d |= PACK(g, 4, 4); in pack_ubyte_r4g4b4a4_unorm()
741 d |= PACK(b, 8, 4); in pack_ubyte_r4g4b4a4_unorm()
742 d |= PACK(a, 12, 4); in pack_ubyte_r4g4b4a4_unorm()
743 (*(uint16_t *)dst) = d; in pack_ubyte_r4g4b4a4_unorm()
752 _mesa_unorm_to_unorm(src[0], 8, 5); in pack_ubyte_r5g5b5a1_unorm()
766 uint16_t d = 0; in pack_ubyte_r5g5b5a1_unorm() local
767 d |= PACK(r, 0, 5); in pack_ubyte_r5g5b5a1_unorm()
768 d |= PACK(g, 5, 5); in pack_ubyte_r5g5b5a1_unorm()
769 d |= PACK(b, 10, 5); in pack_ubyte_r5g5b5a1_unorm()
770 d |= PACK(a, 15, 1); in pack_ubyte_r5g5b5a1_unorm()
771 (*(uint16_t *)dst) = d; in pack_ubyte_r5g5b5a1_unorm()
792 _mesa_unorm_to_unorm(src[0], 8, 10); in pack_ubyte_a2b10g10r10_unorm()
794 uint32_t d = 0; in pack_ubyte_a2b10g10r10_unorm() local
795 d |= PACK(a, 0, 2); in pack_ubyte_a2b10g10r10_unorm()
796 d |= PACK(b, 2, 10); in pack_ubyte_a2b10g10r10_unorm()
797 d |= PACK(g, 12, 10); in pack_ubyte_a2b10g10r10_unorm()
798 d |= PACK(r, 22, 10); in pack_ubyte_a2b10g10r10_unorm()
799 (*(uint32_t *)dst) = d; in pack_ubyte_a2b10g10r10_unorm()
812 _mesa_unorm_to_unorm(src[0], 8, 10); in pack_ubyte_a2r10g10b10_unorm()
822 uint32_t d = 0; in pack_ubyte_a2r10g10b10_unorm() local
823 d |= PACK(a, 0, 2); in pack_ubyte_a2r10g10b10_unorm()
824 d |= PACK(r, 2, 10); in pack_ubyte_a2r10g10b10_unorm()
825 d |= PACK(g, 12, 10); in pack_ubyte_a2r10g10b10_unorm()
826 d |= PACK(b, 22, 10); in pack_ubyte_a2r10g10b10_unorm()
827 (*(uint32_t *)dst) = d; in pack_ubyte_a2r10g10b10_unorm()
838 uint8_t *d = (uint8_t *)dst; in pack_ubyte_a_unorm8() local
839 d[0] = a; in pack_ubyte_a_unorm8()
850 uint16_t *d = (uint16_t *)dst; in pack_ubyte_a_unorm16() local
851 d[0] = a; in pack_ubyte_a_unorm16()
860 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_l_unorm8()
862 uint8_t *d = (uint8_t *)dst; in pack_ubyte_l_unorm8() local
863 d[0] = l; in pack_ubyte_l_unorm8()
872 _mesa_unorm_to_unorm(src[0], 8, 16); in pack_ubyte_l_unorm16()
874 uint16_t *d = (uint16_t *)dst; in pack_ubyte_l_unorm16() local
875 d[0] = l; in pack_ubyte_l_unorm16()
884 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_la_unorm8()
890 uint8_t *d = (uint8_t *)dst; in pack_ubyte_la_unorm8() local
891 d[0] = l; in pack_ubyte_la_unorm8()
892 d[1] = a; in pack_ubyte_la_unorm8()
901 _mesa_unorm_to_unorm(src[0], 8, 16); in pack_ubyte_la_unorm16()
907 uint16_t *d = (uint16_t *)dst; in pack_ubyte_la_unorm16() local
908 d[0] = l; in pack_ubyte_la_unorm16()
909 d[1] = a; in pack_ubyte_la_unorm16()
918 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_i_unorm8()
920 uint8_t *d = (uint8_t *)dst; in pack_ubyte_i_unorm8() local
921 d[0] = i; in pack_ubyte_i_unorm8()
930 _mesa_unorm_to_unorm(src[0], 8, 16); in pack_ubyte_i_unorm16()
932 uint16_t *d = (uint16_t *)dst; in pack_ubyte_i_unorm16() local
933 d[0] = i; in pack_ubyte_i_unorm16()
942 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_r_unorm8()
944 uint8_t *d = (uint8_t *)dst; in pack_ubyte_r_unorm8() local
945 d[0] = r; in pack_ubyte_r_unorm8()
954 _mesa_unorm_to_unorm(src[0], 8, 16); in pack_ubyte_r_unorm16()
956 uint16_t *d = (uint16_t *)dst; in pack_ubyte_r_unorm16() local
957 d[0] = r; in pack_ubyte_r_unorm16()
966 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_rg_unorm8()
972 uint8_t *d = (uint8_t *)dst; in pack_ubyte_rg_unorm8() local
973 d[0] = r; in pack_ubyte_rg_unorm8()
974 d[1] = g; in pack_ubyte_rg_unorm8()
983 _mesa_unorm_to_unorm(src[0], 8, 16); in pack_ubyte_rg_unorm16()
989 uint16_t *d = (uint16_t *)dst; in pack_ubyte_rg_unorm16() local
990 d[0] = r; in pack_ubyte_rg_unorm16()
991 d[1] = g; in pack_ubyte_rg_unorm16()
1008 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_bgr_unorm8()
1010 uint8_t *d = (uint8_t *)dst; in pack_ubyte_bgr_unorm8() local
1011 d[0] = b; in pack_ubyte_bgr_unorm8()
1012 d[1] = g; in pack_ubyte_bgr_unorm8()
1013 d[2] = r; in pack_ubyte_bgr_unorm8()
1022 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_rgb_unorm8()
1032 uint8_t *d = (uint8_t *)dst; in pack_ubyte_rgb_unorm8() local
1033 d[0] = r; in pack_ubyte_rgb_unorm8()
1034 d[1] = g; in pack_ubyte_rgb_unorm8()
1035 d[2] = b; in pack_ubyte_rgb_unorm8()
1044 _mesa_unorm_to_unorm(src[0], 8, 16); in pack_ubyte_rgba_unorm16()
1058 uint16_t *d = (uint16_t *)dst; in pack_ubyte_rgba_unorm16() local
1059 d[0] = r; in pack_ubyte_rgba_unorm16()
1060 d[1] = g; in pack_ubyte_rgba_unorm16()
1061 d[2] = b; in pack_ubyte_rgba_unorm16()
1062 d[3] = a; in pack_ubyte_rgba_unorm16()
1071 _mesa_unorm_to_unorm(src[0], 8, 16); in pack_ubyte_rgbx_unorm16()
1082 uint16_t *d = (uint16_t *)dst; in pack_ubyte_rgbx_unorm16() local
1083 d[0] = r; in pack_ubyte_rgbx_unorm16()
1084 d[1] = g; in pack_ubyte_rgbx_unorm16()
1085 d[2] = b; in pack_ubyte_rgbx_unorm16()
1106 _mesa_unorm_to_snorm(src[0], 8, 8); in pack_ubyte_a8b8g8r8_snorm()
1108 uint32_t d = 0; in pack_ubyte_a8b8g8r8_snorm() local
1109 d |= PACK(a, 0, 8); in pack_ubyte_a8b8g8r8_snorm()
1110 d |= PACK(b, 8, 8); in pack_ubyte_a8b8g8r8_snorm()
1111 d |= PACK(g, 16, 8); in pack_ubyte_a8b8g8r8_snorm()
1112 d |= PACK(r, 24, 8); in pack_ubyte_a8b8g8r8_snorm()
1113 (*(uint32_t *)dst) = d; in pack_ubyte_a8b8g8r8_snorm()
1131 _mesa_unorm_to_snorm(src[0], 8, 8); in pack_ubyte_x8b8g8r8_snorm()
1133 uint32_t d = 0; in pack_ubyte_x8b8g8r8_snorm() local
1134 d |= PACK(b, 8, 8); in pack_ubyte_x8b8g8r8_snorm()
1135 d |= PACK(g, 16, 8); in pack_ubyte_x8b8g8r8_snorm()
1136 d |= PACK(r, 24, 8); in pack_ubyte_x8b8g8r8_snorm()
1137 (*(uint32_t *)dst) = d; in pack_ubyte_x8b8g8r8_snorm()
1146 _mesa_unorm_to_snorm(src[0], 8, 8); in pack_ubyte_r8g8b8a8_snorm()
1160 uint32_t d = 0; in pack_ubyte_r8g8b8a8_snorm() local
1161 d |= PACK(r, 0, 8); in pack_ubyte_r8g8b8a8_snorm()
1162 d |= PACK(g, 8, 8); in pack_ubyte_r8g8b8a8_snorm()
1163 d |= PACK(b, 16, 8); in pack_ubyte_r8g8b8a8_snorm()
1164 d |= PACK(a, 24, 8); in pack_ubyte_r8g8b8a8_snorm()
1165 (*(uint32_t *)dst) = d; in pack_ubyte_r8g8b8a8_snorm()
1174 _mesa_unorm_to_snorm(src[0], 8, 8); in pack_ubyte_r8g8b8x8_snorm()
1185 uint32_t d = 0; in pack_ubyte_r8g8b8x8_snorm() local
1186 d |= PACK(r, 0, 8); in pack_ubyte_r8g8b8x8_snorm()
1187 d |= PACK(g, 8, 8); in pack_ubyte_r8g8b8x8_snorm()
1188 d |= PACK(b, 16, 8); in pack_ubyte_r8g8b8x8_snorm()
1189 (*(uint32_t *)dst) = d; in pack_ubyte_r8g8b8x8_snorm()
1200 int8_t *d = (int8_t *)dst; in pack_ubyte_a_snorm8() local
1201 d[0] = a; in pack_ubyte_a_snorm8()
1212 int16_t *d = (int16_t *)dst; in pack_ubyte_a_snorm16() local
1213 d[0] = a; in pack_ubyte_a_snorm16()
1222 _mesa_unorm_to_snorm(src[0], 8, 8); in pack_ubyte_l_snorm8()
1224 int8_t *d = (int8_t *)dst; in pack_ubyte_l_snorm8() local
1225 d[0] = l; in pack_ubyte_l_snorm8()
1234 _mesa_unorm_to_snorm(src[0], 8, 16); in pack_ubyte_l_snorm16()
1236 int16_t *d = (int16_t *)dst; in pack_ubyte_l_snorm16() local
1237 d[0] = l; in pack_ubyte_l_snorm16()
1246 _mesa_unorm_to_snorm(src[0], 8, 8); in pack_ubyte_i_snorm8()
1248 int8_t *d = (int8_t *)dst; in pack_ubyte_i_snorm8() local
1249 d[0] = i; in pack_ubyte_i_snorm8()
1258 _mesa_unorm_to_snorm(src[0], 8, 16); in pack_ubyte_i_snorm16()
1260 int16_t *d = (int16_t *)dst; in pack_ubyte_i_snorm16() local
1261 d[0] = i; in pack_ubyte_i_snorm16()
1270 _mesa_unorm_to_snorm(src[0], 8, 8); in pack_ubyte_r_snorm8()
1272 int8_t *d = (int8_t *)dst; in pack_ubyte_r_snorm8() local
1273 d[0] = r; in pack_ubyte_r_snorm8()
1282 _mesa_unorm_to_snorm(src[0], 8, 16); in pack_ubyte_r_snorm16()
1284 int16_t *d = (int16_t *)dst; in pack_ubyte_r_snorm16() local
1285 d[0] = r; in pack_ubyte_r_snorm16()
1294 _mesa_unorm_to_snorm(src[0], 8, 8); in pack_ubyte_la_snorm8()
1300 int8_t *d = (int8_t *)dst; in pack_ubyte_la_snorm8() local
1301 d[0] = l; in pack_ubyte_la_snorm8()
1302 d[1] = a; in pack_ubyte_la_snorm8()
1311 _mesa_unorm_to_snorm(src[0], 8, 16); in pack_ubyte_la_snorm16()
1317 int16_t *d = (int16_t *)dst; in pack_ubyte_la_snorm16() local
1318 d[0] = l; in pack_ubyte_la_snorm16()
1319 d[1] = a; in pack_ubyte_la_snorm16()
1328 _mesa_unorm_to_snorm(src[0], 8, 8); in pack_ubyte_rg_snorm8()
1334 int8_t *d = (int8_t *)dst; in pack_ubyte_rg_snorm8() local
1335 d[0] = r; in pack_ubyte_rg_snorm8()
1336 d[1] = g; in pack_ubyte_rg_snorm8()
1345 _mesa_unorm_to_snorm(src[0], 8, 16); in pack_ubyte_rg_snorm16()
1351 int16_t *d = (int16_t *)dst; in pack_ubyte_rg_snorm16() local
1352 d[0] = r; in pack_ubyte_rg_snorm16()
1353 d[1] = g; in pack_ubyte_rg_snorm16()
1362 _mesa_unorm_to_snorm(src[0], 8, 16); in pack_ubyte_rgb_snorm16()
1372 int16_t *d = (int16_t *)dst; in pack_ubyte_rgb_snorm16() local
1373 d[0] = r; in pack_ubyte_rgb_snorm16()
1374 d[1] = g; in pack_ubyte_rgb_snorm16()
1375 d[2] = b; in pack_ubyte_rgb_snorm16()
1384 _mesa_unorm_to_snorm(src[0], 8, 16); in pack_ubyte_rgba_snorm16()
1398 int16_t *d = (int16_t *)dst; in pack_ubyte_rgba_snorm16() local
1399 d[0] = r; in pack_ubyte_rgba_snorm16()
1400 d[1] = g; in pack_ubyte_rgba_snorm16()
1401 d[2] = b; in pack_ubyte_rgba_snorm16()
1402 d[3] = a; in pack_ubyte_rgba_snorm16()
1411 _mesa_unorm_to_snorm(src[0], 8, 16); in pack_ubyte_rgbx_snorm16()
1422 int16_t *d = (int16_t *)dst; in pack_ubyte_rgbx_snorm16() local
1423 d[0] = r; in pack_ubyte_rgbx_snorm16()
1424 d[1] = g; in pack_ubyte_rgbx_snorm16()
1425 d[2] = b; in pack_ubyte_rgbx_snorm16()
1449 util_format_linear_to_srgb_8unorm(src[0]); in pack_ubyte_a8b8g8r8_srgb()
1451 uint32_t d = 0; in pack_ubyte_a8b8g8r8_srgb() local
1452 d |= PACK(a, 0, 8); in pack_ubyte_a8b8g8r8_srgb()
1453 d |= PACK(b, 8, 8); in pack_ubyte_a8b8g8r8_srgb()
1454 d |= PACK(g, 16, 8); in pack_ubyte_a8b8g8r8_srgb()
1455 d |= PACK(r, 24, 8); in pack_ubyte_a8b8g8r8_srgb()
1456 (*(uint32_t *)dst) = d; in pack_ubyte_a8b8g8r8_srgb()
1476 util_format_linear_to_srgb_8unorm(src[0]); in pack_ubyte_b8g8r8a8_srgb()
1482 uint32_t d = 0; in pack_ubyte_b8g8r8a8_srgb() local
1483 d |= PACK(b, 0, 8); in pack_ubyte_b8g8r8a8_srgb()
1484 d |= PACK(g, 8, 8); in pack_ubyte_b8g8r8a8_srgb()
1485 d |= PACK(r, 16, 8); in pack_ubyte_b8g8r8a8_srgb()
1486 d |= PACK(a, 24, 8); in pack_ubyte_b8g8r8a8_srgb()
1487 (*(uint32_t *)dst) = d; in pack_ubyte_b8g8r8a8_srgb()
1501 util_format_linear_to_srgb_8unorm(src[0]); in pack_ubyte_a8r8g8b8_srgb()
1513 uint32_t d = 0; in pack_ubyte_a8r8g8b8_srgb() local
1514 d |= PACK(a, 0, 8); in pack_ubyte_a8r8g8b8_srgb()
1515 d |= PACK(r, 8, 8); in pack_ubyte_a8r8g8b8_srgb()
1516 d |= PACK(g, 16, 8); in pack_ubyte_a8r8g8b8_srgb()
1517 d |= PACK(b, 24, 8); in pack_ubyte_a8r8g8b8_srgb()
1518 (*(uint32_t *)dst) = d; in pack_ubyte_a8r8g8b8_srgb()
1538 util_format_linear_to_srgb_8unorm(src[0]); in pack_ubyte_b8g8r8x8_srgb()
1541 uint32_t d = 0; in pack_ubyte_b8g8r8x8_srgb() local
1542 d |= PACK(b, 0, 8); in pack_ubyte_b8g8r8x8_srgb()
1543 d |= PACK(g, 8, 8); in pack_ubyte_b8g8r8x8_srgb()
1544 d |= PACK(r, 16, 8); in pack_ubyte_b8g8r8x8_srgb()
1545 (*(uint32_t *)dst) = d; in pack_ubyte_b8g8r8x8_srgb()
1556 util_format_linear_to_srgb_8unorm(src[0]); in pack_ubyte_x8r8g8b8_srgb()
1568 uint32_t d = 0; in pack_ubyte_x8r8g8b8_srgb() local
1569 d |= PACK(r, 8, 8); in pack_ubyte_x8r8g8b8_srgb()
1570 d |= PACK(g, 16, 8); in pack_ubyte_x8r8g8b8_srgb()
1571 d |= PACK(b, 24, 8); in pack_ubyte_x8r8g8b8_srgb()
1572 (*(uint32_t *)dst) = d; in pack_ubyte_x8r8g8b8_srgb()
1582 util_format_linear_to_srgb_8unorm(src[0]); in pack_ubyte_r8g8b8a8_srgb()
1598 uint32_t d = 0; in pack_ubyte_r8g8b8a8_srgb() local
1599 d |= PACK(r, 0, 8); in pack_ubyte_r8g8b8a8_srgb()
1600 d |= PACK(g, 8, 8); in pack_ubyte_r8g8b8a8_srgb()
1601 d |= PACK(b, 16, 8); in pack_ubyte_r8g8b8a8_srgb()
1602 d |= PACK(a, 24, 8); in pack_ubyte_r8g8b8a8_srgb()
1603 (*(uint32_t *)dst) = d; in pack_ubyte_r8g8b8a8_srgb()
1613 util_format_linear_to_srgb_8unorm(src[0]); in pack_ubyte_r8g8b8x8_srgb()
1626 uint32_t d = 0; in pack_ubyte_r8g8b8x8_srgb() local
1627 d |= PACK(r, 0, 8); in pack_ubyte_r8g8b8x8_srgb()
1628 d |= PACK(g, 8, 8); in pack_ubyte_r8g8b8x8_srgb()
1629 d |= PACK(b, 16, 8); in pack_ubyte_r8g8b8x8_srgb()
1630 (*(uint32_t *)dst) = d; in pack_ubyte_r8g8b8x8_srgb()
1651 util_format_linear_to_srgb_8unorm(src[0]); in pack_ubyte_x8b8g8r8_srgb()
1653 uint32_t d = 0; in pack_ubyte_x8b8g8r8_srgb() local
1654 d |= PACK(b, 8, 8); in pack_ubyte_x8b8g8r8_srgb()
1655 d |= PACK(g, 16, 8); in pack_ubyte_x8b8g8r8_srgb()
1656 d |= PACK(r, 24, 8); in pack_ubyte_x8b8g8r8_srgb()
1657 (*(uint32_t *)dst) = d; in pack_ubyte_x8b8g8r8_srgb()
1667 util_format_linear_to_srgb_8unorm(src[0]); in pack_ubyte_r_srgb8()
1669 uint8_t *d = (uint8_t *)dst; in pack_ubyte_r_srgb8() local
1670 d[0] = r; in pack_ubyte_r_srgb8()
1679 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_l_srgb8()
1681 uint8_t *d = (uint8_t *)dst; in pack_ubyte_l_srgb8() local
1682 d[0] = l; in pack_ubyte_l_srgb8()
1691 _mesa_unorm_to_unorm(src[0], 8, 8); in pack_ubyte_la_srgb8()
1697 uint8_t *d = (uint8_t *)dst; in pack_ubyte_la_srgb8() local
1698 d[0] = l; in pack_ubyte_la_srgb8()
1699 d[1] = a; in pack_ubyte_la_srgb8()
1719 util_format_linear_to_srgb_8unorm(src[0]); in pack_ubyte_bgr_srgb8()
1721 uint8_t *d = (uint8_t *)dst; in pack_ubyte_bgr_srgb8() local
1722 d[0] = b; in pack_ubyte_bgr_srgb8()
1723 d[1] = g; in pack_ubyte_bgr_srgb8()
1724 d[2] = r; in pack_ubyte_bgr_srgb8()
1735 uint16_t *d = (uint16_t *)dst; in pack_ubyte_a_float16() local
1736 d[0] = a; in pack_ubyte_a_float16()
1747 float *d = (float *)dst; in pack_ubyte_a_float32() local
1748 d[0] = a; in pack_ubyte_a_float32()
1757 _mesa_unorm_to_half(src[0], 8); in pack_ubyte_l_float16()
1759 uint16_t *d = (uint16_t *)dst; in pack_ubyte_l_float16() local
1760 d[0] = l; in pack_ubyte_l_float16()
1769 _mesa_unorm_to_float(src[0], 8); in pack_ubyte_l_float32()
1771 float *d = (float *)dst; in pack_ubyte_l_float32() local
1772 d[0] = l; in pack_ubyte_l_float32()
1781 _mesa_unorm_to_half(src[0], 8); in pack_ubyte_la_float16()
1787 uint16_t *d = (uint16_t *)dst; in pack_ubyte_la_float16() local
1788 d[0] = l; in pack_ubyte_la_float16()
1789 d[1] = a; in pack_ubyte_la_float16()
1798 _mesa_unorm_to_float(src[0], 8); in pack_ubyte_la_float32()
1804 float *d = (float *)dst; in pack_ubyte_la_float32() local
1805 d[0] = l; in pack_ubyte_la_float32()
1806 d[1] = a; in pack_ubyte_la_float32()
1815 _mesa_unorm_to_half(src[0], 8); in pack_ubyte_i_float16()
1817 uint16_t *d = (uint16_t *)dst; in pack_ubyte_i_float16() local
1818 d[0] = i; in pack_ubyte_i_float16()
1827 _mesa_unorm_to_float(src[0], 8); in pack_ubyte_i_float32()
1829 float *d = (float *)dst; in pack_ubyte_i_float32() local
1830 d[0] = i; in pack_ubyte_i_float32()
1839 _mesa_unorm_to_half(src[0], 8); in pack_ubyte_r_float16()
1841 uint16_t *d = (uint16_t *)dst; in pack_ubyte_r_float16() local
1842 d[0] = r; in pack_ubyte_r_float16()
1851 _mesa_unorm_to_float(src[0], 8); in pack_ubyte_r_float32()
1853 float *d = (float *)dst; in pack_ubyte_r_float32() local
1854 d[0] = r; in pack_ubyte_r_float32()
1863 _mesa_unorm_to_half(src[0], 8); in pack_ubyte_rg_float16()
1869 uint16_t *d = (uint16_t *)dst; in pack_ubyte_rg_float16() local
1870 d[0] = r; in pack_ubyte_rg_float16()
1871 d[1] = g; in pack_ubyte_rg_float16()
1880 _mesa_unorm_to_float(src[0], 8); in pack_ubyte_rg_float32()
1886 float *d = (float *)dst; in pack_ubyte_rg_float32() local
1887 d[0] = r; in pack_ubyte_rg_float32()
1888 d[1] = g; in pack_ubyte_rg_float32()
1897 _mesa_unorm_to_half(src[0], 8); in pack_ubyte_rgb_float16()
1907 uint16_t *d = (uint16_t *)dst; in pack_ubyte_rgb_float16() local
1908 d[0] = r; in pack_ubyte_rgb_float16()
1909 d[1] = g; in pack_ubyte_rgb_float16()
1910 d[2] = b; in pack_ubyte_rgb_float16()
1919 _mesa_unorm_to_float(src[0], 8); in pack_ubyte_rgb_float32()
1929 float *d = (float *)dst; in pack_ubyte_rgb_float32() local
1930 d[0] = r; in pack_ubyte_rgb_float32()
1931 d[1] = g; in pack_ubyte_rgb_float32()
1932 d[2] = b; in pack_ubyte_rgb_float32()
1941 _mesa_unorm_to_half(src[0], 8); in pack_ubyte_rgba_float16()
1955 uint16_t *d = (uint16_t *)dst; in pack_ubyte_rgba_float16() local
1956 d[0] = r; in pack_ubyte_rgba_float16()
1957 d[1] = g; in pack_ubyte_rgba_float16()
1958 d[2] = b; in pack_ubyte_rgba_float16()
1959 d[3] = a; in pack_ubyte_rgba_float16()
1968 _mesa_unorm_to_float(src[0], 8); in pack_ubyte_rgba_float32()
1982 float *d = (float *)dst; in pack_ubyte_rgba_float32() local
1983 d[0] = r; in pack_ubyte_rgba_float32()
1984 d[1] = g; in pack_ubyte_rgba_float32()
1985 d[2] = b; in pack_ubyte_rgba_float32()
1986 d[3] = a; in pack_ubyte_rgba_float32()
1995 _mesa_unorm_to_half(src[0], 8); in pack_ubyte_rgbx_float16()
2006 uint16_t *d = (uint16_t *)dst; in pack_ubyte_rgbx_float16() local
2007 d[0] = r; in pack_ubyte_rgbx_float16()
2008 d[1] = g; in pack_ubyte_rgbx_float16()
2009 d[2] = b; in pack_ubyte_rgbx_float16()
2018 _mesa_unorm_to_float(src[0], 8); in pack_ubyte_rgbx_float32()
2029 float *d = (float *)dst; in pack_ubyte_rgbx_float32() local
2030 d[0] = r; in pack_ubyte_rgbx_float32()
2031 d[1] = g; in pack_ubyte_rgbx_float32()
2032 d[2] = b; in pack_ubyte_rgbx_float32()
2053 _mesa_unsigned_to_unsigned(src[0], 8); in pack_ubyte_a8b8g8r8_uint()
2055 uint32_t d = 0; in pack_ubyte_a8b8g8r8_uint() local
2056 d |= PACK(a, 0, 8); in pack_ubyte_a8b8g8r8_uint()
2057 d |= PACK(b, 8, 8); in pack_ubyte_a8b8g8r8_uint()
2058 d |= PACK(g, 16, 8); in pack_ubyte_a8b8g8r8_uint()
2059 d |= PACK(r, 24, 8); in pack_ubyte_a8b8g8r8_uint()
2060 (*(uint32_t *)dst) = d; in pack_ubyte_a8b8g8r8_uint()
2073 _mesa_unsigned_to_unsigned(src[0], 8); in pack_ubyte_a8r8g8b8_uint()
2083 uint32_t d = 0; in pack_ubyte_a8r8g8b8_uint() local
2084 d |= PACK(a, 0, 8); in pack_ubyte_a8r8g8b8_uint()
2085 d |= PACK(r, 8, 8); in pack_ubyte_a8r8g8b8_uint()
2086 d |= PACK(g, 16, 8); in pack_ubyte_a8r8g8b8_uint()
2087 d |= PACK(b, 24, 8); in pack_ubyte_a8r8g8b8_uint()
2088 (*(uint32_t *)dst) = d; in pack_ubyte_a8r8g8b8_uint()
2097 _mesa_unsigned_to_unsigned(src[0], 8); in pack_ubyte_r8g8b8a8_uint()
2111 uint32_t d = 0; in pack_ubyte_r8g8b8a8_uint() local
2112 d |= PACK(r, 0, 8); in pack_ubyte_r8g8b8a8_uint()
2113 d |= PACK(g, 8, 8); in pack_ubyte_r8g8b8a8_uint()
2114 d |= PACK(b, 16, 8); in pack_ubyte_r8g8b8a8_uint()
2115 d |= PACK(a, 24, 8); in pack_ubyte_r8g8b8a8_uint()
2116 (*(uint32_t *)dst) = d; in pack_ubyte_r8g8b8a8_uint()
2133 _mesa_unsigned_to_unsigned(src[0], 8); in pack_ubyte_b8g8r8a8_uint()
2139 uint32_t d = 0; in pack_ubyte_b8g8r8a8_uint() local
2140 d |= PACK(b, 0, 8); in pack_ubyte_b8g8r8a8_uint()
2141 d |= PACK(g, 8, 8); in pack_ubyte_b8g8r8a8_uint()
2142 d |= PACK(r, 16, 8); in pack_ubyte_b8g8r8a8_uint()
2143 d |= PACK(a, 24, 8); in pack_ubyte_b8g8r8a8_uint()
2144 (*(uint32_t *)dst) = d; in pack_ubyte_b8g8r8a8_uint()
2161 _mesa_unsigned_to_unsigned(src[0], 10); in pack_ubyte_b10g10r10a2_uint()
2167 uint32_t d = 0; in pack_ubyte_b10g10r10a2_uint() local
2168 d |= PACK(b, 0, 10); in pack_ubyte_b10g10r10a2_uint()
2169 d |= PACK(g, 10, 10); in pack_ubyte_b10g10r10a2_uint()
2170 d |= PACK(r, 20, 10); in pack_ubyte_b10g10r10a2_uint()
2171 d |= PACK(a, 30, 2); in pack_ubyte_b10g10r10a2_uint()
2172 (*(uint32_t *)dst) = d; in pack_ubyte_b10g10r10a2_uint()
2181 _mesa_unsigned_to_unsigned(src[0], 10); in pack_ubyte_r10g10b10a2_uint()
2195 uint32_t d = 0; in pack_ubyte_r10g10b10a2_uint() local
2196 d |= PACK(r, 0, 10); in pack_ubyte_r10g10b10a2_uint()
2197 d |= PACK(g, 10, 10); in pack_ubyte_r10g10b10a2_uint()
2198 d |= PACK(b, 20, 10); in pack_ubyte_r10g10b10a2_uint()
2199 d |= PACK(a, 30, 2); in pack_ubyte_r10g10b10a2_uint()
2200 (*(uint32_t *)dst) = d; in pack_ubyte_r10g10b10a2_uint()
2221 _mesa_unsigned_to_unsigned(src[0], 10); in pack_ubyte_a2b10g10r10_uint()
2223 uint32_t d = 0; in pack_ubyte_a2b10g10r10_uint() local
2224 d |= PACK(a, 0, 2); in pack_ubyte_a2b10g10r10_uint()
2225 d |= PACK(b, 2, 10); in pack_ubyte_a2b10g10r10_uint()
2226 d |= PACK(g, 12, 10); in pack_ubyte_a2b10g10r10_uint()
2227 d |= PACK(r, 22, 10); in pack_ubyte_a2b10g10r10_uint()
2228 (*(uint32_t *)dst) = d; in pack_ubyte_a2b10g10r10_uint()
2241 _mesa_unsigned_to_unsigned(src[0], 10); in pack_ubyte_a2r10g10b10_uint()
2251 uint32_t d = 0; in pack_ubyte_a2r10g10b10_uint() local
2252 d |= PACK(a, 0, 2); in pack_ubyte_a2r10g10b10_uint()
2253 d |= PACK(r, 2, 10); in pack_ubyte_a2r10g10b10_uint()
2254 d |= PACK(g, 12, 10); in pack_ubyte_a2r10g10b10_uint()
2255 d |= PACK(b, 22, 10); in pack_ubyte_a2r10g10b10_uint()
2256 (*(uint32_t *)dst) = d; in pack_ubyte_a2r10g10b10_uint()
2273 _mesa_unsigned_to_unsigned(src[0], 5); in pack_ubyte_b5g6r5_uint()
2275 uint16_t d = 0; in pack_ubyte_b5g6r5_uint() local
2276 d |= PACK(b, 0, 5); in pack_ubyte_b5g6r5_uint()
2277 d |= PACK(g, 5, 6); in pack_ubyte_b5g6r5_uint()
2278 d |= PACK(r, 11, 5); in pack_ubyte_b5g6r5_uint()
2279 (*(uint16_t *)dst) = d; in pack_ubyte_b5g6r5_uint()
2288 _mesa_unsigned_to_unsigned(src[0], 5); in pack_ubyte_r5g6b5_uint()
2298 uint16_t d = 0; in pack_ubyte_r5g6b5_uint() local
2299 d |= PACK(r, 0, 5); in pack_ubyte_r5g6b5_uint()
2300 d |= PACK(g, 5, 6); in pack_ubyte_r5g6b5_uint()
2301 d |= PACK(b, 11, 5); in pack_ubyte_r5g6b5_uint()
2302 (*(uint16_t *)dst) = d; in pack_ubyte_r5g6b5_uint()
2319 _mesa_unsigned_to_unsigned(src[0], 3); in pack_ubyte_b2g3r3_uint()
2321 uint8_t d = 0; in pack_ubyte_b2g3r3_uint() local
2322 d |= PACK(b, 0, 2); in pack_ubyte_b2g3r3_uint()
2323 d |= PACK(g, 2, 3); in pack_ubyte_b2g3r3_uint()
2324 d |= PACK(r, 5, 3); in pack_ubyte_b2g3r3_uint()
2325 (*(uint8_t *)dst) = d; in pack_ubyte_b2g3r3_uint()
2334 _mesa_unsigned_to_unsigned(src[0], 3); in pack_ubyte_r3g3b2_uint()
2344 uint8_t d = 0; in pack_ubyte_r3g3b2_uint() local
2345 d |= PACK(r, 0, 3); in pack_ubyte_r3g3b2_uint()
2346 d |= PACK(g, 3, 3); in pack_ubyte_r3g3b2_uint()
2347 d |= PACK(b, 6, 2); in pack_ubyte_r3g3b2_uint()
2348 (*(uint8_t *)dst) = d; in pack_ubyte_r3g3b2_uint()
2369 _mesa_unsigned_to_unsigned(src[0], 4); in pack_ubyte_a4b4g4r4_uint()
2371 uint16_t d = 0; in pack_ubyte_a4b4g4r4_uint() local
2372 d |= PACK(a, 0, 4); in pack_ubyte_a4b4g4r4_uint()
2373 d |= PACK(b, 4, 4); in pack_ubyte_a4b4g4r4_uint()
2374 d |= PACK(g, 8, 4); in pack_ubyte_a4b4g4r4_uint()
2375 d |= PACK(r, 12, 4); in pack_ubyte_a4b4g4r4_uint()
2376 (*(uint16_t *)dst) = d; in pack_ubyte_a4b4g4r4_uint()
2385 _mesa_unsigned_to_unsigned(src[0], 4); in pack_ubyte_r4g4b4a4_uint()
2399 uint16_t d = 0; in pack_ubyte_r4g4b4a4_uint() local
2400 d |= PACK(r, 0, 4); in pack_ubyte_r4g4b4a4_uint()
2401 d |= PACK(g, 4, 4); in pack_ubyte_r4g4b4a4_uint()
2402 d |= PACK(b, 8, 4); in pack_ubyte_r4g4b4a4_uint()
2403 d |= PACK(a, 12, 4); in pack_ubyte_r4g4b4a4_uint()
2404 (*(uint16_t *)dst) = d; in pack_ubyte_r4g4b4a4_uint()
2421 _mesa_unsigned_to_unsigned(src[0], 4); in pack_ubyte_b4g4r4a4_uint()
2427 uint16_t d = 0; in pack_ubyte_b4g4r4a4_uint() local
2428 d |= PACK(b, 0, 4); in pack_ubyte_b4g4r4a4_uint()
2429 d |= PACK(g, 4, 4); in pack_ubyte_b4g4r4a4_uint()
2430 d |= PACK(r, 8, 4); in pack_ubyte_b4g4r4a4_uint()
2431 d |= PACK(a, 12, 4); in pack_ubyte_b4g4r4a4_uint()
2432 (*(uint16_t *)dst) = d; in pack_ubyte_b4g4r4a4_uint()
2445 _mesa_unsigned_to_unsigned(src[0], 4); in pack_ubyte_a4r4g4b4_uint()
2455 uint16_t d = 0; in pack_ubyte_a4r4g4b4_uint() local
2456 d |= PACK(a, 0, 4); in pack_ubyte_a4r4g4b4_uint()
2457 d |= PACK(r, 4, 4); in pack_ubyte_a4r4g4b4_uint()
2458 d |= PACK(g, 8, 4); in pack_ubyte_a4r4g4b4_uint()
2459 d |= PACK(b, 12, 4); in pack_ubyte_a4r4g4b4_uint()
2460 (*(uint16_t *)dst) = d; in pack_ubyte_a4r4g4b4_uint()
2481 _mesa_unsigned_to_unsigned(src[0], 5); in pack_ubyte_a1b5g5r5_uint()
2483 uint16_t d = 0; in pack_ubyte_a1b5g5r5_uint() local
2484 d |= PACK(a, 0, 1); in pack_ubyte_a1b5g5r5_uint()
2485 d |= PACK(b, 1, 5); in pack_ubyte_a1b5g5r5_uint()
2486 d |= PACK(g, 6, 5); in pack_ubyte_a1b5g5r5_uint()
2487 d |= PACK(r, 11, 5); in pack_ubyte_a1b5g5r5_uint()
2488 (*(uint16_t *)dst) = d; in pack_ubyte_a1b5g5r5_uint()
2505 _mesa_unsigned_to_unsigned(src[0], 5); in pack_ubyte_b5g5r5a1_uint()
2511 uint16_t d = 0; in pack_ubyte_b5g5r5a1_uint() local
2512 d |= PACK(b, 0, 5); in pack_ubyte_b5g5r5a1_uint()
2513 d |= PACK(g, 5, 5); in pack_ubyte_b5g5r5a1_uint()
2514 d |= PACK(r, 10, 5); in pack_ubyte_b5g5r5a1_uint()
2515 d |= PACK(a, 15, 1); in pack_ubyte_b5g5r5a1_uint()
2516 (*(uint16_t *)dst) = d; in pack_ubyte_b5g5r5a1_uint()
2529 _mesa_unsigned_to_unsigned(src[0], 5); in pack_ubyte_a1r5g5b5_uint()
2539 uint16_t d = 0; in pack_ubyte_a1r5g5b5_uint() local
2540 d |= PACK(a, 0, 1); in pack_ubyte_a1r5g5b5_uint()
2541 d |= PACK(r, 1, 5); in pack_ubyte_a1r5g5b5_uint()
2542 d |= PACK(g, 6, 5); in pack_ubyte_a1r5g5b5_uint()
2543 d |= PACK(b, 11, 5); in pack_ubyte_a1r5g5b5_uint()
2544 (*(uint16_t *)dst) = d; in pack_ubyte_a1r5g5b5_uint()
2553 _mesa_unsigned_to_unsigned(src[0], 5); in pack_ubyte_r5g5b5a1_uint()
2567 uint16_t d = 0; in pack_ubyte_r5g5b5a1_uint() local
2568 d |= PACK(r, 0, 5); in pack_ubyte_r5g5b5a1_uint()
2569 d |= PACK(g, 5, 5); in pack_ubyte_r5g5b5a1_uint()
2570 d |= PACK(b, 10, 5); in pack_ubyte_r5g5b5a1_uint()
2571 d |= PACK(a, 15, 1); in pack_ubyte_r5g5b5a1_uint()
2572 (*(uint16_t *)dst) = d; in pack_ubyte_r5g5b5a1_uint()
2583 uint8_t *d = (uint8_t *)dst; in pack_ubyte_a_uint8() local
2584 d[0] = a; in pack_ubyte_a_uint8()
2595 uint16_t *d = (uint16_t *)dst; in pack_ubyte_a_uint16() local
2596 d[0] = a; in pack_ubyte_a_uint16()
2607 uint32_t *d = (uint32_t *)dst; in pack_ubyte_a_uint32() local
2608 d[0] = a; in pack_ubyte_a_uint32()
2619 int8_t *d = (int8_t *)dst; in pack_ubyte_a_sint8() local
2620 d[0] = a; in pack_ubyte_a_sint8()
2631 int16_t *d = (int16_t *)dst; in pack_ubyte_a_sint16() local
2632 d[0] = a; in pack_ubyte_a_sint16()
2643 int32_t *d = (int32_t *)dst; in pack_ubyte_a_sint32() local
2644 d[0] = a; in pack_ubyte_a_sint32()
2653 _mesa_unsigned_to_unsigned(src[0], 8); in pack_ubyte_i_uint8()
2655 uint8_t *d = (uint8_t *)dst; in pack_ubyte_i_uint8() local
2656 d[0] = i; in pack_ubyte_i_uint8()
2665 _mesa_unsigned_to_unsigned(src[0], 16); in pack_ubyte_i_uint16()
2667 uint16_t *d = (uint16_t *)dst; in pack_ubyte_i_uint16() local
2668 d[0] = i; in pack_ubyte_i_uint16()
2677 _mesa_unsigned_to_unsigned(src[0], 32); in pack_ubyte_i_uint32()
2679 uint32_t *d = (uint32_t *)dst; in pack_ubyte_i_uint32() local
2680 d[0] = i; in pack_ubyte_i_uint32()
2689 _mesa_unsigned_to_signed(src[0], 8); in pack_ubyte_i_sint8()
2691 int8_t *d = (int8_t *)dst; in pack_ubyte_i_sint8() local
2692 d[0] = i; in pack_ubyte_i_sint8()
2701 _mesa_unsigned_to_signed(src[0], 16); in pack_ubyte_i_sint16()
2703 int16_t *d = (int16_t *)dst; in pack_ubyte_i_sint16() local
2704 d[0] = i; in pack_ubyte_i_sint16()
2713 _mesa_unsigned_to_signed(src[0], 32); in pack_ubyte_i_sint32()
2715 int32_t *d = (int32_t *)dst; in pack_ubyte_i_sint32() local
2716 d[0] = i; in pack_ubyte_i_sint32()
2725 _mesa_unsigned_to_unsigned(src[0], 8); in pack_ubyte_l_uint8()
2727 uint8_t *d = (uint8_t *)dst; in pack_ubyte_l_uint8() local
2728 d[0] = l; in pack_ubyte_l_uint8()
2737 _mesa_unsigned_to_unsigned(src[0], 16); in pack_ubyte_l_uint16()
2739 uint16_t *d = (uint16_t *)dst; in pack_ubyte_l_uint16() local
2740 d[0] = l; in pack_ubyte_l_uint16()
2749 _mesa_unsigned_to_unsigned(src[0], 32); in pack_ubyte_l_uint32()
2751 uint32_t *d = (uint32_t *)dst; in pack_ubyte_l_uint32() local
2752 d[0] = l; in pack_ubyte_l_uint32()
2761 _mesa_unsigned_to_signed(src[0], 8); in pack_ubyte_l_sint8()
2763 int8_t *d = (int8_t *)dst; in pack_ubyte_l_sint8() local
2764 d[0] = l; in pack_ubyte_l_sint8()
2773 _mesa_unsigned_to_signed(src[0], 16); in pack_ubyte_l_sint16()
2775 int16_t *d = (int16_t *)dst; in pack_ubyte_l_sint16() local
2776 d[0] = l; in pack_ubyte_l_sint16()
2785 _mesa_unsigned_to_signed(src[0], 32); in pack_ubyte_l_sint32()
2787 int32_t *d = (int32_t *)dst; in pack_ubyte_l_sint32() local
2788 d[0] = l; in pack_ubyte_l_sint32()
2797 _mesa_unsigned_to_unsigned(src[0], 8); in pack_ubyte_la_uint8()
2803 uint8_t *d = (uint8_t *)dst; in pack_ubyte_la_uint8() local
2804 d[0] = l; in pack_ubyte_la_uint8()
2805 d[1] = a; in pack_ubyte_la_uint8()
2814 _mesa_unsigned_to_unsigned(src[0], 16); in pack_ubyte_la_uint16()
2820 uint16_t *d = (uint16_t *)dst; in pack_ubyte_la_uint16() local
2821 d[0] = l; in pack_ubyte_la_uint16()
2822 d[1] = a; in pack_ubyte_la_uint16()
2831 _mesa_unsigned_to_unsigned(src[0], 32); in pack_ubyte_la_uint32()
2837 uint32_t *d = (uint32_t *)dst; in pack_ubyte_la_uint32() local
2838 d[0] = l; in pack_ubyte_la_uint32()
2839 d[1] = a; in pack_ubyte_la_uint32()
2848 _mesa_unsigned_to_signed(src[0], 8); in pack_ubyte_la_sint8()
2854 int8_t *d = (int8_t *)dst; in pack_ubyte_la_sint8() local
2855 d[0] = l; in pack_ubyte_la_sint8()
2856 d[1] = a; in pack_ubyte_la_sint8()
2865 _mesa_unsigned_to_signed(src[0], 16); in pack_ubyte_la_sint16()
2871 int16_t *d = (int16_t *)dst; in pack_ubyte_la_sint16() local
2872 d[0] = l; in pack_ubyte_la_sint16()
2873 d[1] = a; in pack_ubyte_la_sint16()
2882 _mesa_unsigned_to_signed(src[0], 32); in pack_ubyte_la_sint32()
2888 int32_t *d = (int32_t *)dst; in pack_ubyte_la_sint32() local
2889 d[0] = l; in pack_ubyte_la_sint32()
2890 d[1] = a; in pack_ubyte_la_sint32()
2899 _mesa_unsigned_to_unsigned(src[0], 8); in pack_ubyte_r_uint8()
2901 uint8_t *d = (uint8_t *)dst; in pack_ubyte_r_uint8() local
2902 d[0] = r; in pack_ubyte_r_uint8()
2911 _mesa_unsigned_to_unsigned(src[0], 16); in pack_ubyte_r_uint16()
2913 uint16_t *d = (uint16_t *)dst; in pack_ubyte_r_uint16() local
2914 d[0] = r; in pack_ubyte_r_uint16()
2923 _mesa_unsigned_to_unsigned(src[0], 32); in pack_ubyte_r_uint32()
2925 uint32_t *d = (uint32_t *)dst; in pack_ubyte_r_uint32() local
2926 d[0] = r; in pack_ubyte_r_uint32()
2935 _mesa_unsigned_to_signed(src[0], 8); in pack_ubyte_r_sint8()
2937 int8_t *d = (int8_t *)dst; in pack_ubyte_r_sint8() local
2938 d[0] = r; in pack_ubyte_r_sint8()
2947 _mesa_unsigned_to_signed(src[0], 16); in pack_ubyte_r_sint16()
2949 int16_t *d = (int16_t *)dst; in pack_ubyte_r_sint16() local
2950 d[0] = r; in pack_ubyte_r_sint16()
2959 _mesa_unsigned_to_signed(src[0], 32); in pack_ubyte_r_sint32()
2961 int32_t *d = (int32_t *)dst; in pack_ubyte_r_sint32() local
2962 d[0] = r; in pack_ubyte_r_sint32()
2971 _mesa_unsigned_to_unsigned(src[0], 8); in pack_ubyte_rg_uint8()
2977 uint8_t *d = (uint8_t *)dst; in pack_ubyte_rg_uint8() local
2978 d[0] = r; in pack_ubyte_rg_uint8()
2979 d[1] = g; in pack_ubyte_rg_uint8()
2988 _mesa_unsigned_to_unsigned(src[0], 16); in pack_ubyte_rg_uint16()
2994 uint16_t *d = (uint16_t *)dst; in pack_ubyte_rg_uint16() local
2995 d[0] = r; in pack_ubyte_rg_uint16()
2996 d[1] = g; in pack_ubyte_rg_uint16()
3005 _mesa_unsigned_to_unsigned(src[0], 32); in pack_ubyte_rg_uint32()
3011 uint32_t *d = (uint32_t *)dst; in pack_ubyte_rg_uint32() local
3012 d[0] = r; in pack_ubyte_rg_uint32()
3013 d[1] = g; in pack_ubyte_rg_uint32()
3022 _mesa_unsigned_to_signed(src[0], 8); in pack_ubyte_rg_sint8()
3028 int8_t *d = (int8_t *)dst; in pack_ubyte_rg_sint8() local
3029 d[0] = r; in pack_ubyte_rg_sint8()
3030 d[1] = g; in pack_ubyte_rg_sint8()
3039 _mesa_unsigned_to_signed(src[0], 16); in pack_ubyte_rg_sint16()
3045 int16_t *d = (int16_t *)dst; in pack_ubyte_rg_sint16() local
3046 d[0] = r; in pack_ubyte_rg_sint16()
3047 d[1] = g; in pack_ubyte_rg_sint16()
3056 _mesa_unsigned_to_signed(src[0], 32); in pack_ubyte_rg_sint32()
3062 int32_t *d = (int32_t *)dst; in pack_ubyte_rg_sint32() local
3063 d[0] = r; in pack_ubyte_rg_sint32()
3064 d[1] = g; in pack_ubyte_rg_sint32()
3073 _mesa_unsigned_to_unsigned(src[0], 8); in pack_ubyte_rgb_uint8()
3083 uint8_t *d = (uint8_t *)dst; in pack_ubyte_rgb_uint8() local
3084 d[0] = r; in pack_ubyte_rgb_uint8()
3085 d[1] = g; in pack_ubyte_rgb_uint8()
3086 d[2] = b; in pack_ubyte_rgb_uint8()
3095 _mesa_unsigned_to_unsigned(src[0], 16); in pack_ubyte_rgb_uint16()
3105 uint16_t *d = (uint16_t *)dst; in pack_ubyte_rgb_uint16() local
3106 d[0] = r; in pack_ubyte_rgb_uint16()
3107 d[1] = g; in pack_ubyte_rgb_uint16()
3108 d[2] = b; in pack_ubyte_rgb_uint16()
3117 _mesa_unsigned_to_unsigned(src[0], 32); in pack_ubyte_rgb_uint32()
3127 uint32_t *d = (uint32_t *)dst; in pack_ubyte_rgb_uint32() local
3128 d[0] = r; in pack_ubyte_rgb_uint32()
3129 d[1] = g; in pack_ubyte_rgb_uint32()
3130 d[2] = b; in pack_ubyte_rgb_uint32()
3139 _mesa_unsigned_to_signed(src[0], 8); in pack_ubyte_rgb_sint8()
3149 int8_t *d = (int8_t *)dst; in pack_ubyte_rgb_sint8() local
3150 d[0] = r; in pack_ubyte_rgb_sint8()
3151 d[1] = g; in pack_ubyte_rgb_sint8()
3152 d[2] = b; in pack_ubyte_rgb_sint8()
3161 _mesa_unsigned_to_signed(src[0], 16); in pack_ubyte_rgb_sint16()
3171 int16_t *d = (int16_t *)dst; in pack_ubyte_rgb_sint16() local
3172 d[0] = r; in pack_ubyte_rgb_sint16()
3173 d[1] = g; in pack_ubyte_rgb_sint16()
3174 d[2] = b; in pack_ubyte_rgb_sint16()
3183 _mesa_unsigned_to_signed(src[0], 32); in pack_ubyte_rgb_sint32()
3193 int32_t *d = (int32_t *)dst; in pack_ubyte_rgb_sint32() local
3194 d[0] = r; in pack_ubyte_rgb_sint32()
3195 d[1] = g; in pack_ubyte_rgb_sint32()
3196 d[2] = b; in pack_ubyte_rgb_sint32()
3205 _mesa_unsigned_to_unsigned(src[0], 16); in pack_ubyte_rgba_uint16()
3219 uint16_t *d = (uint16_t *)dst; in pack_ubyte_rgba_uint16() local
3220 d[0] = r; in pack_ubyte_rgba_uint16()
3221 d[1] = g; in pack_ubyte_rgba_uint16()
3222 d[2] = b; in pack_ubyte_rgba_uint16()
3223 d[3] = a; in pack_ubyte_rgba_uint16()
3232 _mesa_unsigned_to_unsigned(src[0], 32); in pack_ubyte_rgba_uint32()
3246 uint32_t *d = (uint32_t *)dst; in pack_ubyte_rgba_uint32() local
3247 d[0] = r; in pack_ubyte_rgba_uint32()
3248 d[1] = g; in pack_ubyte_rgba_uint32()
3249 d[2] = b; in pack_ubyte_rgba_uint32()
3250 d[3] = a; in pack_ubyte_rgba_uint32()
3259 _mesa_unsigned_to_signed(src[0], 8); in pack_ubyte_rgba_sint8()
3273 int8_t *d = (int8_t *)dst; in pack_ubyte_rgba_sint8() local
3274 d[0] = r; in pack_ubyte_rgba_sint8()
3275 d[1] = g; in pack_ubyte_rgba_sint8()
3276 d[2] = b; in pack_ubyte_rgba_sint8()
3277 d[3] = a; in pack_ubyte_rgba_sint8()
3286 _mesa_unsigned_to_signed(src[0], 16); in pack_ubyte_rgba_sint16()
3300 int16_t *d = (int16_t *)dst; in pack_ubyte_rgba_sint16() local
3301 d[0] = r; in pack_ubyte_rgba_sint16()
3302 d[1] = g; in pack_ubyte_rgba_sint16()
3303 d[2] = b; in pack_ubyte_rgba_sint16()
3304 d[3] = a; in pack_ubyte_rgba_sint16()
3313 _mesa_unsigned_to_signed(src[0], 32); in pack_ubyte_rgba_sint32()
3327 int32_t *d = (int32_t *)dst; in pack_ubyte_rgba_sint32() local
3328 d[0] = r; in pack_ubyte_rgba_sint32()
3329 d[1] = g; in pack_ubyte_rgba_sint32()
3330 d[2] = b; in pack_ubyte_rgba_sint32()
3331 d[3] = a; in pack_ubyte_rgba_sint32()
3340 _mesa_unsigned_to_unsigned(src[0], 8); in pack_ubyte_rgbx_uint8()
3351 uint8_t *d = (uint8_t *)dst; in pack_ubyte_rgbx_uint8() local
3352 d[0] = r; in pack_ubyte_rgbx_uint8()
3353 d[1] = g; in pack_ubyte_rgbx_uint8()
3354 d[2] = b; in pack_ubyte_rgbx_uint8()
3363 _mesa_unsigned_to_unsigned(src[0], 16); in pack_ubyte_rgbx_uint16()
3374 uint16_t *d = (uint16_t *)dst; in pack_ubyte_rgbx_uint16() local
3375 d[0] = r; in pack_ubyte_rgbx_uint16()
3376 d[1] = g; in pack_ubyte_rgbx_uint16()
3377 d[2] = b; in pack_ubyte_rgbx_uint16()
3386 _mesa_unsigned_to_unsigned(src[0], 32); in pack_ubyte_rgbx_uint32()
3397 uint32_t *d = (uint32_t *)dst; in pack_ubyte_rgbx_uint32() local
3398 d[0] = r; in pack_ubyte_rgbx_uint32()
3399 d[1] = g; in pack_ubyte_rgbx_uint32()
3400 d[2] = b; in pack_ubyte_rgbx_uint32()
3409 _mesa_unsigned_to_signed(src[0], 8); in pack_ubyte_rgbx_sint8()
3420 int8_t *d = (int8_t *)dst; in pack_ubyte_rgbx_sint8() local
3421 d[0] = r; in pack_ubyte_rgbx_sint8()
3422 d[1] = g; in pack_ubyte_rgbx_sint8()
3423 d[2] = b; in pack_ubyte_rgbx_sint8()
3432 _mesa_unsigned_to_signed(src[0], 16); in pack_ubyte_rgbx_sint16()
3443 int16_t *d = (int16_t *)dst; in pack_ubyte_rgbx_sint16() local
3444 d[0] = r; in pack_ubyte_rgbx_sint16()
3445 d[1] = g; in pack_ubyte_rgbx_sint16()
3446 d[2] = b; in pack_ubyte_rgbx_sint16()
3455 _mesa_unsigned_to_signed(src[0], 32); in pack_ubyte_rgbx_sint32()
3466 int32_t *d = (int32_t *)dst; in pack_ubyte_rgbx_sint32() local
3467 d[0] = r; in pack_ubyte_rgbx_sint32()
3468 d[1] = g; in pack_ubyte_rgbx_sint32()
3469 d[2] = b; in pack_ubyte_rgbx_sint32()
3475 uint32_t *d = (uint32_t *) dst; in pack_ubyte_r9g9b9e5_float() local
3477 rgb[0] = _mesa_unorm_to_float(src[0], 8); in pack_ubyte_r9g9b9e5_float()
3480 *d = float3_to_rgb9e5(rgb); in pack_ubyte_r9g9b9e5_float()
3486 uint32_t *d = (uint32_t *) dst; in pack_ubyte_r11g11b10_float() local
3488 rgb[0] = _mesa_unorm_to_float(src[0], 8); in pack_ubyte_r11g11b10_float()
3491 *d = float3_to_r11g11b10f(rgb); in pack_ubyte_r11g11b10_float()
3515 _mesa_unsigned_to_unsigned(src[0], 8); in pack_uint_a8b8g8r8_uint()
3517 uint32_t d = 0; in pack_uint_a8b8g8r8_uint() local
3518 d |= PACK(a, 0, 8); in pack_uint_a8b8g8r8_uint()
3519 d |= PACK(b, 8, 8); in pack_uint_a8b8g8r8_uint()
3520 d |= PACK(g, 16, 8); in pack_uint_a8b8g8r8_uint()
3521 d |= PACK(r, 24, 8); in pack_uint_a8b8g8r8_uint()
3522 (*(uint32_t *)dst) = d; in pack_uint_a8b8g8r8_uint()
3535 _mesa_unsigned_to_unsigned(src[0], 8); in pack_uint_a8r8g8b8_uint()
3545 uint32_t d = 0; in pack_uint_a8r8g8b8_uint() local
3546 d |= PACK(a, 0, 8); in pack_uint_a8r8g8b8_uint()
3547 d |= PACK(r, 8, 8); in pack_uint_a8r8g8b8_uint()
3548 d |= PACK(g, 16, 8); in pack_uint_a8r8g8b8_uint()
3549 d |= PACK(b, 24, 8); in pack_uint_a8r8g8b8_uint()
3550 (*(uint32_t *)dst) = d; in pack_uint_a8r8g8b8_uint()
3559 _mesa_unsigned_to_unsigned(src[0], 8); in pack_uint_r8g8b8a8_uint()
3573 uint32_t d = 0; in pack_uint_r8g8b8a8_uint() local
3574 d |= PACK(r, 0, 8); in pack_uint_r8g8b8a8_uint()
3575 d |= PACK(g, 8, 8); in pack_uint_r8g8b8a8_uint()
3576 d |= PACK(b, 16, 8); in pack_uint_r8g8b8a8_uint()
3577 d |= PACK(a, 24, 8); in pack_uint_r8g8b8a8_uint()
3578 (*(uint32_t *)dst) = d; in pack_uint_r8g8b8a8_uint()
3595 _mesa_unsigned_to_unsigned(src[0], 8); in pack_uint_b8g8r8a8_uint()
3601 uint32_t d = 0; in pack_uint_b8g8r8a8_uint() local
3602 d |= PACK(b, 0, 8); in pack_uint_b8g8r8a8_uint()
3603 d |= PACK(g, 8, 8); in pack_uint_b8g8r8a8_uint()
3604 d |= PACK(r, 16, 8); in pack_uint_b8g8r8a8_uint()
3605 d |= PACK(a, 24, 8); in pack_uint_b8g8r8a8_uint()
3606 (*(uint32_t *)dst) = d; in pack_uint_b8g8r8a8_uint()
3623 _mesa_unsigned_to_unsigned(src[0], 10); in pack_uint_b10g10r10a2_uint()
3629 uint32_t d = 0; in pack_uint_b10g10r10a2_uint() local
3630 d |= PACK(b, 0, 10); in pack_uint_b10g10r10a2_uint()
3631 d |= PACK(g, 10, 10); in pack_uint_b10g10r10a2_uint()
3632 d |= PACK(r, 20, 10); in pack_uint_b10g10r10a2_uint()
3633 d |= PACK(a, 30, 2); in pack_uint_b10g10r10a2_uint()
3634 (*(uint32_t *)dst) = d; in pack_uint_b10g10r10a2_uint()
3643 _mesa_unsigned_to_unsigned(src[0], 10); in pack_uint_r10g10b10a2_uint()
3657 uint32_t d = 0; in pack_uint_r10g10b10a2_uint() local
3658 d |= PACK(r, 0, 10); in pack_uint_r10g10b10a2_uint()
3659 d |= PACK(g, 10, 10); in pack_uint_r10g10b10a2_uint()
3660 d |= PACK(b, 20, 10); in pack_uint_r10g10b10a2_uint()
3661 d |= PACK(a, 30, 2); in pack_uint_r10g10b10a2_uint()
3662 (*(uint32_t *)dst) = d; in pack_uint_r10g10b10a2_uint()
3683 _mesa_unsigned_to_unsigned(src[0], 10); in pack_uint_a2b10g10r10_uint()
3685 uint32_t d = 0; in pack_uint_a2b10g10r10_uint() local
3686 d |= PACK(a, 0, 2); in pack_uint_a2b10g10r10_uint()
3687 d |= PACK(b, 2, 10); in pack_uint_a2b10g10r10_uint()
3688 d |= PACK(g, 12, 10); in pack_uint_a2b10g10r10_uint()
3689 d |= PACK(r, 22, 10); in pack_uint_a2b10g10r10_uint()
3690 (*(uint32_t *)dst) = d; in pack_uint_a2b10g10r10_uint()
3703 _mesa_unsigned_to_unsigned(src[0], 10); in pack_uint_a2r10g10b10_uint()
3713 uint32_t d = 0; in pack_uint_a2r10g10b10_uint() local
3714 d |= PACK(a, 0, 2); in pack_uint_a2r10g10b10_uint()
3715 d |= PACK(r, 2, 10); in pack_uint_a2r10g10b10_uint()
3716 d |= PACK(g, 12, 10); in pack_uint_a2r10g10b10_uint()
3717 d |= PACK(b, 22, 10); in pack_uint_a2r10g10b10_uint()
3718 (*(uint32_t *)dst) = d; in pack_uint_a2r10g10b10_uint()
3735 _mesa_unsigned_to_unsigned(src[0], 5); in pack_uint_b5g6r5_uint()
3737 uint16_t d = 0; in pack_uint_b5g6r5_uint() local
3738 d |= PACK(b, 0, 5); in pack_uint_b5g6r5_uint()
3739 d |= PACK(g, 5, 6); in pack_uint_b5g6r5_uint()
3740 d |= PACK(r, 11, 5); in pack_uint_b5g6r5_uint()
3741 (*(uint16_t *)dst) = d; in pack_uint_b5g6r5_uint()
3750 _mesa_unsigned_to_unsigned(src[0], 5); in pack_uint_r5g6b5_uint()
3760 uint16_t d = 0; in pack_uint_r5g6b5_uint() local
3761 d |= PACK(r, 0, 5); in pack_uint_r5g6b5_uint()
3762 d |= PACK(g, 5, 6); in pack_uint_r5g6b5_uint()
3763 d |= PACK(b, 11, 5); in pack_uint_r5g6b5_uint()
3764 (*(uint16_t *)dst) = d; in pack_uint_r5g6b5_uint()
3781 _mesa_unsigned_to_unsigned(src[0], 3); in pack_uint_b2g3r3_uint()
3783 uint8_t d = 0; in pack_uint_b2g3r3_uint() local
3784 d |= PACK(b, 0, 2); in pack_uint_b2g3r3_uint()
3785 d |= PACK(g, 2, 3); in pack_uint_b2g3r3_uint()
3786 d |= PACK(r, 5, 3); in pack_uint_b2g3r3_uint()
3787 (*(uint8_t *)dst) = d; in pack_uint_b2g3r3_uint()
3796 _mesa_unsigned_to_unsigned(src[0], 3); in pack_uint_r3g3b2_uint()
3806 uint8_t d = 0; in pack_uint_r3g3b2_uint() local
3807 d |= PACK(r, 0, 3); in pack_uint_r3g3b2_uint()
3808 d |= PACK(g, 3, 3); in pack_uint_r3g3b2_uint()
3809 d |= PACK(b, 6, 2); in pack_uint_r3g3b2_uint()
3810 (*(uint8_t *)dst) = d; in pack_uint_r3g3b2_uint()
3831 _mesa_unsigned_to_unsigned(src[0], 4); in pack_uint_a4b4g4r4_uint()
3833 uint16_t d = 0; in pack_uint_a4b4g4r4_uint() local
3834 d |= PACK(a, 0, 4); in pack_uint_a4b4g4r4_uint()
3835 d |= PACK(b, 4, 4); in pack_uint_a4b4g4r4_uint()
3836 d |= PACK(g, 8, 4); in pack_uint_a4b4g4r4_uint()
3837 d |= PACK(r, 12, 4); in pack_uint_a4b4g4r4_uint()
3838 (*(uint16_t *)dst) = d; in pack_uint_a4b4g4r4_uint()
3847 _mesa_unsigned_to_unsigned(src[0], 4); in pack_uint_r4g4b4a4_uint()
3861 uint16_t d = 0; in pack_uint_r4g4b4a4_uint() local
3862 d |= PACK(r, 0, 4); in pack_uint_r4g4b4a4_uint()
3863 d |= PACK(g, 4, 4); in pack_uint_r4g4b4a4_uint()
3864 d |= PACK(b, 8, 4); in pack_uint_r4g4b4a4_uint()
3865 d |= PACK(a, 12, 4); in pack_uint_r4g4b4a4_uint()
3866 (*(uint16_t *)dst) = d; in pack_uint_r4g4b4a4_uint()
3883 _mesa_unsigned_to_unsigned(src[0], 4); in pack_uint_b4g4r4a4_uint()
3889 uint16_t d = 0; in pack_uint_b4g4r4a4_uint() local
3890 d |= PACK(b, 0, 4); in pack_uint_b4g4r4a4_uint()
3891 d |= PACK(g, 4, 4); in pack_uint_b4g4r4a4_uint()
3892 d |= PACK(r, 8, 4); in pack_uint_b4g4r4a4_uint()
3893 d |= PACK(a, 12, 4); in pack_uint_b4g4r4a4_uint()
3894 (*(uint16_t *)dst) = d; in pack_uint_b4g4r4a4_uint()
3907 _mesa_unsigned_to_unsigned(src[0], 4); in pack_uint_a4r4g4b4_uint()
3917 uint16_t d = 0; in pack_uint_a4r4g4b4_uint() local
3918 d |= PACK(a, 0, 4); in pack_uint_a4r4g4b4_uint()
3919 d |= PACK(r, 4, 4); in pack_uint_a4r4g4b4_uint()
3920 d |= PACK(g, 8, 4); in pack_uint_a4r4g4b4_uint()
3921 d |= PACK(b, 12, 4); in pack_uint_a4r4g4b4_uint()
3922 (*(uint16_t *)dst) = d; in pack_uint_a4r4g4b4_uint()
3943 _mesa_unsigned_to_unsigned(src[0], 5); in pack_uint_a1b5g5r5_uint()
3945 uint16_t d = 0; in pack_uint_a1b5g5r5_uint() local
3946 d |= PACK(a, 0, 1); in pack_uint_a1b5g5r5_uint()
3947 d |= PACK(b, 1, 5); in pack_uint_a1b5g5r5_uint()
3948 d |= PACK(g, 6, 5); in pack_uint_a1b5g5r5_uint()
3949 d |= PACK(r, 11, 5); in pack_uint_a1b5g5r5_uint()
3950 (*(uint16_t *)dst) = d; in pack_uint_a1b5g5r5_uint()
3967 _mesa_unsigned_to_unsigned(src[0], 5); in pack_uint_b5g5r5a1_uint()
3973 uint16_t d = 0; in pack_uint_b5g5r5a1_uint() local
3974 d |= PACK(b, 0, 5); in pack_uint_b5g5r5a1_uint()
3975 d |= PACK(g, 5, 5); in pack_uint_b5g5r5a1_uint()
3976 d |= PACK(r, 10, 5); in pack_uint_b5g5r5a1_uint()
3977 d |= PACK(a, 15, 1); in pack_uint_b5g5r5a1_uint()
3978 (*(uint16_t *)dst) = d; in pack_uint_b5g5r5a1_uint()
3991 _mesa_unsigned_to_unsigned(src[0], 5); in pack_uint_a1r5g5b5_uint()
4001 uint16_t d = 0; in pack_uint_a1r5g5b5_uint() local
4002 d |= PACK(a, 0, 1); in pack_uint_a1r5g5b5_uint()
4003 d |= PACK(r, 1, 5); in pack_uint_a1r5g5b5_uint()
4004 d |= PACK(g, 6, 5); in pack_uint_a1r5g5b5_uint()
4005 d |= PACK(b, 11, 5); in pack_uint_a1r5g5b5_uint()
4006 (*(uint16_t *)dst) = d; in pack_uint_a1r5g5b5_uint()
4015 _mesa_unsigned_to_unsigned(src[0], 5); in pack_uint_r5g5b5a1_uint()
4029 uint16_t d = 0; in pack_uint_r5g5b5a1_uint() local
4030 d |= PACK(r, 0, 5); in pack_uint_r5g5b5a1_uint()
4031 d |= PACK(g, 5, 5); in pack_uint_r5g5b5a1_uint()
4032 d |= PACK(b, 10, 5); in pack_uint_r5g5b5a1_uint()
4033 d |= PACK(a, 15, 1); in pack_uint_r5g5b5a1_uint()
4034 (*(uint16_t *)dst) = d; in pack_uint_r5g5b5a1_uint()
4045 uint8_t *d = (uint8_t *)dst; in pack_uint_a_uint8() local
4046 d[0] = a; in pack_uint_a_uint8()
4057 uint16_t *d = (uint16_t *)dst; in pack_uint_a_uint16() local
4058 d[0] = a; in pack_uint_a_uint16()
4069 uint32_t *d = (uint32_t *)dst; in pack_uint_a_uint32() local
4070 d[0] = a; in pack_uint_a_uint32()
4081 int8_t *d = (int8_t *)dst; in pack_uint_a_sint8() local
4082 d[0] = a; in pack_uint_a_sint8()
4093 int16_t *d = (int16_t *)dst; in pack_uint_a_sint16() local
4094 d[0] = a; in pack_uint_a_sint16()
4105 int32_t *d = (int32_t *)dst; in pack_uint_a_sint32() local
4106 d[0] = a; in pack_uint_a_sint32()
4115 _mesa_unsigned_to_unsigned(src[0], 8); in pack_uint_i_uint8()
4117 uint8_t *d = (uint8_t *)dst; in pack_uint_i_uint8() local
4118 d[0] = i; in pack_uint_i_uint8()
4127 _mesa_unsigned_to_unsigned(src[0], 16); in pack_uint_i_uint16()
4129 uint16_t *d = (uint16_t *)dst; in pack_uint_i_uint16() local
4130 d[0] = i; in pack_uint_i_uint16()
4139 _mesa_unsigned_to_unsigned(src[0], 32); in pack_uint_i_uint32()
4141 uint32_t *d = (uint32_t *)dst; in pack_uint_i_uint32() local
4142 d[0] = i; in pack_uint_i_uint32()
4151 _mesa_signed_to_signed(src[0], 8); in pack_uint_i_sint8()
4153 int8_t *d = (int8_t *)dst; in pack_uint_i_sint8() local
4154 d[0] = i; in pack_uint_i_sint8()
4163 _mesa_signed_to_signed(src[0], 16); in pack_uint_i_sint16()
4165 int16_t *d = (int16_t *)dst; in pack_uint_i_sint16() local
4166 d[0] = i; in pack_uint_i_sint16()
4175 _mesa_signed_to_signed(src[0], 32); in pack_uint_i_sint32()
4177 int32_t *d = (int32_t *)dst; in pack_uint_i_sint32() local
4178 d[0] = i; in pack_uint_i_sint32()
4187 _mesa_unsigned_to_unsigned(src[0], 8); in pack_uint_l_uint8()
4189 uint8_t *d = (uint8_t *)dst; in pack_uint_l_uint8() local
4190 d[0] = l; in pack_uint_l_uint8()
4199 _mesa_unsigned_to_unsigned(src[0], 16); in pack_uint_l_uint16()
4201 uint16_t *d = (uint16_t *)dst; in pack_uint_l_uint16() local
4202 d[0] = l; in pack_uint_l_uint16()
4211 _mesa_unsigned_to_unsigned(src[0], 32); in pack_uint_l_uint32()
4213 uint32_t *d = (uint32_t *)dst; in pack_uint_l_uint32() local
4214 d[0] = l; in pack_uint_l_uint32()
4223 _mesa_signed_to_signed(src[0], 8); in pack_uint_l_sint8()
4225 int8_t *d = (int8_t *)dst; in pack_uint_l_sint8() local
4226 d[0] = l; in pack_uint_l_sint8()
4235 _mesa_signed_to_signed(src[0], 16); in pack_uint_l_sint16()
4237 int16_t *d = (int16_t *)dst; in pack_uint_l_sint16() local
4238 d[0] = l; in pack_uint_l_sint16()
4247 _mesa_signed_to_signed(src[0], 32); in pack_uint_l_sint32()
4249 int32_t *d = (int32_t *)dst; in pack_uint_l_sint32() local
4250 d[0] = l; in pack_uint_l_sint32()
4259 _mesa_unsigned_to_unsigned(src[0], 8); in pack_uint_la_uint8()
4265 uint8_t *d = (uint8_t *)dst; in pack_uint_la_uint8() local
4266 d[0] = l; in pack_uint_la_uint8()
4267 d[1] = a; in pack_uint_la_uint8()
4276 _mesa_unsigned_to_unsigned(src[0], 16); in pack_uint_la_uint16()
4282 uint16_t *d = (uint16_t *)dst; in pack_uint_la_uint16() local
4283 d[0] = l; in pack_uint_la_uint16()
4284 d[1] = a; in pack_uint_la_uint16()
4293 _mesa_unsigned_to_unsigned(src[0], 32); in pack_uint_la_uint32()
4299 uint32_t *d = (uint32_t *)dst; in pack_uint_la_uint32() local
4300 d[0] = l; in pack_uint_la_uint32()
4301 d[1] = a; in pack_uint_la_uint32()
4310 _mesa_signed_to_signed(src[0], 8); in pack_uint_la_sint8()
4316 int8_t *d = (int8_t *)dst; in pack_uint_la_sint8() local
4317 d[0] = l; in pack_uint_la_sint8()
4318 d[1] = a; in pack_uint_la_sint8()
4327 _mesa_signed_to_signed(src[0], 16); in pack_uint_la_sint16()
4333 int16_t *d = (int16_t *)dst; in pack_uint_la_sint16() local
4334 d[0] = l; in pack_uint_la_sint16()
4335 d[1] = a; in pack_uint_la_sint16()
4344 _mesa_signed_to_signed(src[0], 32); in pack_uint_la_sint32()
4350 int32_t *d = (int32_t *)dst; in pack_uint_la_sint32() local
4351 d[0] = l; in pack_uint_la_sint32()
4352 d[1] = a; in pack_uint_la_sint32()
4361 _mesa_unsigned_to_unsigned(src[0], 8); in pack_uint_r_uint8()
4363 uint8_t *d = (uint8_t *)dst; in pack_uint_r_uint8() local
4364 d[0] = r; in pack_uint_r_uint8()
4373 _mesa_unsigned_to_unsigned(src[0], 16); in pack_uint_r_uint16()
4375 uint16_t *d = (uint16_t *)dst; in pack_uint_r_uint16() local
4376 d[0] = r; in pack_uint_r_uint16()
4385 _mesa_unsigned_to_unsigned(src[0], 32); in pack_uint_r_uint32()
4387 uint32_t *d = (uint32_t *)dst; in pack_uint_r_uint32() local
4388 d[0] = r; in pack_uint_r_uint32()
4397 _mesa_signed_to_signed(src[0], 8); in pack_uint_r_sint8()
4399 int8_t *d = (int8_t *)dst; in pack_uint_r_sint8() local
4400 d[0] = r; in pack_uint_r_sint8()
4409 _mesa_signed_to_signed(src[0], 16); in pack_uint_r_sint16()
4411 int16_t *d = (int16_t *)dst; in pack_uint_r_sint16() local
4412 d[0] = r; in pack_uint_r_sint16()
4421 _mesa_signed_to_signed(src[0], 32); in pack_uint_r_sint32()
4423 int32_t *d = (int32_t *)dst; in pack_uint_r_sint32() local
4424 d[0] = r; in pack_uint_r_sint32()
4433 _mesa_unsigned_to_unsigned(src[0], 8); in pack_uint_rg_uint8()
4439 uint8_t *d = (uint8_t *)dst; in pack_uint_rg_uint8() local
4440 d[0] = r; in pack_uint_rg_uint8()
4441 d[1] = g; in pack_uint_rg_uint8()
4450 _mesa_unsigned_to_unsigned(src[0], 16); in pack_uint_rg_uint16()
4456 uint16_t *d = (uint16_t *)dst; in pack_uint_rg_uint16() local
4457 d[0] = r; in pack_uint_rg_uint16()
4458 d[1] = g; in pack_uint_rg_uint16()
4467 _mesa_unsigned_to_unsigned(src[0], 32); in pack_uint_rg_uint32()
4473 uint32_t *d = (uint32_t *)dst; in pack_uint_rg_uint32() local
4474 d[0] = r; in pack_uint_rg_uint32()
4475 d[1] = g; in pack_uint_rg_uint32()
4484 _mesa_signed_to_signed(src[0], 8); in pack_uint_rg_sint8()
4490 int8_t *d = (int8_t *)dst; in pack_uint_rg_sint8() local
4491 d[0] = r; in pack_uint_rg_sint8()
4492 d[1] = g; in pack_uint_rg_sint8()
4501 _mesa_signed_to_signed(src[0], 16); in pack_uint_rg_sint16()
4507 int16_t *d = (int16_t *)dst; in pack_uint_rg_sint16() local
4508 d[0] = r; in pack_uint_rg_sint16()
4509 d[1] = g; in pack_uint_rg_sint16()
4518 _mesa_signed_to_signed(src[0], 32); in pack_uint_rg_sint32()
4524 int32_t *d = (int32_t *)dst; in pack_uint_rg_sint32() local
4525 d[0] = r; in pack_uint_rg_sint32()
4526 d[1] = g; in pack_uint_rg_sint32()
4535 _mesa_unsigned_to_unsigned(src[0], 8); in pack_uint_rgb_uint8()
4545 uint8_t *d = (uint8_t *)dst; in pack_uint_rgb_uint8() local
4546 d[0] = r; in pack_uint_rgb_uint8()
4547 d[1] = g; in pack_uint_rgb_uint8()
4548 d[2] = b; in pack_uint_rgb_uint8()
4557 _mesa_unsigned_to_unsigned(src[0], 16); in pack_uint_rgb_uint16()
4567 uint16_t *d = (uint16_t *)dst; in pack_uint_rgb_uint16() local
4568 d[0] = r; in pack_uint_rgb_uint16()
4569 d[1] = g; in pack_uint_rgb_uint16()
4570 d[2] = b; in pack_uint_rgb_uint16()
4579 _mesa_unsigned_to_unsigned(src[0], 32); in pack_uint_rgb_uint32()
4589 uint32_t *d = (uint32_t *)dst; in pack_uint_rgb_uint32() local
4590 d[0] = r; in pack_uint_rgb_uint32()
4591 d[1] = g; in pack_uint_rgb_uint32()
4592 d[2] = b; in pack_uint_rgb_uint32()
4601 _mesa_signed_to_signed(src[0], 8); in pack_uint_rgb_sint8()
4611 int8_t *d = (int8_t *)dst; in pack_uint_rgb_sint8() local
4612 d[0] = r; in pack_uint_rgb_sint8()
4613 d[1] = g; in pack_uint_rgb_sint8()
4614 d[2] = b; in pack_uint_rgb_sint8()
4623 _mesa_signed_to_signed(src[0], 16); in pack_uint_rgb_sint16()
4633 int16_t *d = (int16_t *)dst; in pack_uint_rgb_sint16() local
4634 d[0] = r; in pack_uint_rgb_sint16()
4635 d[1] = g; in pack_uint_rgb_sint16()
4636 d[2] = b; in pack_uint_rgb_sint16()
4645 _mesa_signed_to_signed(src[0], 32); in pack_uint_rgb_sint32()
4655 int32_t *d = (int32_t *)dst; in pack_uint_rgb_sint32() local
4656 d[0] = r; in pack_uint_rgb_sint32()
4657 d[1] = g; in pack_uint_rgb_sint32()
4658 d[2] = b; in pack_uint_rgb_sint32()
4667 _mesa_unsigned_to_unsigned(src[0], 16); in pack_uint_rgba_uint16()
4681 uint16_t *d = (uint16_t *)dst; in pack_uint_rgba_uint16() local
4682 d[0] = r; in pack_uint_rgba_uint16()
4683 d[1] = g; in pack_uint_rgba_uint16()
4684 d[2] = b; in pack_uint_rgba_uint16()
4685 d[3] = a; in pack_uint_rgba_uint16()
4694 _mesa_unsigned_to_unsigned(src[0], 32); in pack_uint_rgba_uint32()
4708 uint32_t *d = (uint32_t *)dst; in pack_uint_rgba_uint32() local
4709 d[0] = r; in pack_uint_rgba_uint32()
4710 d[1] = g; in pack_uint_rgba_uint32()
4711 d[2] = b; in pack_uint_rgba_uint32()
4712 d[3] = a; in pack_uint_rgba_uint32()
4721 _mesa_signed_to_signed(src[0], 8); in pack_uint_rgba_sint8()
4735 int8_t *d = (int8_t *)dst; in pack_uint_rgba_sint8() local
4736 d[0] = r; in pack_uint_rgba_sint8()
4737 d[1] = g; in pack_uint_rgba_sint8()
4738 d[2] = b; in pack_uint_rgba_sint8()
4739 d[3] = a; in pack_uint_rgba_sint8()
4748 _mesa_signed_to_signed(src[0], 16); in pack_uint_rgba_sint16()
4762 int16_t *d = (int16_t *)dst; in pack_uint_rgba_sint16() local
4763 d[0] = r; in pack_uint_rgba_sint16()
4764 d[1] = g; in pack_uint_rgba_sint16()
4765 d[2] = b; in pack_uint_rgba_sint16()
4766 d[3] = a; in pack_uint_rgba_sint16()
4775 _mesa_signed_to_signed(src[0], 32); in pack_uint_rgba_sint32()
4789 int32_t *d = (int32_t *)dst; in pack_uint_rgba_sint32() local
4790 d[0] = r; in pack_uint_rgba_sint32()
4791 d[1] = g; in pack_uint_rgba_sint32()
4792 d[2] = b; in pack_uint_rgba_sint32()
4793 d[3] = a; in pack_uint_rgba_sint32()
4802 _mesa_unsigned_to_unsigned(src[0], 8); in pack_uint_rgbx_uint8()
4813 uint8_t *d = (uint8_t *)dst; in pack_uint_rgbx_uint8() local
4814 d[0] = r; in pack_uint_rgbx_uint8()
4815 d[1] = g; in pack_uint_rgbx_uint8()
4816 d[2] = b; in pack_uint_rgbx_uint8()
4825 _mesa_unsigned_to_unsigned(src[0], 16); in pack_uint_rgbx_uint16()
4836 uint16_t *d = (uint16_t *)dst; in pack_uint_rgbx_uint16() local
4837 d[0] = r; in pack_uint_rgbx_uint16()
4838 d[1] = g; in pack_uint_rgbx_uint16()
4839 d[2] = b; in pack_uint_rgbx_uint16()
4848 _mesa_unsigned_to_unsigned(src[0], 32); in pack_uint_rgbx_uint32()
4859 uint32_t *d = (uint32_t *)dst; in pack_uint_rgbx_uint32() local
4860 d[0] = r; in pack_uint_rgbx_uint32()
4861 d[1] = g; in pack_uint_rgbx_uint32()
4862 d[2] = b; in pack_uint_rgbx_uint32()
4871 _mesa_signed_to_signed(src[0], 8); in pack_uint_rgbx_sint8()
4882 int8_t *d = (int8_t *)dst; in pack_uint_rgbx_sint8() local
4883 d[0] = r; in pack_uint_rgbx_sint8()
4884 d[1] = g; in pack_uint_rgbx_sint8()
4885 d[2] = b; in pack_uint_rgbx_sint8()
4894 _mesa_signed_to_signed(src[0], 16); in pack_uint_rgbx_sint16()
4905 int16_t *d = (int16_t *)dst; in pack_uint_rgbx_sint16() local
4906 d[0] = r; in pack_uint_rgbx_sint16()
4907 d[1] = g; in pack_uint_rgbx_sint16()
4908 d[2] = b; in pack_uint_rgbx_sint16()
4917 _mesa_signed_to_signed(src[0], 32); in pack_uint_rgbx_sint32()
4928 int32_t *d = (int32_t *)dst; in pack_uint_rgbx_sint32() local
4929 d[0] = r; in pack_uint_rgbx_sint32()
4930 d[1] = g; in pack_uint_rgbx_sint32()
4931 d[2] = b; in pack_uint_rgbx_sint32()
4955 _mesa_float_to_unorm(src[0], 8); in pack_float_a8b8g8r8_unorm()
4957 uint32_t d = 0; in pack_float_a8b8g8r8_unorm() local
4958 d |= PACK(a, 0, 8); in pack_float_a8b8g8r8_unorm()
4959 d |= PACK(b, 8, 8); in pack_float_a8b8g8r8_unorm()
4960 d |= PACK(g, 16, 8); in pack_float_a8b8g8r8_unorm()
4961 d |= PACK(r, 24, 8); in pack_float_a8b8g8r8_unorm()
4962 (*(uint32_t *)dst) = d; in pack_float_a8b8g8r8_unorm()
4980 _mesa_float_to_unorm(src[0], 8); in pack_float_x8b8g8r8_unorm()
4982 uint32_t d = 0; in pack_float_x8b8g8r8_unorm() local
4983 d |= PACK(b, 8, 8); in pack_float_x8b8g8r8_unorm()
4984 d |= PACK(g, 16, 8); in pack_float_x8b8g8r8_unorm()
4985 d |= PACK(r, 24, 8); in pack_float_x8b8g8r8_unorm()
4986 (*(uint32_t *)dst) = d; in pack_float_x8b8g8r8_unorm()
4995 _mesa_float_to_unorm(src[0], 8); in pack_float_r8g8b8a8_unorm()
5009 uint32_t d = 0; in pack_float_r8g8b8a8_unorm() local
5010 d |= PACK(r, 0, 8); in pack_float_r8g8b8a8_unorm()
5011 d |= PACK(g, 8, 8); in pack_float_r8g8b8a8_unorm()
5012 d |= PACK(b, 16, 8); in pack_float_r8g8b8a8_unorm()
5013 d |= PACK(a, 24, 8); in pack_float_r8g8b8a8_unorm()
5014 (*(uint32_t *)dst) = d; in pack_float_r8g8b8a8_unorm()
5023 _mesa_float_to_unorm(src[0], 8); in pack_float_r8g8b8x8_unorm()
5034 uint32_t d = 0; in pack_float_r8g8b8x8_unorm() local
5035 d |= PACK(r, 0, 8); in pack_float_r8g8b8x8_unorm()
5036 d |= PACK(g, 8, 8); in pack_float_r8g8b8x8_unorm()
5037 d |= PACK(b, 16, 8); in pack_float_r8g8b8x8_unorm()
5038 (*(uint32_t *)dst) = d; in pack_float_r8g8b8x8_unorm()
5055 _mesa_float_to_unorm(src[0], 8); in pack_float_b8g8r8a8_unorm()
5061 uint32_t d = 0; in pack_float_b8g8r8a8_unorm() local
5062 d |= PACK(b, 0, 8); in pack_float_b8g8r8a8_unorm()
5063 d |= PACK(g, 8, 8); in pack_float_b8g8r8a8_unorm()
5064 d |= PACK(r, 16, 8); in pack_float_b8g8r8a8_unorm()
5065 d |= PACK(a, 24, 8); in pack_float_b8g8r8a8_unorm()
5066 (*(uint32_t *)dst) = d; in pack_float_b8g8r8a8_unorm()
5083 _mesa_float_to_unorm(src[0], 8); in pack_float_b8g8r8x8_unorm()
5086 uint32_t d = 0; in pack_float_b8g8r8x8_unorm() local
5087 d |= PACK(b, 0, 8); in pack_float_b8g8r8x8_unorm()
5088 d |= PACK(g, 8, 8); in pack_float_b8g8r8x8_unorm()
5089 d |= PACK(r, 16, 8); in pack_float_b8g8r8x8_unorm()
5090 (*(uint32_t *)dst) = d; in pack_float_b8g8r8x8_unorm()
5103 _mesa_float_to_unorm(src[0], 8); in pack_float_a8r8g8b8_unorm()
5113 uint32_t d = 0; in pack_float_a8r8g8b8_unorm() local
5114 d |= PACK(a, 0, 8); in pack_float_a8r8g8b8_unorm()
5115 d |= PACK(r, 8, 8); in pack_float_a8r8g8b8_unorm()
5116 d |= PACK(g, 16, 8); in pack_float_a8r8g8b8_unorm()
5117 d |= PACK(b, 24, 8); in pack_float_a8r8g8b8_unorm()
5118 (*(uint32_t *)dst) = d; in pack_float_a8r8g8b8_unorm()
5128 _mesa_float_to_unorm(src[0], 8); in pack_float_x8r8g8b8_unorm()
5138 uint32_t d = 0; in pack_float_x8r8g8b8_unorm() local
5139 d |= PACK(r, 8, 8); in pack_float_x8r8g8b8_unorm()
5140 d |= PACK(g, 16, 8); in pack_float_x8r8g8b8_unorm()
5141 d |= PACK(b, 24, 8); in pack_float_x8r8g8b8_unorm()
5142 (*(uint32_t *)dst) = d; in pack_float_x8r8g8b8_unorm()
5159 _mesa_float_to_unorm(src[0], 5); in pack_float_b5g6r5_unorm()
5161 uint16_t d = 0; in pack_float_b5g6r5_unorm() local
5162 d |= PACK(b, 0, 5); in pack_float_b5g6r5_unorm()
5163 d |= PACK(g, 5, 6); in pack_float_b5g6r5_unorm()
5164 d |= PACK(r, 11, 5); in pack_float_b5g6r5_unorm()
5165 (*(uint16_t *)dst) = d; in pack_float_b5g6r5_unorm()
5174 _mesa_float_to_unorm(src[0], 5); in pack_float_r5g6b5_unorm()
5184 uint16_t d = 0; in pack_float_r5g6b5_unorm() local
5185 d |= PACK(r, 0, 5); in pack_float_r5g6b5_unorm()
5186 d |= PACK(g, 5, 6); in pack_float_r5g6b5_unorm()
5187 d |= PACK(b, 11, 5); in pack_float_r5g6b5_unorm()
5188 (*(uint16_t *)dst) = d; in pack_float_r5g6b5_unorm()
5205 _mesa_float_to_unorm(src[0], 4); in pack_float_b4g4r4a4_unorm()
5211 uint16_t d = 0; in pack_float_b4g4r4a4_unorm() local
5212 d |= PACK(b, 0, 4); in pack_float_b4g4r4a4_unorm()
5213 d |= PACK(g, 4, 4); in pack_float_b4g4r4a4_unorm()
5214 d |= PACK(r, 8, 4); in pack_float_b4g4r4a4_unorm()
5215 d |= PACK(a, 12, 4); in pack_float_b4g4r4a4_unorm()
5216 (*(uint16_t *)dst) = d; in pack_float_b4g4r4a4_unorm()
5233 _mesa_float_to_unorm(src[0], 4); in pack_float_b4g4r4x4_unorm()
5236 uint16_t d = 0; in pack_float_b4g4r4x4_unorm() local
5237 d |= PACK(b, 0, 4); in pack_float_b4g4r4x4_unorm()
5238 d |= PACK(g, 4, 4); in pack_float_b4g4r4x4_unorm()
5239 d |= PACK(r, 8, 4); in pack_float_b4g4r4x4_unorm()
5240 (*(uint16_t *)dst) = d; in pack_float_b4g4r4x4_unorm()
5253 _mesa_float_to_unorm(src[0], 4); in pack_float_a4r4g4b4_unorm()
5263 uint16_t d = 0; in pack_float_a4r4g4b4_unorm() local
5264 d |= PACK(a, 0, 4); in pack_float_a4r4g4b4_unorm()
5265 d |= PACK(r, 4, 4); in pack_float_a4r4g4b4_unorm()
5266 d |= PACK(g, 8, 4); in pack_float_a4r4g4b4_unorm()
5267 d |= PACK(b, 12, 4); in pack_float_a4r4g4b4_unorm()
5268 (*(uint16_t *)dst) = d; in pack_float_a4r4g4b4_unorm()
5289 _mesa_float_to_unorm(src[0], 5); in pack_float_a1b5g5r5_unorm()
5291 uint16_t d = 0; in pack_float_a1b5g5r5_unorm() local
5292 d |= PACK(a, 0, 1); in pack_float_a1b5g5r5_unorm()
5293 d |= PACK(b, 1, 5); in pack_float_a1b5g5r5_unorm()
5294 d |= PACK(g, 6, 5); in pack_float_a1b5g5r5_unorm()
5295 d |= PACK(r, 11, 5); in pack_float_a1b5g5r5_unorm()
5296 (*(uint16_t *)dst) = d; in pack_float_a1b5g5r5_unorm()
5314 _mesa_float_to_unorm(src[0], 5); in pack_float_x1b5g5r5_unorm()
5316 uint16_t d = 0; in pack_float_x1b5g5r5_unorm() local
5317 d |= PACK(b, 1, 5); in pack_float_x1b5g5r5_unorm()
5318 d |= PACK(g, 6, 5); in pack_float_x1b5g5r5_unorm()
5319 d |= PACK(r, 11, 5); in pack_float_x1b5g5r5_unorm()
5320 (*(uint16_t *)dst) = d; in pack_float_x1b5g5r5_unorm()
5337 _mesa_float_to_unorm(src[0], 5); in pack_float_b5g5r5a1_unorm()
5343 uint16_t d = 0; in pack_float_b5g5r5a1_unorm() local
5344 d |= PACK(b, 0, 5); in pack_float_b5g5r5a1_unorm()
5345 d |= PACK(g, 5, 5); in pack_float_b5g5r5a1_unorm()
5346 d |= PACK(r, 10, 5); in pack_float_b5g5r5a1_unorm()
5347 d |= PACK(a, 15, 1); in pack_float_b5g5r5a1_unorm()
5348 (*(uint16_t *)dst) = d; in pack_float_b5g5r5a1_unorm()
5365 _mesa_float_to_unorm(src[0], 5); in pack_float_b5g5r5x1_unorm()
5368 uint16_t d = 0; in pack_float_b5g5r5x1_unorm() local
5369 d |= PACK(b, 0, 5); in pack_float_b5g5r5x1_unorm()
5370 d |= PACK(g, 5, 5); in pack_float_b5g5r5x1_unorm()
5371 d |= PACK(r, 10, 5); in pack_float_b5g5r5x1_unorm()
5372 (*(uint16_t *)dst) = d; in pack_float_b5g5r5x1_unorm()
5385 _mesa_float_to_unorm(src[0], 5); in pack_float_a1r5g5b5_unorm()
5395 uint16_t d = 0; in pack_float_a1r5g5b5_unorm() local
5396 d |= PACK(a, 0, 1); in pack_float_a1r5g5b5_unorm()
5397 d |= PACK(r, 1, 5); in pack_float_a1r5g5b5_unorm()
5398 d |= PACK(g, 6, 5); in pack_float_a1r5g5b5_unorm()
5399 d |= PACK(b, 11, 5); in pack_float_a1r5g5b5_unorm()
5400 (*(uint16_t *)dst) = d; in pack_float_a1r5g5b5_unorm()
5409 _mesa_float_to_unorm(src[0], 4); in pack_float_l4a4_unorm()
5415 uint8_t d = 0; in pack_float_l4a4_unorm() local
5416 d |= PACK(l, 0, 4); in pack_float_l4a4_unorm()
5417 d |= PACK(a, 4, 4); in pack_float_l4a4_unorm()
5418 (*(uint8_t *)dst) = d; in pack_float_l4a4_unorm()
5435 _mesa_float_to_unorm(src[0], 3); in pack_float_b2g3r3_unorm()
5437 uint8_t d = 0; in pack_float_b2g3r3_unorm() local
5438 d |= PACK(b, 0, 2); in pack_float_b2g3r3_unorm()
5439 d |= PACK(g, 2, 3); in pack_float_b2g3r3_unorm()
5440 d |= PACK(r, 5, 3); in pack_float_b2g3r3_unorm()
5441 (*(uint8_t *)dst) = d; in pack_float_b2g3r3_unorm()
5458 _mesa_float_to_unorm(src[0], 10); in pack_float_b10g10r10a2_unorm()
5464 uint32_t d = 0; in pack_float_b10g10r10a2_unorm() local
5465 d |= PACK(b, 0, 10); in pack_float_b10g10r10a2_unorm()
5466 d |= PACK(g, 10, 10); in pack_float_b10g10r10a2_unorm()
5467 d |= PACK(r, 20, 10); in pack_float_b10g10r10a2_unorm()
5468 d |= PACK(a, 30, 2); in pack_float_b10g10r10a2_unorm()
5469 (*(uint32_t *)dst) = d; in pack_float_b10g10r10a2_unorm()
5486 _mesa_float_to_unorm(src[0], 10); in pack_float_b10g10r10x2_unorm()
5489 uint32_t d = 0; in pack_float_b10g10r10x2_unorm() local
5490 d |= PACK(b, 0, 10); in pack_float_b10g10r10x2_unorm()
5491 d |= PACK(g, 10, 10); in pack_float_b10g10r10x2_unorm()
5492 d |= PACK(r, 20, 10); in pack_float_b10g10r10x2_unorm()
5493 (*(uint32_t *)dst) = d; in pack_float_b10g10r10x2_unorm()
5502 _mesa_float_to_unorm(src[0], 10); in pack_float_r10g10b10a2_unorm()
5516 uint32_t d = 0; in pack_float_r10g10b10a2_unorm() local
5517 d |= PACK(r, 0, 10); in pack_float_r10g10b10a2_unorm()
5518 d |= PACK(g, 10, 10); in pack_float_r10g10b10a2_unorm()
5519 d |= PACK(b, 20, 10); in pack_float_r10g10b10a2_unorm()
5520 d |= PACK(a, 30, 2); in pack_float_r10g10b10a2_unorm()
5521 (*(uint32_t *)dst) = d; in pack_float_r10g10b10a2_unorm()
5530 _mesa_float_to_unorm(src[0], 10); in pack_float_r10g10b10x2_unorm()
5541 uint32_t d = 0; in pack_float_r10g10b10x2_unorm() local
5542 d |= PACK(r, 0, 10); in pack_float_r10g10b10x2_unorm()
5543 d |= PACK(g, 10, 10); in pack_float_r10g10b10x2_unorm()
5544 d |= PACK(b, 20, 10); in pack_float_r10g10b10x2_unorm()
5545 (*(uint32_t *)dst) = d; in pack_float_r10g10b10x2_unorm()
5554 _mesa_float_to_unorm(src[0], 3); in pack_float_r3g3b2_unorm()
5564 uint8_t d = 0; in pack_float_r3g3b2_unorm() local
5565 d |= PACK(r, 0, 3); in pack_float_r3g3b2_unorm()
5566 d |= PACK(g, 3, 3); in pack_float_r3g3b2_unorm()
5567 d |= PACK(b, 6, 2); in pack_float_r3g3b2_unorm()
5568 (*(uint8_t *)dst) = d; in pack_float_r3g3b2_unorm()
5589 _mesa_float_to_unorm(src[0], 4); in pack_float_a4b4g4r4_unorm()
5591 uint16_t d = 0; in pack_float_a4b4g4r4_unorm() local
5592 d |= PACK(a, 0, 4); in pack_float_a4b4g4r4_unorm()
5593 d |= PACK(b, 4, 4); in pack_float_a4b4g4r4_unorm()
5594 d |= PACK(g, 8, 4); in pack_float_a4b4g4r4_unorm()
5595 d |= PACK(r, 12, 4); in pack_float_a4b4g4r4_unorm()
5596 (*(uint16_t *)dst) = d; in pack_float_a4b4g4r4_unorm()
5605 _mesa_float_to_unorm(src[0], 4); in pack_float_r4g4b4a4_unorm()
5619 uint16_t d = 0; in pack_float_r4g4b4a4_unorm() local
5620 d |= PACK(r, 0, 4); in pack_float_r4g4b4a4_unorm()
5621 d |= PACK(g, 4, 4); in pack_float_r4g4b4a4_unorm()
5622 d |= PACK(b, 8, 4); in pack_float_r4g4b4a4_unorm()
5623 d |= PACK(a, 12, 4); in pack_float_r4g4b4a4_unorm()
5624 (*(uint16_t *)dst) = d; in pack_float_r4g4b4a4_unorm()
5633 _mesa_float_to_unorm(src[0], 5); in pack_float_r5g5b5a1_unorm()
5647 uint16_t d = 0; in pack_float_r5g5b5a1_unorm() local
5648 d |= PACK(r, 0, 5); in pack_float_r5g5b5a1_unorm()
5649 d |= PACK(g, 5, 5); in pack_float_r5g5b5a1_unorm()
5650 d |= PACK(b, 10, 5); in pack_float_r5g5b5a1_unorm()
5651 d |= PACK(a, 15, 1); in pack_float_r5g5b5a1_unorm()
5652 (*(uint16_t *)dst) = d; in pack_float_r5g5b5a1_unorm()
5673 _mesa_float_to_unorm(src[0], 10); in pack_float_a2b10g10r10_unorm()
5675 uint32_t d = 0; in pack_float_a2b10g10r10_unorm() local
5676 d |= PACK(a, 0, 2); in pack_float_a2b10g10r10_unorm()
5677 d |= PACK(b, 2, 10); in pack_float_a2b10g10r10_unorm()
5678 d |= PACK(g, 12, 10); in pack_float_a2b10g10r10_unorm()
5679 d |= PACK(r, 22, 10); in pack_float_a2b10g10r10_unorm()
5680 (*(uint32_t *)dst) = d; in pack_float_a2b10g10r10_unorm()
5693 _mesa_float_to_unorm(src[0], 10); in pack_float_a2r10g10b10_unorm()
5703 uint32_t d = 0; in pack_float_a2r10g10b10_unorm() local
5704 d |= PACK(a, 0, 2); in pack_float_a2r10g10b10_unorm()
5705 d |= PACK(r, 2, 10); in pack_float_a2r10g10b10_unorm()
5706 d |= PACK(g, 12, 10); in pack_float_a2r10g10b10_unorm()
5707 d |= PACK(b, 22, 10); in pack_float_a2r10g10b10_unorm()
5708 (*(uint32_t *)dst) = d; in pack_float_a2r10g10b10_unorm()
5719 uint8_t *d = (uint8_t *)dst; in pack_float_a_unorm8() local
5720 d[0] = a; in pack_float_a_unorm8()
5731 uint16_t *d = (uint16_t *)dst; in pack_float_a_unorm16() local
5732 d[0] = a; in pack_float_a_unorm16()
5741 _mesa_float_to_unorm(src[0], 8); in pack_float_l_unorm8()
5743 uint8_t *d = (uint8_t *)dst; in pack_float_l_unorm8() local
5744 d[0] = l; in pack_float_l_unorm8()
5753 _mesa_float_to_unorm(src[0], 16); in pack_float_l_unorm16()
5755 uint16_t *d = (uint16_t *)dst; in pack_float_l_unorm16() local
5756 d[0] = l; in pack_float_l_unorm16()
5765 _mesa_float_to_unorm(src[0], 8); in pack_float_la_unorm8()
5771 uint8_t *d = (uint8_t *)dst; in pack_float_la_unorm8() local
5772 d[0] = l; in pack_float_la_unorm8()
5773 d[1] = a; in pack_float_la_unorm8()
5782 _mesa_float_to_unorm(src[0], 16); in pack_float_la_unorm16()
5788 uint16_t *d = (uint16_t *)dst; in pack_float_la_unorm16() local
5789 d[0] = l; in pack_float_la_unorm16()
5790 d[1] = a; in pack_float_la_unorm16()
5799 _mesa_float_to_unorm(src[0], 8); in pack_float_i_unorm8()
5801 uint8_t *d = (uint8_t *)dst; in pack_float_i_unorm8() local
5802 d[0] = i; in pack_float_i_unorm8()
5811 _mesa_float_to_unorm(src[0], 16); in pack_float_i_unorm16()
5813 uint16_t *d = (uint16_t *)dst; in pack_float_i_unorm16() local
5814 d[0] = i; in pack_float_i_unorm16()
5823 _mesa_float_to_unorm(src[0], 8); in pack_float_r_unorm8()
5825 uint8_t *d = (uint8_t *)dst; in pack_float_r_unorm8() local
5826 d[0] = r; in pack_float_r_unorm8()
5835 _mesa_float_to_unorm(src[0], 16); in pack_float_r_unorm16()
5837 uint16_t *d = (uint16_t *)dst; in pack_float_r_unorm16() local
5838 d[0] = r; in pack_float_r_unorm16()
5847 _mesa_float_to_unorm(src[0], 8); in pack_float_rg_unorm8()
5853 uint8_t *d = (uint8_t *)dst; in pack_float_rg_unorm8() local
5854 d[0] = r; in pack_float_rg_unorm8()
5855 d[1] = g; in pack_float_rg_unorm8()
5864 _mesa_float_to_unorm(src[0], 16); in pack_float_rg_unorm16()
5870 uint16_t *d = (uint16_t *)dst; in pack_float_rg_unorm16() local
5871 d[0] = r; in pack_float_rg_unorm16()
5872 d[1] = g; in pack_float_rg_unorm16()
5889 _mesa_float_to_unorm(src[0], 8); in pack_float_bgr_unorm8()
5891 uint8_t *d = (uint8_t *)dst; in pack_float_bgr_unorm8() local
5892 d[0] = b; in pack_float_bgr_unorm8()
5893 d[1] = g; in pack_float_bgr_unorm8()
5894 d[2] = r; in pack_float_bgr_unorm8()
5903 _mesa_float_to_unorm(src[0], 8); in pack_float_rgb_unorm8()
5913 uint8_t *d = (uint8_t *)dst; in pack_float_rgb_unorm8() local
5914 d[0] = r; in pack_float_rgb_unorm8()
5915 d[1] = g; in pack_float_rgb_unorm8()
5916 d[2] = b; in pack_float_rgb_unorm8()
5925 _mesa_float_to_unorm(src[0], 16); in pack_float_rgba_unorm16()
5939 uint16_t *d = (uint16_t *)dst; in pack_float_rgba_unorm16() local
5940 d[0] = r; in pack_float_rgba_unorm16()
5941 d[1] = g; in pack_float_rgba_unorm16()
5942 d[2] = b; in pack_float_rgba_unorm16()
5943 d[3] = a; in pack_float_rgba_unorm16()
5952 _mesa_float_to_unorm(src[0], 16); in pack_float_rgbx_unorm16()
5963 uint16_t *d = (uint16_t *)dst; in pack_float_rgbx_unorm16() local
5964 d[0] = r; in pack_float_rgbx_unorm16()
5965 d[1] = g; in pack_float_rgbx_unorm16()
5966 d[2] = b; in pack_float_rgbx_unorm16()
5987 _mesa_float_to_snorm(src[0], 8); in pack_float_a8b8g8r8_snorm()
5989 uint32_t d = 0; in pack_float_a8b8g8r8_snorm() local
5990 d |= PACK(a, 0, 8); in pack_float_a8b8g8r8_snorm()
5991 d |= PACK(b, 8, 8); in pack_float_a8b8g8r8_snorm()
5992 d |= PACK(g, 16, 8); in pack_float_a8b8g8r8_snorm()
5993 d |= PACK(r, 24, 8); in pack_float_a8b8g8r8_snorm()
5994 (*(uint32_t *)dst) = d; in pack_float_a8b8g8r8_snorm()
6012 _mesa_float_to_snorm(src[0], 8); in pack_float_x8b8g8r8_snorm()
6014 uint32_t d = 0; in pack_float_x8b8g8r8_snorm() local
6015 d |= PACK(b, 8, 8); in pack_float_x8b8g8r8_snorm()
6016 d |= PACK(g, 16, 8); in pack_float_x8b8g8r8_snorm()
6017 d |= PACK(r, 24, 8); in pack_float_x8b8g8r8_snorm()
6018 (*(uint32_t *)dst) = d; in pack_float_x8b8g8r8_snorm()
6027 _mesa_float_to_snorm(src[0], 8); in pack_float_r8g8b8a8_snorm()
6041 uint32_t d = 0; in pack_float_r8g8b8a8_snorm() local
6042 d |= PACK(r, 0, 8); in pack_float_r8g8b8a8_snorm()
6043 d |= PACK(g, 8, 8); in pack_float_r8g8b8a8_snorm()
6044 d |= PACK(b, 16, 8); in pack_float_r8g8b8a8_snorm()
6045 d |= PACK(a, 24, 8); in pack_float_r8g8b8a8_snorm()
6046 (*(uint32_t *)dst) = d; in pack_float_r8g8b8a8_snorm()
6055 _mesa_float_to_snorm(src[0], 8); in pack_float_r8g8b8x8_snorm()
6066 uint32_t d = 0; in pack_float_r8g8b8x8_snorm() local
6067 d |= PACK(r, 0, 8); in pack_float_r8g8b8x8_snorm()
6068 d |= PACK(g, 8, 8); in pack_float_r8g8b8x8_snorm()
6069 d |= PACK(b, 16, 8); in pack_float_r8g8b8x8_snorm()
6070 (*(uint32_t *)dst) = d; in pack_float_r8g8b8x8_snorm()
6081 int8_t *d = (int8_t *)dst; in pack_float_a_snorm8() local
6082 d[0] = a; in pack_float_a_snorm8()
6093 int16_t *d = (int16_t *)dst; in pack_float_a_snorm16() local
6094 d[0] = a; in pack_float_a_snorm16()
6103 _mesa_float_to_snorm(src[0], 8); in pack_float_l_snorm8()
6105 int8_t *d = (int8_t *)dst; in pack_float_l_snorm8() local
6106 d[0] = l; in pack_float_l_snorm8()
6115 _mesa_float_to_snorm(src[0], 16); in pack_float_l_snorm16()
6117 int16_t *d = (int16_t *)dst; in pack_float_l_snorm16() local
6118 d[0] = l; in pack_float_l_snorm16()
6127 _mesa_float_to_snorm(src[0], 8); in pack_float_i_snorm8()
6129 int8_t *d = (int8_t *)dst; in pack_float_i_snorm8() local
6130 d[0] = i; in pack_float_i_snorm8()
6139 _mesa_float_to_snorm(src[0], 16); in pack_float_i_snorm16()
6141 int16_t *d = (int16_t *)dst; in pack_float_i_snorm16() local
6142 d[0] = i; in pack_float_i_snorm16()
6151 _mesa_float_to_snorm(src[0], 8); in pack_float_r_snorm8()
6153 int8_t *d = (int8_t *)dst; in pack_float_r_snorm8() local
6154 d[0] = r; in pack_float_r_snorm8()
6163 _mesa_float_to_snorm(src[0], 16); in pack_float_r_snorm16()
6165 int16_t *d = (int16_t *)dst; in pack_float_r_snorm16() local
6166 d[0] = r; in pack_float_r_snorm16()
6175 _mesa_float_to_snorm(src[0], 8); in pack_float_la_snorm8()
6181 int8_t *d = (int8_t *)dst; in pack_float_la_snorm8() local
6182 d[0] = l; in pack_float_la_snorm8()
6183 d[1] = a; in pack_float_la_snorm8()
6192 _mesa_float_to_snorm(src[0], 16); in pack_float_la_snorm16()
6198 int16_t *d = (int16_t *)dst; in pack_float_la_snorm16() local
6199 d[0] = l; in pack_float_la_snorm16()
6200 d[1] = a; in pack_float_la_snorm16()
6209 _mesa_float_to_snorm(src[0], 8); in pack_float_rg_snorm8()
6215 int8_t *d = (int8_t *)dst; in pack_float_rg_snorm8() local
6216 d[0] = r; in pack_float_rg_snorm8()
6217 d[1] = g; in pack_float_rg_snorm8()
6226 _mesa_float_to_snorm(src[0], 16); in pack_float_rg_snorm16()
6232 int16_t *d = (int16_t *)dst; in pack_float_rg_snorm16() local
6233 d[0] = r; in pack_float_rg_snorm16()
6234 d[1] = g; in pack_float_rg_snorm16()
6243 _mesa_float_to_snorm(src[0], 16); in pack_float_rgb_snorm16()
6253 int16_t *d = (int16_t *)dst; in pack_float_rgb_snorm16() local
6254 d[0] = r; in pack_float_rgb_snorm16()
6255 d[1] = g; in pack_float_rgb_snorm16()
6256 d[2] = b; in pack_float_rgb_snorm16()
6265 _mesa_float_to_snorm(src[0], 16); in pack_float_rgba_snorm16()
6279 int16_t *d = (int16_t *)dst; in pack_float_rgba_snorm16() local
6280 d[0] = r; in pack_float_rgba_snorm16()
6281 d[1] = g; in pack_float_rgba_snorm16()
6282 d[2] = b; in pack_float_rgba_snorm16()
6283 d[3] = a; in pack_float_rgba_snorm16()
6292 _mesa_float_to_snorm(src[0], 16); in pack_float_rgbx_snorm16()
6303 int16_t *d = (int16_t *)dst; in pack_float_rgbx_snorm16() local
6304 d[0] = r; in pack_float_rgbx_snorm16()
6305 d[1] = g; in pack_float_rgbx_snorm16()
6306 d[2] = b; in pack_float_rgbx_snorm16()
6330 util_format_linear_float_to_srgb_8unorm(src[0]); in pack_float_a8b8g8r8_srgb()
6332 uint32_t d = 0; in pack_float_a8b8g8r8_srgb() local
6333 d |= PACK(a, 0, 8); in pack_float_a8b8g8r8_srgb()
6334 d |= PACK(b, 8, 8); in pack_float_a8b8g8r8_srgb()
6335 d |= PACK(g, 16, 8); in pack_float_a8b8g8r8_srgb()
6336 d |= PACK(r, 24, 8); in pack_float_a8b8g8r8_srgb()
6337 (*(uint32_t *)dst) = d; in pack_float_a8b8g8r8_srgb()
6357 util_format_linear_float_to_srgb_8unorm(src[0]); in pack_float_b8g8r8a8_srgb()
6363 uint32_t d = 0; in pack_float_b8g8r8a8_srgb() local
6364 d |= PACK(b, 0, 8); in pack_float_b8g8r8a8_srgb()
6365 d |= PACK(g, 8, 8); in pack_float_b8g8r8a8_srgb()
6366 d |= PACK(r, 16, 8); in pack_float_b8g8r8a8_srgb()
6367 d |= PACK(a, 24, 8); in pack_float_b8g8r8a8_srgb()
6368 (*(uint32_t *)dst) = d; in pack_float_b8g8r8a8_srgb()
6382 util_format_linear_float_to_srgb_8unorm(src[0]); in pack_float_a8r8g8b8_srgb()
6394 uint32_t d = 0; in pack_float_a8r8g8b8_srgb() local
6395 d |= PACK(a, 0, 8); in pack_float_a8r8g8b8_srgb()
6396 d |= PACK(r, 8, 8); in pack_float_a8r8g8b8_srgb()
6397 d |= PACK(g, 16, 8); in pack_float_a8r8g8b8_srgb()
6398 d |= PACK(b, 24, 8); in pack_float_a8r8g8b8_srgb()
6399 (*(uint32_t *)dst) = d; in pack_float_a8r8g8b8_srgb()
6419 util_format_linear_float_to_srgb_8unorm(src[0]); in pack_float_b8g8r8x8_srgb()
6422 uint32_t d = 0; in pack_float_b8g8r8x8_srgb() local
6423 d |= PACK(b, 0, 8); in pack_float_b8g8r8x8_srgb()
6424 d |= PACK(g, 8, 8); in pack_float_b8g8r8x8_srgb()
6425 d |= PACK(r, 16, 8); in pack_float_b8g8r8x8_srgb()
6426 (*(uint32_t *)dst) = d; in pack_float_b8g8r8x8_srgb()
6437 util_format_linear_float_to_srgb_8unorm(src[0]); in pack_float_x8r8g8b8_srgb()
6449 uint32_t d = 0; in pack_float_x8r8g8b8_srgb() local
6450 d |= PACK(r, 8, 8); in pack_float_x8r8g8b8_srgb()
6451 d |= PACK(g, 16, 8); in pack_float_x8r8g8b8_srgb()
6452 d |= PACK(b, 24, 8); in pack_float_x8r8g8b8_srgb()
6453 (*(uint32_t *)dst) = d; in pack_float_x8r8g8b8_srgb()
6463 util_format_linear_float_to_srgb_8unorm(src[0]); in pack_float_r8g8b8a8_srgb()
6479 uint32_t d = 0; in pack_float_r8g8b8a8_srgb() local
6480 d |= PACK(r, 0, 8); in pack_float_r8g8b8a8_srgb()
6481 d |= PACK(g, 8, 8); in pack_float_r8g8b8a8_srgb()
6482 d |= PACK(b, 16, 8); in pack_float_r8g8b8a8_srgb()
6483 d |= PACK(a, 24, 8); in pack_float_r8g8b8a8_srgb()
6484 (*(uint32_t *)dst) = d; in pack_float_r8g8b8a8_srgb()
6494 util_format_linear_float_to_srgb_8unorm(src[0]); in pack_float_r8g8b8x8_srgb()
6507 uint32_t d = 0; in pack_float_r8g8b8x8_srgb() local
6508 d |= PACK(r, 0, 8); in pack_float_r8g8b8x8_srgb()
6509 d |= PACK(g, 8, 8); in pack_float_r8g8b8x8_srgb()
6510 d |= PACK(b, 16, 8); in pack_float_r8g8b8x8_srgb()
6511 (*(uint32_t *)dst) = d; in pack_float_r8g8b8x8_srgb()
6532 util_format_linear_float_to_srgb_8unorm(src[0]); in pack_float_x8b8g8r8_srgb()
6534 uint32_t d = 0; in pack_float_x8b8g8r8_srgb() local
6535 d |= PACK(b, 8, 8); in pack_float_x8b8g8r8_srgb()
6536 d |= PACK(g, 16, 8); in pack_float_x8b8g8r8_srgb()
6537 d |= PACK(r, 24, 8); in pack_float_x8b8g8r8_srgb()
6538 (*(uint32_t *)dst) = d; in pack_float_x8b8g8r8_srgb()
6548 util_format_linear_float_to_srgb_8unorm(src[0]); in pack_float_r_srgb8()
6550 uint8_t *d = (uint8_t *)dst; in pack_float_r_srgb8() local
6551 d[0] = r; in pack_float_r_srgb8()
6560 _mesa_float_to_unorm(src[0], 8); in pack_float_l_srgb8()
6562 uint8_t *d = (uint8_t *)dst; in pack_float_l_srgb8() local
6563 d[0] = l; in pack_float_l_srgb8()
6572 _mesa_float_to_unorm(src[0], 8); in pack_float_la_srgb8()
6578 uint8_t *d = (uint8_t *)dst; in pack_float_la_srgb8() local
6579 d[0] = l; in pack_float_la_srgb8()
6580 d[1] = a; in pack_float_la_srgb8()
6600 util_format_linear_float_to_srgb_8unorm(src[0]); in pack_float_bgr_srgb8()
6602 uint8_t *d = (uint8_t *)dst; in pack_float_bgr_srgb8() local
6603 d[0] = b; in pack_float_bgr_srgb8()
6604 d[1] = g; in pack_float_bgr_srgb8()
6605 d[2] = r; in pack_float_bgr_srgb8()
6616 uint16_t *d = (uint16_t *)dst; in pack_float_a_float16() local
6617 d[0] = a; in pack_float_a_float16()
6628 float *d = (float *)dst; in pack_float_a_float32() local
6629 d[0] = a; in pack_float_a_float32()
6638 _mesa_float_to_half(src[0]); in pack_float_l_float16()
6640 uint16_t *d = (uint16_t *)dst; in pack_float_l_float16() local
6641 d[0] = l; in pack_float_l_float16()
6650 src[0]; in pack_float_l_float32()
6652 float *d = (float *)dst; in pack_float_l_float32() local
6653 d[0] = l; in pack_float_l_float32()
6662 _mesa_float_to_half(src[0]); in pack_float_la_float16()
6668 uint16_t *d = (uint16_t *)dst; in pack_float_la_float16() local
6669 d[0] = l; in pack_float_la_float16()
6670 d[1] = a; in pack_float_la_float16()
6679 src[0]; in pack_float_la_float32()
6685 float *d = (float *)dst; in pack_float_la_float32() local
6686 d[0] = l; in pack_float_la_float32()
6687 d[1] = a; in pack_float_la_float32()
6696 _mesa_float_to_half(src[0]); in pack_float_i_float16()
6698 uint16_t *d = (uint16_t *)dst; in pack_float_i_float16() local
6699 d[0] = i; in pack_float_i_float16()
6708 src[0]; in pack_float_i_float32()
6710 float *d = (float *)dst; in pack_float_i_float32() local
6711 d[0] = i; in pack_float_i_float32()
6720 _mesa_float_to_half(src[0]); in pack_float_r_float16()
6722 uint16_t *d = (uint16_t *)dst; in pack_float_r_float16() local
6723 d[0] = r; in pack_float_r_float16()
6732 src[0]; in pack_float_r_float32()
6734 float *d = (float *)dst; in pack_float_r_float32() local
6735 d[0] = r; in pack_float_r_float32()
6744 _mesa_float_to_half(src[0]); in pack_float_rg_float16()
6750 uint16_t *d = (uint16_t *)dst; in pack_float_rg_float16() local
6751 d[0] = r; in pack_float_rg_float16()
6752 d[1] = g; in pack_float_rg_float16()
6761 src[0]; in pack_float_rg_float32()
6767 float *d = (float *)dst; in pack_float_rg_float32() local
6768 d[0] = r; in pack_float_rg_float32()
6769 d[1] = g; in pack_float_rg_float32()
6778 _mesa_float_to_half(src[0]); in pack_float_rgb_float16()
6788 uint16_t *d = (uint16_t *)dst; in pack_float_rgb_float16() local
6789 d[0] = r; in pack_float_rgb_float16()
6790 d[1] = g; in pack_float_rgb_float16()
6791 d[2] = b; in pack_float_rgb_float16()
6800 src[0]; in pack_float_rgb_float32()
6810 float *d = (float *)dst; in pack_float_rgb_float32() local
6811 d[0] = r; in pack_float_rgb_float32()
6812 d[1] = g; in pack_float_rgb_float32()
6813 d[2] = b; in pack_float_rgb_float32()
6822 _mesa_float_to_half(src[0]); in pack_float_rgba_float16()
6836 uint16_t *d = (uint16_t *)dst; in pack_float_rgba_float16() local
6837 d[0] = r; in pack_float_rgba_float16()
6838 d[1] = g; in pack_float_rgba_float16()
6839 d[2] = b; in pack_float_rgba_float16()
6840 d[3] = a; in pack_float_rgba_float16()
6849 src[0]; in pack_float_rgba_float32()
6863 float *d = (float *)dst; in pack_float_rgba_float32() local
6864 d[0] = r; in pack_float_rgba_float32()
6865 d[1] = g; in pack_float_rgba_float32()
6866 d[2] = b; in pack_float_rgba_float32()
6867 d[3] = a; in pack_float_rgba_float32()
6876 _mesa_float_to_half(src[0]); in pack_float_rgbx_float16()
6887 uint16_t *d = (uint16_t *)dst; in pack_float_rgbx_float16() local
6888 d[0] = r; in pack_float_rgbx_float16()
6889 d[1] = g; in pack_float_rgbx_float16()
6890 d[2] = b; in pack_float_rgbx_float16()
6899 src[0]; in pack_float_rgbx_float32()
6910 float *d = (float *)dst; in pack_float_rgbx_float32() local
6911 d[0] = r; in pack_float_rgbx_float32()
6912 d[1] = g; in pack_float_rgbx_float32()
6913 d[2] = b; in pack_float_rgbx_float32()
6919 uint32_t *d = (uint32_t *) dst; in pack_float_r9g9b9e5_float() local
6920 *d = float3_to_rgb9e5(src); in pack_float_r9g9b9e5_float()
6926 uint32_t *d = (uint32_t *) dst; in pack_float_r11g11b10_float() local
6927 *d = float3_to_r11g11b10f(src); in pack_float_r11g11b10_float()
7763 uint8_t *d = dst; in _mesa_pack_ubyte_rgba_row() local
7768 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7769 pack_ubyte_a8b8g8r8_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7770 d += 4; in _mesa_pack_ubyte_rgba_row()
7775 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7776 pack_ubyte_x8b8g8r8_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7777 d += 4; in _mesa_pack_ubyte_rgba_row()
7782 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7783 pack_ubyte_r8g8b8a8_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7784 d += 4; in _mesa_pack_ubyte_rgba_row()
7789 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7790 pack_ubyte_r8g8b8x8_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7791 d += 4; in _mesa_pack_ubyte_rgba_row()
7796 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7797 pack_ubyte_b8g8r8a8_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7798 d += 4; in _mesa_pack_ubyte_rgba_row()
7803 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7804 pack_ubyte_b8g8r8x8_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7805 d += 4; in _mesa_pack_ubyte_rgba_row()
7810 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7811 pack_ubyte_a8r8g8b8_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7812 d += 4; in _mesa_pack_ubyte_rgba_row()
7817 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7818 pack_ubyte_x8r8g8b8_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7819 d += 4; in _mesa_pack_ubyte_rgba_row()
7824 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7825 pack_ubyte_b5g6r5_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7826 d += 2; in _mesa_pack_ubyte_rgba_row()
7831 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7832 pack_ubyte_r5g6b5_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7833 d += 2; in _mesa_pack_ubyte_rgba_row()
7838 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7839 pack_ubyte_b4g4r4a4_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7840 d += 2; in _mesa_pack_ubyte_rgba_row()
7845 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7846 pack_ubyte_b4g4r4x4_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7847 d += 2; in _mesa_pack_ubyte_rgba_row()
7852 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7853 pack_ubyte_a4r4g4b4_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7854 d += 2; in _mesa_pack_ubyte_rgba_row()
7859 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7860 pack_ubyte_a1b5g5r5_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7861 d += 2; in _mesa_pack_ubyte_rgba_row()
7866 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7867 pack_ubyte_x1b5g5r5_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7868 d += 2; in _mesa_pack_ubyte_rgba_row()
7873 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7874 pack_ubyte_b5g5r5a1_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7875 d += 2; in _mesa_pack_ubyte_rgba_row()
7880 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7881 pack_ubyte_b5g5r5x1_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7882 d += 2; in _mesa_pack_ubyte_rgba_row()
7887 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7888 pack_ubyte_a1r5g5b5_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7889 d += 2; in _mesa_pack_ubyte_rgba_row()
7894 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7895 pack_ubyte_l4a4_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7896 d += 1; in _mesa_pack_ubyte_rgba_row()
7901 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7902 pack_ubyte_b2g3r3_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7903 d += 1; in _mesa_pack_ubyte_rgba_row()
7908 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7909 pack_ubyte_b10g10r10a2_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7910 d += 4; in _mesa_pack_ubyte_rgba_row()
7915 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7916 pack_ubyte_b10g10r10x2_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7917 d += 4; in _mesa_pack_ubyte_rgba_row()
7922 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7923 pack_ubyte_r10g10b10a2_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7924 d += 4; in _mesa_pack_ubyte_rgba_row()
7929 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7930 pack_ubyte_r10g10b10x2_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7931 d += 4; in _mesa_pack_ubyte_rgba_row()
7936 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7937 pack_ubyte_r3g3b2_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7938 d += 1; in _mesa_pack_ubyte_rgba_row()
7943 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7944 pack_ubyte_a4b4g4r4_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7945 d += 2; in _mesa_pack_ubyte_rgba_row()
7950 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7951 pack_ubyte_r4g4b4a4_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7952 d += 2; in _mesa_pack_ubyte_rgba_row()
7957 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7958 pack_ubyte_r5g5b5a1_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7959 d += 2; in _mesa_pack_ubyte_rgba_row()
7964 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7965 pack_ubyte_a2b10g10r10_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7966 d += 4; in _mesa_pack_ubyte_rgba_row()
7971 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7972 pack_ubyte_a2r10g10b10_unorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
7973 d += 4; in _mesa_pack_ubyte_rgba_row()
7978 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7979 pack_ubyte_a_unorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
7980 d += 1; in _mesa_pack_ubyte_rgba_row()
7985 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7986 pack_ubyte_a_unorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
7987 d += 2; in _mesa_pack_ubyte_rgba_row()
7992 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
7993 pack_ubyte_l_unorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
7994 d += 1; in _mesa_pack_ubyte_rgba_row()
7999 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8000 pack_ubyte_l_unorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8001 d += 2; in _mesa_pack_ubyte_rgba_row()
8006 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8007 pack_ubyte_la_unorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8008 d += 2; in _mesa_pack_ubyte_rgba_row()
8013 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8014 pack_ubyte_la_unorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8015 d += 4; in _mesa_pack_ubyte_rgba_row()
8020 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8021 pack_ubyte_i_unorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8022 d += 1; in _mesa_pack_ubyte_rgba_row()
8027 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8028 pack_ubyte_i_unorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8029 d += 2; in _mesa_pack_ubyte_rgba_row()
8034 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8035 pack_ubyte_r_unorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8036 d += 1; in _mesa_pack_ubyte_rgba_row()
8041 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8042 pack_ubyte_r_unorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8043 d += 2; in _mesa_pack_ubyte_rgba_row()
8048 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8049 pack_ubyte_rg_unorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8050 d += 2; in _mesa_pack_ubyte_rgba_row()
8055 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8056 pack_ubyte_rg_unorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8057 d += 4; in _mesa_pack_ubyte_rgba_row()
8062 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8063 pack_ubyte_bgr_unorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8064 d += 3; in _mesa_pack_ubyte_rgba_row()
8069 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8070 pack_ubyte_rgb_unorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8071 d += 3; in _mesa_pack_ubyte_rgba_row()
8076 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8077 pack_ubyte_rgba_unorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8078 d += 8; in _mesa_pack_ubyte_rgba_row()
8083 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8084 pack_ubyte_rgbx_unorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8085 d += 8; in _mesa_pack_ubyte_rgba_row()
8090 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8091 pack_ubyte_a8b8g8r8_snorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
8092 d += 4; in _mesa_pack_ubyte_rgba_row()
8097 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8098 pack_ubyte_x8b8g8r8_snorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
8099 d += 4; in _mesa_pack_ubyte_rgba_row()
8104 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8105 pack_ubyte_r8g8b8a8_snorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
8106 d += 4; in _mesa_pack_ubyte_rgba_row()
8111 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8112 pack_ubyte_r8g8b8x8_snorm(src[i], d); in _mesa_pack_ubyte_rgba_row()
8113 d += 4; in _mesa_pack_ubyte_rgba_row()
8118 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8119 pack_ubyte_a_snorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8120 d += 1; in _mesa_pack_ubyte_rgba_row()
8125 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8126 pack_ubyte_a_snorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8127 d += 2; in _mesa_pack_ubyte_rgba_row()
8132 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8133 pack_ubyte_l_snorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8134 d += 1; in _mesa_pack_ubyte_rgba_row()
8139 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8140 pack_ubyte_l_snorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8141 d += 2; in _mesa_pack_ubyte_rgba_row()
8146 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8147 pack_ubyte_i_snorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8148 d += 1; in _mesa_pack_ubyte_rgba_row()
8153 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8154 pack_ubyte_i_snorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8155 d += 2; in _mesa_pack_ubyte_rgba_row()
8160 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8161 pack_ubyte_r_snorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8162 d += 1; in _mesa_pack_ubyte_rgba_row()
8167 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8168 pack_ubyte_r_snorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8169 d += 2; in _mesa_pack_ubyte_rgba_row()
8174 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8175 pack_ubyte_la_snorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8176 d += 2; in _mesa_pack_ubyte_rgba_row()
8181 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8182 pack_ubyte_la_snorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8183 d += 4; in _mesa_pack_ubyte_rgba_row()
8188 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8189 pack_ubyte_rg_snorm8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8190 d += 2; in _mesa_pack_ubyte_rgba_row()
8195 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8196 pack_ubyte_rg_snorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8197 d += 4; in _mesa_pack_ubyte_rgba_row()
8202 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8203 pack_ubyte_rgb_snorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8204 d += 6; in _mesa_pack_ubyte_rgba_row()
8209 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8210 pack_ubyte_rgba_snorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8211 d += 8; in _mesa_pack_ubyte_rgba_row()
8216 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8217 pack_ubyte_rgbx_snorm16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8218 d += 8; in _mesa_pack_ubyte_rgba_row()
8223 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8224 pack_ubyte_a8b8g8r8_srgb(src[i], d); in _mesa_pack_ubyte_rgba_row()
8225 d += 4; in _mesa_pack_ubyte_rgba_row()
8230 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8231 pack_ubyte_b8g8r8a8_srgb(src[i], d); in _mesa_pack_ubyte_rgba_row()
8232 d += 4; in _mesa_pack_ubyte_rgba_row()
8237 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8238 pack_ubyte_a8r8g8b8_srgb(src[i], d); in _mesa_pack_ubyte_rgba_row()
8239 d += 4; in _mesa_pack_ubyte_rgba_row()
8244 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8245 pack_ubyte_b8g8r8x8_srgb(src[i], d); in _mesa_pack_ubyte_rgba_row()
8246 d += 4; in _mesa_pack_ubyte_rgba_row()
8251 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8252 pack_ubyte_x8r8g8b8_srgb(src[i], d); in _mesa_pack_ubyte_rgba_row()
8253 d += 4; in _mesa_pack_ubyte_rgba_row()
8258 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8259 pack_ubyte_r8g8b8a8_srgb(src[i], d); in _mesa_pack_ubyte_rgba_row()
8260 d += 4; in _mesa_pack_ubyte_rgba_row()
8265 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8266 pack_ubyte_r8g8b8x8_srgb(src[i], d); in _mesa_pack_ubyte_rgba_row()
8267 d += 4; in _mesa_pack_ubyte_rgba_row()
8272 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8273 pack_ubyte_x8b8g8r8_srgb(src[i], d); in _mesa_pack_ubyte_rgba_row()
8274 d += 4; in _mesa_pack_ubyte_rgba_row()
8279 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8280 pack_ubyte_r_srgb8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8281 d += 1; in _mesa_pack_ubyte_rgba_row()
8286 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8287 pack_ubyte_l_srgb8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8288 d += 1; in _mesa_pack_ubyte_rgba_row()
8293 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8294 pack_ubyte_la_srgb8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8295 d += 2; in _mesa_pack_ubyte_rgba_row()
8300 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8301 pack_ubyte_bgr_srgb8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8302 d += 3; in _mesa_pack_ubyte_rgba_row()
8307 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8308 pack_ubyte_r9g9b9e5_float(src[i], d); in _mesa_pack_ubyte_rgba_row()
8309 d += 4; in _mesa_pack_ubyte_rgba_row()
8314 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8315 pack_ubyte_r11g11b10_float(src[i], d); in _mesa_pack_ubyte_rgba_row()
8316 d += 4; in _mesa_pack_ubyte_rgba_row()
8321 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8322 pack_ubyte_a_float16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8323 d += 2; in _mesa_pack_ubyte_rgba_row()
8328 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8329 pack_ubyte_a_float32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8330 d += 4; in _mesa_pack_ubyte_rgba_row()
8335 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8336 pack_ubyte_l_float16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8337 d += 2; in _mesa_pack_ubyte_rgba_row()
8342 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8343 pack_ubyte_l_float32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8344 d += 4; in _mesa_pack_ubyte_rgba_row()
8349 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8350 pack_ubyte_la_float16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8351 d += 4; in _mesa_pack_ubyte_rgba_row()
8356 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8357 pack_ubyte_la_float32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8358 d += 8; in _mesa_pack_ubyte_rgba_row()
8363 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8364 pack_ubyte_i_float16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8365 d += 2; in _mesa_pack_ubyte_rgba_row()
8370 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8371 pack_ubyte_i_float32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8372 d += 4; in _mesa_pack_ubyte_rgba_row()
8377 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8378 pack_ubyte_r_float16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8379 d += 2; in _mesa_pack_ubyte_rgba_row()
8384 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8385 pack_ubyte_r_float32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8386 d += 4; in _mesa_pack_ubyte_rgba_row()
8391 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8392 pack_ubyte_rg_float16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8393 d += 4; in _mesa_pack_ubyte_rgba_row()
8398 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8399 pack_ubyte_rg_float32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8400 d += 8; in _mesa_pack_ubyte_rgba_row()
8405 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8406 pack_ubyte_rgb_float16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8407 d += 6; in _mesa_pack_ubyte_rgba_row()
8412 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8413 pack_ubyte_rgb_float32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8414 d += 12; in _mesa_pack_ubyte_rgba_row()
8419 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8420 pack_ubyte_rgba_float16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8421 d += 8; in _mesa_pack_ubyte_rgba_row()
8426 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8427 pack_ubyte_rgba_float32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8428 d += 16; in _mesa_pack_ubyte_rgba_row()
8433 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8434 pack_ubyte_rgbx_float16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8435 d += 8; in _mesa_pack_ubyte_rgba_row()
8440 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8441 pack_ubyte_rgbx_float32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8442 d += 16; in _mesa_pack_ubyte_rgba_row()
8447 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8448 pack_ubyte_a8b8g8r8_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8449 d += 4; in _mesa_pack_ubyte_rgba_row()
8454 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8455 pack_ubyte_a8r8g8b8_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8456 d += 4; in _mesa_pack_ubyte_rgba_row()
8461 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8462 pack_ubyte_r8g8b8a8_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8463 d += 4; in _mesa_pack_ubyte_rgba_row()
8468 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8469 pack_ubyte_b8g8r8a8_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8470 d += 4; in _mesa_pack_ubyte_rgba_row()
8475 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8476 pack_ubyte_b10g10r10a2_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8477 d += 4; in _mesa_pack_ubyte_rgba_row()
8482 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8483 pack_ubyte_r10g10b10a2_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8484 d += 4; in _mesa_pack_ubyte_rgba_row()
8489 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8490 pack_ubyte_a2b10g10r10_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8491 d += 4; in _mesa_pack_ubyte_rgba_row()
8496 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8497 pack_ubyte_a2r10g10b10_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8498 d += 4; in _mesa_pack_ubyte_rgba_row()
8503 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8504 pack_ubyte_b5g6r5_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8505 d += 2; in _mesa_pack_ubyte_rgba_row()
8510 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8511 pack_ubyte_r5g6b5_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8512 d += 2; in _mesa_pack_ubyte_rgba_row()
8517 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8518 pack_ubyte_b2g3r3_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8519 d += 1; in _mesa_pack_ubyte_rgba_row()
8524 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8525 pack_ubyte_r3g3b2_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8526 d += 1; in _mesa_pack_ubyte_rgba_row()
8531 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8532 pack_ubyte_a4b4g4r4_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8533 d += 2; in _mesa_pack_ubyte_rgba_row()
8538 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8539 pack_ubyte_r4g4b4a4_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8540 d += 2; in _mesa_pack_ubyte_rgba_row()
8545 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8546 pack_ubyte_b4g4r4a4_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8547 d += 2; in _mesa_pack_ubyte_rgba_row()
8552 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8553 pack_ubyte_a4r4g4b4_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8554 d += 2; in _mesa_pack_ubyte_rgba_row()
8559 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8560 pack_ubyte_a1b5g5r5_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8561 d += 2; in _mesa_pack_ubyte_rgba_row()
8566 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8567 pack_ubyte_b5g5r5a1_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8568 d += 2; in _mesa_pack_ubyte_rgba_row()
8573 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8574 pack_ubyte_a1r5g5b5_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8575 d += 2; in _mesa_pack_ubyte_rgba_row()
8580 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8581 pack_ubyte_r5g5b5a1_uint(src[i], d); in _mesa_pack_ubyte_rgba_row()
8582 d += 2; in _mesa_pack_ubyte_rgba_row()
8587 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8588 pack_ubyte_a_uint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8589 d += 1; in _mesa_pack_ubyte_rgba_row()
8594 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8595 pack_ubyte_a_uint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8596 d += 2; in _mesa_pack_ubyte_rgba_row()
8601 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8602 pack_ubyte_a_uint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8603 d += 4; in _mesa_pack_ubyte_rgba_row()
8608 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8609 pack_ubyte_a_sint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8610 d += 1; in _mesa_pack_ubyte_rgba_row()
8615 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8616 pack_ubyte_a_sint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8617 d += 2; in _mesa_pack_ubyte_rgba_row()
8622 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8623 pack_ubyte_a_sint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8624 d += 4; in _mesa_pack_ubyte_rgba_row()
8629 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8630 pack_ubyte_i_uint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8631 d += 1; in _mesa_pack_ubyte_rgba_row()
8636 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8637 pack_ubyte_i_uint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8638 d += 2; in _mesa_pack_ubyte_rgba_row()
8643 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8644 pack_ubyte_i_uint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8645 d += 4; in _mesa_pack_ubyte_rgba_row()
8650 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8651 pack_ubyte_i_sint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8652 d += 1; in _mesa_pack_ubyte_rgba_row()
8657 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8658 pack_ubyte_i_sint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8659 d += 2; in _mesa_pack_ubyte_rgba_row()
8664 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8665 pack_ubyte_i_sint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8666 d += 4; in _mesa_pack_ubyte_rgba_row()
8671 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8672 pack_ubyte_l_uint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8673 d += 1; in _mesa_pack_ubyte_rgba_row()
8678 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8679 pack_ubyte_l_uint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8680 d += 2; in _mesa_pack_ubyte_rgba_row()
8685 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8686 pack_ubyte_l_uint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8687 d += 4; in _mesa_pack_ubyte_rgba_row()
8692 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8693 pack_ubyte_l_sint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8694 d += 1; in _mesa_pack_ubyte_rgba_row()
8699 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8700 pack_ubyte_l_sint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8701 d += 2; in _mesa_pack_ubyte_rgba_row()
8706 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8707 pack_ubyte_l_sint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8708 d += 4; in _mesa_pack_ubyte_rgba_row()
8713 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8714 pack_ubyte_la_uint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8715 d += 2; in _mesa_pack_ubyte_rgba_row()
8720 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8721 pack_ubyte_la_uint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8722 d += 4; in _mesa_pack_ubyte_rgba_row()
8727 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8728 pack_ubyte_la_uint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8729 d += 8; in _mesa_pack_ubyte_rgba_row()
8734 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8735 pack_ubyte_la_sint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8736 d += 2; in _mesa_pack_ubyte_rgba_row()
8741 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8742 pack_ubyte_la_sint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8743 d += 4; in _mesa_pack_ubyte_rgba_row()
8748 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8749 pack_ubyte_la_sint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8750 d += 8; in _mesa_pack_ubyte_rgba_row()
8755 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8756 pack_ubyte_r_uint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8757 d += 1; in _mesa_pack_ubyte_rgba_row()
8762 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8763 pack_ubyte_r_uint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8764 d += 2; in _mesa_pack_ubyte_rgba_row()
8769 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8770 pack_ubyte_r_uint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8771 d += 4; in _mesa_pack_ubyte_rgba_row()
8776 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8777 pack_ubyte_r_sint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8778 d += 1; in _mesa_pack_ubyte_rgba_row()
8783 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8784 pack_ubyte_r_sint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8785 d += 2; in _mesa_pack_ubyte_rgba_row()
8790 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8791 pack_ubyte_r_sint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8792 d += 4; in _mesa_pack_ubyte_rgba_row()
8797 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8798 pack_ubyte_rg_uint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8799 d += 2; in _mesa_pack_ubyte_rgba_row()
8804 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8805 pack_ubyte_rg_uint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8806 d += 4; in _mesa_pack_ubyte_rgba_row()
8811 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8812 pack_ubyte_rg_uint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8813 d += 8; in _mesa_pack_ubyte_rgba_row()
8818 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8819 pack_ubyte_rg_sint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8820 d += 2; in _mesa_pack_ubyte_rgba_row()
8825 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8826 pack_ubyte_rg_sint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8827 d += 4; in _mesa_pack_ubyte_rgba_row()
8832 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8833 pack_ubyte_rg_sint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8834 d += 8; in _mesa_pack_ubyte_rgba_row()
8839 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8840 pack_ubyte_rgb_uint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8841 d += 3; in _mesa_pack_ubyte_rgba_row()
8846 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8847 pack_ubyte_rgb_uint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8848 d += 6; in _mesa_pack_ubyte_rgba_row()
8853 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8854 pack_ubyte_rgb_uint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8855 d += 12; in _mesa_pack_ubyte_rgba_row()
8860 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8861 pack_ubyte_rgb_sint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8862 d += 3; in _mesa_pack_ubyte_rgba_row()
8867 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8868 pack_ubyte_rgb_sint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8869 d += 6; in _mesa_pack_ubyte_rgba_row()
8874 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8875 pack_ubyte_rgb_sint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8876 d += 12; in _mesa_pack_ubyte_rgba_row()
8881 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8882 pack_ubyte_rgba_uint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8883 d += 8; in _mesa_pack_ubyte_rgba_row()
8888 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8889 pack_ubyte_rgba_uint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8890 d += 16; in _mesa_pack_ubyte_rgba_row()
8895 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8896 pack_ubyte_rgba_sint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8897 d += 4; in _mesa_pack_ubyte_rgba_row()
8902 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8903 pack_ubyte_rgba_sint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8904 d += 8; in _mesa_pack_ubyte_rgba_row()
8909 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8910 pack_ubyte_rgba_sint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8911 d += 16; in _mesa_pack_ubyte_rgba_row()
8916 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8917 pack_ubyte_rgbx_uint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8918 d += 4; in _mesa_pack_ubyte_rgba_row()
8923 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8924 pack_ubyte_rgbx_uint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8925 d += 8; in _mesa_pack_ubyte_rgba_row()
8930 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8931 pack_ubyte_rgbx_uint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8932 d += 16; in _mesa_pack_ubyte_rgba_row()
8937 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8938 pack_ubyte_rgbx_sint8(src[i], d); in _mesa_pack_ubyte_rgba_row()
8939 d += 4; in _mesa_pack_ubyte_rgba_row()
8944 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8945 pack_ubyte_rgbx_sint16(src[i], d); in _mesa_pack_ubyte_rgba_row()
8946 d += 8; in _mesa_pack_ubyte_rgba_row()
8951 for (i = 0; i < n; ++i) { in _mesa_pack_ubyte_rgba_row()
8952 pack_ubyte_rgbx_sint32(src[i], d); in _mesa_pack_ubyte_rgba_row()
8953 d += 16; in _mesa_pack_ubyte_rgba_row()
8969 uint8_t *d = dst; in _mesa_pack_uint_rgba_row() local
8974 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
8975 pack_uint_a8b8g8r8_uint(src[i], d); in _mesa_pack_uint_rgba_row()
8976 d += 4; in _mesa_pack_uint_rgba_row()
8981 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
8982 pack_uint_a8r8g8b8_uint(src[i], d); in _mesa_pack_uint_rgba_row()
8983 d += 4; in _mesa_pack_uint_rgba_row()
8988 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
8989 pack_uint_r8g8b8a8_uint(src[i], d); in _mesa_pack_uint_rgba_row()
8990 d += 4; in _mesa_pack_uint_rgba_row()
8995 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
8996 pack_uint_b8g8r8a8_uint(src[i], d); in _mesa_pack_uint_rgba_row()
8997 d += 4; in _mesa_pack_uint_rgba_row()
9002 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9003 pack_uint_b10g10r10a2_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9004 d += 4; in _mesa_pack_uint_rgba_row()
9009 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9010 pack_uint_r10g10b10a2_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9011 d += 4; in _mesa_pack_uint_rgba_row()
9016 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9017 pack_uint_a2b10g10r10_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9018 d += 4; in _mesa_pack_uint_rgba_row()
9023 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9024 pack_uint_a2r10g10b10_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9025 d += 4; in _mesa_pack_uint_rgba_row()
9030 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9031 pack_uint_b5g6r5_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9032 d += 2; in _mesa_pack_uint_rgba_row()
9037 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9038 pack_uint_r5g6b5_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9039 d += 2; in _mesa_pack_uint_rgba_row()
9044 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9045 pack_uint_b2g3r3_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9046 d += 1; in _mesa_pack_uint_rgba_row()
9051 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9052 pack_uint_r3g3b2_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9053 d += 1; in _mesa_pack_uint_rgba_row()
9058 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9059 pack_uint_a4b4g4r4_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9060 d += 2; in _mesa_pack_uint_rgba_row()
9065 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9066 pack_uint_r4g4b4a4_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9067 d += 2; in _mesa_pack_uint_rgba_row()
9072 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9073 pack_uint_b4g4r4a4_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9074 d += 2; in _mesa_pack_uint_rgba_row()
9079 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9080 pack_uint_a4r4g4b4_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9081 d += 2; in _mesa_pack_uint_rgba_row()
9086 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9087 pack_uint_a1b5g5r5_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9088 d += 2; in _mesa_pack_uint_rgba_row()
9093 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9094 pack_uint_b5g5r5a1_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9095 d += 2; in _mesa_pack_uint_rgba_row()
9100 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9101 pack_uint_a1r5g5b5_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9102 d += 2; in _mesa_pack_uint_rgba_row()
9107 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9108 pack_uint_r5g5b5a1_uint(src[i], d); in _mesa_pack_uint_rgba_row()
9109 d += 2; in _mesa_pack_uint_rgba_row()
9114 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9115 pack_uint_a_uint8(src[i], d); in _mesa_pack_uint_rgba_row()
9116 d += 1; in _mesa_pack_uint_rgba_row()
9121 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9122 pack_uint_a_uint16(src[i], d); in _mesa_pack_uint_rgba_row()
9123 d += 2; in _mesa_pack_uint_rgba_row()
9128 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9129 pack_uint_a_uint32(src[i], d); in _mesa_pack_uint_rgba_row()
9130 d += 4; in _mesa_pack_uint_rgba_row()
9135 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9136 pack_uint_a_sint8(src[i], d); in _mesa_pack_uint_rgba_row()
9137 d += 1; in _mesa_pack_uint_rgba_row()
9142 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9143 pack_uint_a_sint16(src[i], d); in _mesa_pack_uint_rgba_row()
9144 d += 2; in _mesa_pack_uint_rgba_row()
9149 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9150 pack_uint_a_sint32(src[i], d); in _mesa_pack_uint_rgba_row()
9151 d += 4; in _mesa_pack_uint_rgba_row()
9156 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9157 pack_uint_i_uint8(src[i], d); in _mesa_pack_uint_rgba_row()
9158 d += 1; in _mesa_pack_uint_rgba_row()
9163 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9164 pack_uint_i_uint16(src[i], d); in _mesa_pack_uint_rgba_row()
9165 d += 2; in _mesa_pack_uint_rgba_row()
9170 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9171 pack_uint_i_uint32(src[i], d); in _mesa_pack_uint_rgba_row()
9172 d += 4; in _mesa_pack_uint_rgba_row()
9177 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9178 pack_uint_i_sint8(src[i], d); in _mesa_pack_uint_rgba_row()
9179 d += 1; in _mesa_pack_uint_rgba_row()
9184 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9185 pack_uint_i_sint16(src[i], d); in _mesa_pack_uint_rgba_row()
9186 d += 2; in _mesa_pack_uint_rgba_row()
9191 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9192 pack_uint_i_sint32(src[i], d); in _mesa_pack_uint_rgba_row()
9193 d += 4; in _mesa_pack_uint_rgba_row()
9198 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9199 pack_uint_l_uint8(src[i], d); in _mesa_pack_uint_rgba_row()
9200 d += 1; in _mesa_pack_uint_rgba_row()
9205 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9206 pack_uint_l_uint16(src[i], d); in _mesa_pack_uint_rgba_row()
9207 d += 2; in _mesa_pack_uint_rgba_row()
9212 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9213 pack_uint_l_uint32(src[i], d); in _mesa_pack_uint_rgba_row()
9214 d += 4; in _mesa_pack_uint_rgba_row()
9219 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9220 pack_uint_l_sint8(src[i], d); in _mesa_pack_uint_rgba_row()
9221 d += 1; in _mesa_pack_uint_rgba_row()
9226 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9227 pack_uint_l_sint16(src[i], d); in _mesa_pack_uint_rgba_row()
9228 d += 2; in _mesa_pack_uint_rgba_row()
9233 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9234 pack_uint_l_sint32(src[i], d); in _mesa_pack_uint_rgba_row()
9235 d += 4; in _mesa_pack_uint_rgba_row()
9240 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9241 pack_uint_la_uint8(src[i], d); in _mesa_pack_uint_rgba_row()
9242 d += 2; in _mesa_pack_uint_rgba_row()
9247 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9248 pack_uint_la_uint16(src[i], d); in _mesa_pack_uint_rgba_row()
9249 d += 4; in _mesa_pack_uint_rgba_row()
9254 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9255 pack_uint_la_uint32(src[i], d); in _mesa_pack_uint_rgba_row()
9256 d += 8; in _mesa_pack_uint_rgba_row()
9261 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9262 pack_uint_la_sint8(src[i], d); in _mesa_pack_uint_rgba_row()
9263 d += 2; in _mesa_pack_uint_rgba_row()
9268 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9269 pack_uint_la_sint16(src[i], d); in _mesa_pack_uint_rgba_row()
9270 d += 4; in _mesa_pack_uint_rgba_row()
9275 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9276 pack_uint_la_sint32(src[i], d); in _mesa_pack_uint_rgba_row()
9277 d += 8; in _mesa_pack_uint_rgba_row()
9282 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9283 pack_uint_r_uint8(src[i], d); in _mesa_pack_uint_rgba_row()
9284 d += 1; in _mesa_pack_uint_rgba_row()
9289 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9290 pack_uint_r_uint16(src[i], d); in _mesa_pack_uint_rgba_row()
9291 d += 2; in _mesa_pack_uint_rgba_row()
9296 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9297 pack_uint_r_uint32(src[i], d); in _mesa_pack_uint_rgba_row()
9298 d += 4; in _mesa_pack_uint_rgba_row()
9303 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9304 pack_uint_r_sint8(src[i], d); in _mesa_pack_uint_rgba_row()
9305 d += 1; in _mesa_pack_uint_rgba_row()
9310 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9311 pack_uint_r_sint16(src[i], d); in _mesa_pack_uint_rgba_row()
9312 d += 2; in _mesa_pack_uint_rgba_row()
9317 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9318 pack_uint_r_sint32(src[i], d); in _mesa_pack_uint_rgba_row()
9319 d += 4; in _mesa_pack_uint_rgba_row()
9324 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9325 pack_uint_rg_uint8(src[i], d); in _mesa_pack_uint_rgba_row()
9326 d += 2; in _mesa_pack_uint_rgba_row()
9331 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9332 pack_uint_rg_uint16(src[i], d); in _mesa_pack_uint_rgba_row()
9333 d += 4; in _mesa_pack_uint_rgba_row()
9338 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9339 pack_uint_rg_uint32(src[i], d); in _mesa_pack_uint_rgba_row()
9340 d += 8; in _mesa_pack_uint_rgba_row()
9345 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9346 pack_uint_rg_sint8(src[i], d); in _mesa_pack_uint_rgba_row()
9347 d += 2; in _mesa_pack_uint_rgba_row()
9352 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9353 pack_uint_rg_sint16(src[i], d); in _mesa_pack_uint_rgba_row()
9354 d += 4; in _mesa_pack_uint_rgba_row()
9359 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9360 pack_uint_rg_sint32(src[i], d); in _mesa_pack_uint_rgba_row()
9361 d += 8; in _mesa_pack_uint_rgba_row()
9366 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9367 pack_uint_rgb_uint8(src[i], d); in _mesa_pack_uint_rgba_row()
9368 d += 3; in _mesa_pack_uint_rgba_row()
9373 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9374 pack_uint_rgb_uint16(src[i], d); in _mesa_pack_uint_rgba_row()
9375 d += 6; in _mesa_pack_uint_rgba_row()
9380 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9381 pack_uint_rgb_uint32(src[i], d); in _mesa_pack_uint_rgba_row()
9382 d += 12; in _mesa_pack_uint_rgba_row()
9387 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9388 pack_uint_rgb_sint8(src[i], d); in _mesa_pack_uint_rgba_row()
9389 d += 3; in _mesa_pack_uint_rgba_row()
9394 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9395 pack_uint_rgb_sint16(src[i], d); in _mesa_pack_uint_rgba_row()
9396 d += 6; in _mesa_pack_uint_rgba_row()
9401 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9402 pack_uint_rgb_sint32(src[i], d); in _mesa_pack_uint_rgba_row()
9403 d += 12; in _mesa_pack_uint_rgba_row()
9408 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9409 pack_uint_rgba_uint16(src[i], d); in _mesa_pack_uint_rgba_row()
9410 d += 8; in _mesa_pack_uint_rgba_row()
9415 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9416 pack_uint_rgba_uint32(src[i], d); in _mesa_pack_uint_rgba_row()
9417 d += 16; in _mesa_pack_uint_rgba_row()
9422 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9423 pack_uint_rgba_sint8(src[i], d); in _mesa_pack_uint_rgba_row()
9424 d += 4; in _mesa_pack_uint_rgba_row()
9429 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9430 pack_uint_rgba_sint16(src[i], d); in _mesa_pack_uint_rgba_row()
9431 d += 8; in _mesa_pack_uint_rgba_row()
9436 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9437 pack_uint_rgba_sint32(src[i], d); in _mesa_pack_uint_rgba_row()
9438 d += 16; in _mesa_pack_uint_rgba_row()
9443 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9444 pack_uint_rgbx_uint8(src[i], d); in _mesa_pack_uint_rgba_row()
9445 d += 4; in _mesa_pack_uint_rgba_row()
9450 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9451 pack_uint_rgbx_uint16(src[i], d); in _mesa_pack_uint_rgba_row()
9452 d += 8; in _mesa_pack_uint_rgba_row()
9457 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9458 pack_uint_rgbx_uint32(src[i], d); in _mesa_pack_uint_rgba_row()
9459 d += 16; in _mesa_pack_uint_rgba_row()
9464 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9465 pack_uint_rgbx_sint8(src[i], d); in _mesa_pack_uint_rgba_row()
9466 d += 4; in _mesa_pack_uint_rgba_row()
9471 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9472 pack_uint_rgbx_sint16(src[i], d); in _mesa_pack_uint_rgba_row()
9473 d += 8; in _mesa_pack_uint_rgba_row()
9478 for (i = 0; i < n; ++i) { in _mesa_pack_uint_rgba_row()
9479 pack_uint_rgbx_sint32(src[i], d); in _mesa_pack_uint_rgba_row()
9480 d += 16; in _mesa_pack_uint_rgba_row()
9496 uint8_t *d = dst; in _mesa_pack_float_rgba_row() local
9501 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9502 pack_float_a8b8g8r8_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9503 d += 4; in _mesa_pack_float_rgba_row()
9508 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9509 pack_float_x8b8g8r8_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9510 d += 4; in _mesa_pack_float_rgba_row()
9515 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9516 pack_float_r8g8b8a8_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9517 d += 4; in _mesa_pack_float_rgba_row()
9522 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9523 pack_float_r8g8b8x8_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9524 d += 4; in _mesa_pack_float_rgba_row()
9529 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9530 pack_float_b8g8r8a8_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9531 d += 4; in _mesa_pack_float_rgba_row()
9536 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9537 pack_float_b8g8r8x8_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9538 d += 4; in _mesa_pack_float_rgba_row()
9543 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9544 pack_float_a8r8g8b8_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9545 d += 4; in _mesa_pack_float_rgba_row()
9550 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9551 pack_float_x8r8g8b8_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9552 d += 4; in _mesa_pack_float_rgba_row()
9557 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9558 pack_float_b5g6r5_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9559 d += 2; in _mesa_pack_float_rgba_row()
9564 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9565 pack_float_r5g6b5_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9566 d += 2; in _mesa_pack_float_rgba_row()
9571 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9572 pack_float_b4g4r4a4_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9573 d += 2; in _mesa_pack_float_rgba_row()
9578 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9579 pack_float_b4g4r4x4_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9580 d += 2; in _mesa_pack_float_rgba_row()
9585 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9586 pack_float_a4r4g4b4_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9587 d += 2; in _mesa_pack_float_rgba_row()
9592 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9593 pack_float_a1b5g5r5_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9594 d += 2; in _mesa_pack_float_rgba_row()
9599 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9600 pack_float_x1b5g5r5_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9601 d += 2; in _mesa_pack_float_rgba_row()
9606 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9607 pack_float_b5g5r5a1_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9608 d += 2; in _mesa_pack_float_rgba_row()
9613 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9614 pack_float_b5g5r5x1_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9615 d += 2; in _mesa_pack_float_rgba_row()
9620 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9621 pack_float_a1r5g5b5_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9622 d += 2; in _mesa_pack_float_rgba_row()
9627 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9628 pack_float_l4a4_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9629 d += 1; in _mesa_pack_float_rgba_row()
9634 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9635 pack_float_b2g3r3_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9636 d += 1; in _mesa_pack_float_rgba_row()
9641 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9642 pack_float_b10g10r10a2_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9643 d += 4; in _mesa_pack_float_rgba_row()
9648 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9649 pack_float_b10g10r10x2_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9650 d += 4; in _mesa_pack_float_rgba_row()
9655 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9656 pack_float_r10g10b10a2_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9657 d += 4; in _mesa_pack_float_rgba_row()
9662 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9663 pack_float_r10g10b10x2_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9664 d += 4; in _mesa_pack_float_rgba_row()
9669 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9670 pack_float_r3g3b2_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9671 d += 1; in _mesa_pack_float_rgba_row()
9676 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9677 pack_float_a4b4g4r4_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9678 d += 2; in _mesa_pack_float_rgba_row()
9683 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9684 pack_float_r4g4b4a4_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9685 d += 2; in _mesa_pack_float_rgba_row()
9690 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9691 pack_float_r5g5b5a1_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9692 d += 2; in _mesa_pack_float_rgba_row()
9697 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9698 pack_float_a2b10g10r10_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9699 d += 4; in _mesa_pack_float_rgba_row()
9704 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9705 pack_float_a2r10g10b10_unorm(src[i], d); in _mesa_pack_float_rgba_row()
9706 d += 4; in _mesa_pack_float_rgba_row()
9711 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9712 pack_float_a_unorm8(src[i], d); in _mesa_pack_float_rgba_row()
9713 d += 1; in _mesa_pack_float_rgba_row()
9718 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9719 pack_float_a_unorm16(src[i], d); in _mesa_pack_float_rgba_row()
9720 d += 2; in _mesa_pack_float_rgba_row()
9725 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9726 pack_float_l_unorm8(src[i], d); in _mesa_pack_float_rgba_row()
9727 d += 1; in _mesa_pack_float_rgba_row()
9732 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9733 pack_float_l_unorm16(src[i], d); in _mesa_pack_float_rgba_row()
9734 d += 2; in _mesa_pack_float_rgba_row()
9739 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9740 pack_float_la_unorm8(src[i], d); in _mesa_pack_float_rgba_row()
9741 d += 2; in _mesa_pack_float_rgba_row()
9746 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9747 pack_float_la_unorm16(src[i], d); in _mesa_pack_float_rgba_row()
9748 d += 4; in _mesa_pack_float_rgba_row()
9753 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9754 pack_float_i_unorm8(src[i], d); in _mesa_pack_float_rgba_row()
9755 d += 1; in _mesa_pack_float_rgba_row()
9760 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9761 pack_float_i_unorm16(src[i], d); in _mesa_pack_float_rgba_row()
9762 d += 2; in _mesa_pack_float_rgba_row()
9767 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9768 pack_float_r_unorm8(src[i], d); in _mesa_pack_float_rgba_row()
9769 d += 1; in _mesa_pack_float_rgba_row()
9774 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9775 pack_float_r_unorm16(src[i], d); in _mesa_pack_float_rgba_row()
9776 d += 2; in _mesa_pack_float_rgba_row()
9781 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9782 pack_float_rg_unorm8(src[i], d); in _mesa_pack_float_rgba_row()
9783 d += 2; in _mesa_pack_float_rgba_row()
9788 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9789 pack_float_rg_unorm16(src[i], d); in _mesa_pack_float_rgba_row()
9790 d += 4; in _mesa_pack_float_rgba_row()
9795 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9796 pack_float_bgr_unorm8(src[i], d); in _mesa_pack_float_rgba_row()
9797 d += 3; in _mesa_pack_float_rgba_row()
9802 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9803 pack_float_rgb_unorm8(src[i], d); in _mesa_pack_float_rgba_row()
9804 d += 3; in _mesa_pack_float_rgba_row()
9809 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9810 pack_float_rgba_unorm16(src[i], d); in _mesa_pack_float_rgba_row()
9811 d += 8; in _mesa_pack_float_rgba_row()
9816 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9817 pack_float_rgbx_unorm16(src[i], d); in _mesa_pack_float_rgba_row()
9818 d += 8; in _mesa_pack_float_rgba_row()
9823 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9824 pack_float_a8b8g8r8_snorm(src[i], d); in _mesa_pack_float_rgba_row()
9825 d += 4; in _mesa_pack_float_rgba_row()
9830 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9831 pack_float_x8b8g8r8_snorm(src[i], d); in _mesa_pack_float_rgba_row()
9832 d += 4; in _mesa_pack_float_rgba_row()
9837 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9838 pack_float_r8g8b8a8_snorm(src[i], d); in _mesa_pack_float_rgba_row()
9839 d += 4; in _mesa_pack_float_rgba_row()
9844 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9845 pack_float_r8g8b8x8_snorm(src[i], d); in _mesa_pack_float_rgba_row()
9846 d += 4; in _mesa_pack_float_rgba_row()
9851 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9852 pack_float_a_snorm8(src[i], d); in _mesa_pack_float_rgba_row()
9853 d += 1; in _mesa_pack_float_rgba_row()
9858 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9859 pack_float_a_snorm16(src[i], d); in _mesa_pack_float_rgba_row()
9860 d += 2; in _mesa_pack_float_rgba_row()
9865 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9866 pack_float_l_snorm8(src[i], d); in _mesa_pack_float_rgba_row()
9867 d += 1; in _mesa_pack_float_rgba_row()
9872 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9873 pack_float_l_snorm16(src[i], d); in _mesa_pack_float_rgba_row()
9874 d += 2; in _mesa_pack_float_rgba_row()
9879 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9880 pack_float_i_snorm8(src[i], d); in _mesa_pack_float_rgba_row()
9881 d += 1; in _mesa_pack_float_rgba_row()
9886 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9887 pack_float_i_snorm16(src[i], d); in _mesa_pack_float_rgba_row()
9888 d += 2; in _mesa_pack_float_rgba_row()
9893 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9894 pack_float_r_snorm8(src[i], d); in _mesa_pack_float_rgba_row()
9895 d += 1; in _mesa_pack_float_rgba_row()
9900 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9901 pack_float_r_snorm16(src[i], d); in _mesa_pack_float_rgba_row()
9902 d += 2; in _mesa_pack_float_rgba_row()
9907 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9908 pack_float_la_snorm8(src[i], d); in _mesa_pack_float_rgba_row()
9909 d += 2; in _mesa_pack_float_rgba_row()
9914 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9915 pack_float_la_snorm16(src[i], d); in _mesa_pack_float_rgba_row()
9916 d += 4; in _mesa_pack_float_rgba_row()
9921 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9922 pack_float_rg_snorm8(src[i], d); in _mesa_pack_float_rgba_row()
9923 d += 2; in _mesa_pack_float_rgba_row()
9928 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9929 pack_float_rg_snorm16(src[i], d); in _mesa_pack_float_rgba_row()
9930 d += 4; in _mesa_pack_float_rgba_row()
9935 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9936 pack_float_rgb_snorm16(src[i], d); in _mesa_pack_float_rgba_row()
9937 d += 6; in _mesa_pack_float_rgba_row()
9942 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9943 pack_float_rgba_snorm16(src[i], d); in _mesa_pack_float_rgba_row()
9944 d += 8; in _mesa_pack_float_rgba_row()
9949 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9950 pack_float_rgbx_snorm16(src[i], d); in _mesa_pack_float_rgba_row()
9951 d += 8; in _mesa_pack_float_rgba_row()
9956 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9957 pack_float_a8b8g8r8_srgb(src[i], d); in _mesa_pack_float_rgba_row()
9958 d += 4; in _mesa_pack_float_rgba_row()
9963 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9964 pack_float_b8g8r8a8_srgb(src[i], d); in _mesa_pack_float_rgba_row()
9965 d += 4; in _mesa_pack_float_rgba_row()
9970 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9971 pack_float_a8r8g8b8_srgb(src[i], d); in _mesa_pack_float_rgba_row()
9972 d += 4; in _mesa_pack_float_rgba_row()
9977 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9978 pack_float_b8g8r8x8_srgb(src[i], d); in _mesa_pack_float_rgba_row()
9979 d += 4; in _mesa_pack_float_rgba_row()
9984 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9985 pack_float_x8r8g8b8_srgb(src[i], d); in _mesa_pack_float_rgba_row()
9986 d += 4; in _mesa_pack_float_rgba_row()
9991 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9992 pack_float_r8g8b8a8_srgb(src[i], d); in _mesa_pack_float_rgba_row()
9993 d += 4; in _mesa_pack_float_rgba_row()
9998 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
9999 pack_float_r8g8b8x8_srgb(src[i], d); in _mesa_pack_float_rgba_row()
10000 d += 4; in _mesa_pack_float_rgba_row()
10005 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10006 pack_float_x8b8g8r8_srgb(src[i], d); in _mesa_pack_float_rgba_row()
10007 d += 4; in _mesa_pack_float_rgba_row()
10012 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10013 pack_float_r_srgb8(src[i], d); in _mesa_pack_float_rgba_row()
10014 d += 1; in _mesa_pack_float_rgba_row()
10019 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10020 pack_float_l_srgb8(src[i], d); in _mesa_pack_float_rgba_row()
10021 d += 1; in _mesa_pack_float_rgba_row()
10026 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10027 pack_float_la_srgb8(src[i], d); in _mesa_pack_float_rgba_row()
10028 d += 2; in _mesa_pack_float_rgba_row()
10033 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10034 pack_float_bgr_srgb8(src[i], d); in _mesa_pack_float_rgba_row()
10035 d += 3; in _mesa_pack_float_rgba_row()
10040 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10041 pack_float_r9g9b9e5_float(src[i], d); in _mesa_pack_float_rgba_row()
10042 d += 4; in _mesa_pack_float_rgba_row()
10047 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10048 pack_float_r11g11b10_float(src[i], d); in _mesa_pack_float_rgba_row()
10049 d += 4; in _mesa_pack_float_rgba_row()
10054 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10055 pack_float_a_float16(src[i], d); in _mesa_pack_float_rgba_row()
10056 d += 2; in _mesa_pack_float_rgba_row()
10061 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10062 pack_float_a_float32(src[i], d); in _mesa_pack_float_rgba_row()
10063 d += 4; in _mesa_pack_float_rgba_row()
10068 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10069 pack_float_l_float16(src[i], d); in _mesa_pack_float_rgba_row()
10070 d += 2; in _mesa_pack_float_rgba_row()
10075 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10076 pack_float_l_float32(src[i], d); in _mesa_pack_float_rgba_row()
10077 d += 4; in _mesa_pack_float_rgba_row()
10082 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10083 pack_float_la_float16(src[i], d); in _mesa_pack_float_rgba_row()
10084 d += 4; in _mesa_pack_float_rgba_row()
10089 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10090 pack_float_la_float32(src[i], d); in _mesa_pack_float_rgba_row()
10091 d += 8; in _mesa_pack_float_rgba_row()
10096 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10097 pack_float_i_float16(src[i], d); in _mesa_pack_float_rgba_row()
10098 d += 2; in _mesa_pack_float_rgba_row()
10103 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10104 pack_float_i_float32(src[i], d); in _mesa_pack_float_rgba_row()
10105 d += 4; in _mesa_pack_float_rgba_row()
10110 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10111 pack_float_r_float16(src[i], d); in _mesa_pack_float_rgba_row()
10112 d += 2; in _mesa_pack_float_rgba_row()
10117 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10118 pack_float_r_float32(src[i], d); in _mesa_pack_float_rgba_row()
10119 d += 4; in _mesa_pack_float_rgba_row()
10124 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10125 pack_float_rg_float16(src[i], d); in _mesa_pack_float_rgba_row()
10126 d += 4; in _mesa_pack_float_rgba_row()
10131 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10132 pack_float_rg_float32(src[i], d); in _mesa_pack_float_rgba_row()
10133 d += 8; in _mesa_pack_float_rgba_row()
10138 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10139 pack_float_rgb_float16(src[i], d); in _mesa_pack_float_rgba_row()
10140 d += 6; in _mesa_pack_float_rgba_row()
10145 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10146 pack_float_rgb_float32(src[i], d); in _mesa_pack_float_rgba_row()
10147 d += 12; in _mesa_pack_float_rgba_row()
10152 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10153 pack_float_rgba_float16(src[i], d); in _mesa_pack_float_rgba_row()
10154 d += 8; in _mesa_pack_float_rgba_row()
10159 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10160 pack_float_rgba_float32(src[i], d); in _mesa_pack_float_rgba_row()
10161 d += 16; in _mesa_pack_float_rgba_row()
10166 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10167 pack_float_rgbx_float16(src[i], d); in _mesa_pack_float_rgba_row()
10168 d += 8; in _mesa_pack_float_rgba_row()
10173 for (i = 0; i < n; ++i) { in _mesa_pack_float_rgba_row()
10174 pack_float_rgbx_float32(src[i], d); in _mesa_pack_float_rgba_row()
10175 d += 16; in _mesa_pack_float_rgba_row()
10184 * Pack a 2D image of ubyte RGBA pixels in the given format.
10204 for (i = 0; i < height; i++) { in _mesa_pack_ubyte_rgba_rect()
10230 uint32_t *d = ((uint32_t *) dst); in pack_float_S8_UINT_Z24_UNORM() local
10231 const double scale = (double) 0xffffff; in pack_float_S8_UINT_Z24_UNORM()
10232 uint32_t s = *d & 0xff; in pack_float_S8_UINT_Z24_UNORM()
10234 assert(z <= 0xffffff); in pack_float_S8_UINT_Z24_UNORM()
10235 *d = (z << 8) | s; in pack_float_S8_UINT_Z24_UNORM()
10242 uint32_t *d = ((uint32_t *) dst); in pack_float_Z24_UNORM_S8_UINT() local
10243 const double scale = (double) 0xffffff; in pack_float_Z24_UNORM_S8_UINT()
10244 uint32_t s = *d & 0xff000000; in pack_float_Z24_UNORM_S8_UINT()
10246 assert(z <= 0xffffff); in pack_float_Z24_UNORM_S8_UINT()
10247 *d = s | z; in pack_float_Z24_UNORM_S8_UINT()
10253 uint16_t *d = ((uint16_t *) dst); in pack_float_Z_UNORM16() local
10254 const float scale = (float) 0xffff; in pack_float_Z_UNORM16()
10255 *d = (uint16_t) (*src * scale); in pack_float_Z_UNORM16()
10261 uint32_t *d = ((uint32_t *) dst); in pack_float_Z_UNORM32() local
10262 const double scale = (double) 0xffffffff; in pack_float_Z_UNORM32()
10263 *d = (uint32_t) (*src * scale); in pack_float_Z_UNORM32()
10273 float *d = (float *) dst; in pack_float_Z_FLOAT32() local
10274 *d = *src; in pack_float_Z_FLOAT32()
10303 ** the range [0, 2^32-1].
10310 uint32_t *d = ((uint32_t *) dst); in pack_uint_S8_UINT_Z24_UNORM() local
10311 uint32_t s = *d & 0xff; in pack_uint_S8_UINT_Z24_UNORM()
10312 uint32_t z = *src & 0xffffff00; in pack_uint_S8_UINT_Z24_UNORM()
10313 *d = z | s; in pack_uint_S8_UINT_Z24_UNORM()
10320 uint32_t *d = ((uint32_t *) dst); in pack_uint_Z24_UNORM_S8_UINT() local
10321 uint32_t s = *d & 0xff000000; in pack_uint_Z24_UNORM_S8_UINT()
10323 *d = s | z; in pack_uint_Z24_UNORM_S8_UINT()
10329 uint16_t *d = ((uint16_t *) dst); in pack_uint_Z_UNORM16() local
10330 *d = *src >> 16; in pack_uint_Z_UNORM16()
10336 uint32_t *d = ((uint32_t *) dst); in pack_uint_Z_UNORM32() local
10337 *d = *src; in pack_uint_Z_UNORM32()
10347 float *d = ((float *) dst); in pack_uint_Z_FLOAT32() local
10348 const double scale = 1.0 / (double) 0xffffffff; in pack_uint_Z_FLOAT32()
10349 *d = (float) (*src * scale); in pack_uint_Z_FLOAT32()
10350 assert(*d >= 0.0f); in pack_uint_Z_FLOAT32()
10351 assert(*d <= 1.0f); in pack_uint_Z_FLOAT32()
10385 uint32_t *d = ((uint32_t *) dst); in pack_ubyte_stencil_Z24_S8() local
10387 uint32_t z = *d & 0xffffff00; in pack_ubyte_stencil_Z24_S8()
10388 *d = z | s; in pack_ubyte_stencil_Z24_S8()
10395 uint32_t *d = ((uint32_t *) dst); in pack_ubyte_stencil_S8_Z24() local
10397 uint32_t z = *d & 0xffffff; in pack_ubyte_stencil_S8_Z24()
10398 *d = s | z; in pack_ubyte_stencil_S8_Z24()
10404 uint8_t *d = (uint8_t *) dst; in pack_ubyte_stencil_S8() local
10405 *d = *src; in pack_ubyte_stencil_S8()
10411 float *d = ((float *) dst); in pack_ubyte_stencil_Z32_FLOAT_X24S8() local
10412 d[1] = *src; in pack_ubyte_stencil_Z32_FLOAT_X24S8()
10444 uint32_t *d = ((uint32_t *) dst); in _mesa_pack_float_z_row() local
10445 const double scale = (double) 0xffffff; in _mesa_pack_float_z_row()
10447 for (i = 0; i < n; i++) { in _mesa_pack_float_z_row()
10448 uint32_t s = d[i] & 0xff; in _mesa_pack_float_z_row()
10450 assert(z <= 0xffffff); in _mesa_pack_float_z_row()
10451 d[i] = (z << 8) | s; in _mesa_pack_float_z_row()
10459 uint32_t *d = ((uint32_t *) dst); in _mesa_pack_float_z_row() local
10460 const double scale = (double) 0xffffff; in _mesa_pack_float_z_row()
10462 for (i = 0; i < n; i++) { in _mesa_pack_float_z_row()
10463 uint32_t s = d[i] & 0xff000000; in _mesa_pack_float_z_row()
10465 assert(z <= 0xffffff); in _mesa_pack_float_z_row()
10466 d[i] = s | z; in _mesa_pack_float_z_row()
10472 uint16_t *d = ((uint16_t *) dst); in _mesa_pack_float_z_row() local
10473 const float scale = (float) 0xffff; in _mesa_pack_float_z_row()
10475 for (i = 0; i < n; i++) { in _mesa_pack_float_z_row()
10476 d[i] = (uint16_t) (src[i] * scale); in _mesa_pack_float_z_row()
10482 uint32_t *d = ((uint32_t *) dst); in _mesa_pack_float_z_row() local
10483 const double scale = (double) 0xffffffff; in _mesa_pack_float_z_row()
10485 for (i = 0; i < n; i++) { in _mesa_pack_float_z_row()
10486 d[i] = (uint32_t) (src[i] * scale); in _mesa_pack_float_z_row()
10495 struct z32f_x24s8 *d = (struct z32f_x24s8 *) dst; in _mesa_pack_float_z_row() local
10497 for (i = 0; i < n; i++) { in _mesa_pack_float_z_row()
10498 d[i].z = src[i]; in _mesa_pack_float_z_row()
10509 * The incoming Z values are always in the range [0, 0xffffffff].
10520 uint32_t *d = ((uint32_t *) dst); in _mesa_pack_uint_z_row() local
10522 for (i = 0; i < n; i++) { in _mesa_pack_uint_z_row()
10523 uint32_t s = d[i] & 0xff; in _mesa_pack_uint_z_row()
10524 uint32_t z = src[i] & 0xffffff00; in _mesa_pack_uint_z_row()
10525 d[i] = z | s; in _mesa_pack_uint_z_row()
10533 uint32_t *d = ((uint32_t *) dst); in _mesa_pack_uint_z_row() local
10535 for (i = 0; i < n; i++) { in _mesa_pack_uint_z_row()
10536 uint32_t s = d[i] & 0xff000000; in _mesa_pack_uint_z_row()
10538 d[i] = s | z; in _mesa_pack_uint_z_row()
10544 uint16_t *d = ((uint16_t *) dst); in _mesa_pack_uint_z_row() local
10546 for (i = 0; i < n; i++) { in _mesa_pack_uint_z_row()
10547 d[i] = src[i] >> 16; in _mesa_pack_uint_z_row()
10556 uint32_t *d = ((uint32_t *) dst); in _mesa_pack_uint_z_row() local
10557 const double scale = 1.0 / (double) 0xffffffff; in _mesa_pack_uint_z_row()
10559 for (i = 0; i < n; i++) { in _mesa_pack_uint_z_row()
10560 d[i] = (uint32_t) (src[i] * scale); in _mesa_pack_uint_z_row()
10561 assert(d[i] >= 0.0f); in _mesa_pack_uint_z_row()
10562 assert(d[i] <= 1.0f); in _mesa_pack_uint_z_row()
10568 struct z32f_x24s8 *d = (struct z32f_x24s8 *) dst; in _mesa_pack_uint_z_row() local
10569 const double scale = 1.0 / (double) 0xffffffff; in _mesa_pack_uint_z_row()
10571 for (i = 0; i < n; i++) { in _mesa_pack_uint_z_row()
10572 d[i].z = (float) (src[i] * scale); in _mesa_pack_uint_z_row()
10573 assert(d[i].z >= 0.0f); in _mesa_pack_uint_z_row()
10574 assert(d[i].z <= 1.0f); in _mesa_pack_uint_z_row()
10592 uint32_t *d = ((uint32_t *) dst); in _mesa_pack_ubyte_stencil_row() local
10594 for (i = 0; i < n; i++) { in _mesa_pack_ubyte_stencil_row()
10596 uint32_t z = d[i] & 0xffffff00; in _mesa_pack_ubyte_stencil_row()
10597 d[i] = z | s; in _mesa_pack_ubyte_stencil_row()
10604 uint32_t *d = ((uint32_t *) dst); in _mesa_pack_ubyte_stencil_row() local
10606 for (i = 0; i < n; i++) { in _mesa_pack_ubyte_stencil_row()
10608 uint32_t z = d[i] & 0xffffff; in _mesa_pack_ubyte_stencil_row()
10609 d[i] = s | z; in _mesa_pack_ubyte_stencil_row()
10618 struct z32f_x24s8 *d = (struct z32f_x24s8 *) dst; in _mesa_pack_ubyte_stencil_row() local
10620 for (i = 0; i < n; i++) { in _mesa_pack_ubyte_stencil_row()
10621 d[i].x24s8 = src[i]; in _mesa_pack_ubyte_stencil_row()
10644 uint32_t *d = ((uint32_t *) dst); in _mesa_pack_uint_24_8_depth_stencil_row() local
10646 for (i = 0; i < n; i++) { in _mesa_pack_uint_24_8_depth_stencil_row()
10649 d[i] = s | z; in _mesa_pack_uint_24_8_depth_stencil_row()
10655 const double scale = 1.0 / (double) 0xffffff; in _mesa_pack_uint_24_8_depth_stencil_row()
10656 struct z32f_x24s8 *d = (struct z32f_x24s8 *) dst; in _mesa_pack_uint_24_8_depth_stencil_row() local
10658 for (i = 0; i < n; i++) { in _mesa_pack_uint_24_8_depth_stencil_row()
10660 d[i].z = z; in _mesa_pack_uint_24_8_depth_stencil_row()
10661 d[i].x24s8 = src[i]; in _mesa_pack_uint_24_8_depth_stencil_row()