Lines Matching refs:dst

87 typedef void (*unpack_rgba_func)(const void *src, GLfloat dst[][4], GLuint n);
91 unpack_RGBA8888(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA8888()
96 dst[i][RCOMP] = UBYTE_TO_FLOAT( (s[i] >> 24) ); in unpack_RGBA8888()
97 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff ); in unpack_RGBA8888()
98 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff ); in unpack_RGBA8888()
99 dst[i][ACOMP] = UBYTE_TO_FLOAT( (s[i] ) & 0xff ); in unpack_RGBA8888()
104 unpack_RGBA8888_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA8888_REV()
109 dst[i][RCOMP] = UBYTE_TO_FLOAT( (s[i] ) & 0xff ); in unpack_RGBA8888_REV()
110 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff ); in unpack_RGBA8888_REV()
111 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff ); in unpack_RGBA8888_REV()
112 dst[i][ACOMP] = UBYTE_TO_FLOAT( (s[i] >> 24) ); in unpack_RGBA8888_REV()
117 unpack_ARGB8888(const void *src, GLfloat dst[][4], GLuint n) in unpack_ARGB8888()
122 dst[i][RCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff ); in unpack_ARGB8888()
123 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff ); in unpack_ARGB8888()
124 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] ) & 0xff ); in unpack_ARGB8888()
125 dst[i][ACOMP] = UBYTE_TO_FLOAT( (s[i] >> 24) ); in unpack_ARGB8888()
130 unpack_ARGB8888_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_ARGB8888_REV()
135 dst[i][RCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff ); in unpack_ARGB8888_REV()
136 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff ); in unpack_ARGB8888_REV()
137 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 24) ); in unpack_ARGB8888_REV()
138 dst[i][ACOMP] = UBYTE_TO_FLOAT( (s[i] ) & 0xff ); in unpack_ARGB8888_REV()
143 unpack_RGBX8888(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBX8888()
148 dst[i][RCOMP] = UBYTE_TO_FLOAT( (s[i] >> 24) ); in unpack_RGBX8888()
149 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff ); in unpack_RGBX8888()
150 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff ); in unpack_RGBX8888()
151 dst[i][ACOMP] = 1.0f; in unpack_RGBX8888()
156 unpack_RGBX8888_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBX8888_REV()
161 dst[i][RCOMP] = UBYTE_TO_FLOAT( (s[i] ) & 0xff ); in unpack_RGBX8888_REV()
162 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff ); in unpack_RGBX8888_REV()
163 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff ); in unpack_RGBX8888_REV()
164 dst[i][ACOMP] = 1.0f; in unpack_RGBX8888_REV()
169 unpack_XRGB8888(const void *src, GLfloat dst[][4], GLuint n) in unpack_XRGB8888()
174 dst[i][RCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff ); in unpack_XRGB8888()
175 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff ); in unpack_XRGB8888()
176 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] ) & 0xff ); in unpack_XRGB8888()
177 dst[i][ACOMP] = 1.0f; in unpack_XRGB8888()
182 unpack_XRGB8888_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_XRGB8888_REV()
187 dst[i][RCOMP] = UBYTE_TO_FLOAT( (s[i] >> 8) & 0xff ); in unpack_XRGB8888_REV()
188 dst[i][GCOMP] = UBYTE_TO_FLOAT( (s[i] >> 16) & 0xff ); in unpack_XRGB8888_REV()
189 dst[i][BCOMP] = UBYTE_TO_FLOAT( (s[i] >> 24) ); in unpack_XRGB8888_REV()
190 dst[i][ACOMP] = 1.0f; in unpack_XRGB8888_REV()
195 unpack_RGB888(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGB888()
200 dst[i][RCOMP] = UBYTE_TO_FLOAT( s[i*3+2] ); in unpack_RGB888()
201 dst[i][GCOMP] = UBYTE_TO_FLOAT( s[i*3+1] ); in unpack_RGB888()
202 dst[i][BCOMP] = UBYTE_TO_FLOAT( s[i*3+0] ); in unpack_RGB888()
203 dst[i][ACOMP] = 1.0F; in unpack_RGB888()
208 unpack_BGR888(const void *src, GLfloat dst[][4], GLuint n) in unpack_BGR888()
213 dst[i][RCOMP] = UBYTE_TO_FLOAT( s[i*3+0] ); in unpack_BGR888()
214 dst[i][GCOMP] = UBYTE_TO_FLOAT( s[i*3+1] ); in unpack_BGR888()
215 dst[i][BCOMP] = UBYTE_TO_FLOAT( s[i*3+2] ); in unpack_BGR888()
216 dst[i][ACOMP] = 1.0F; in unpack_BGR888()
221 unpack_RGB565(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGB565()
226 dst[i][RCOMP] = ((s[i] >> 11) & 0x1f) * (1.0F / 31.0F); in unpack_RGB565()
227 dst[i][GCOMP] = ((s[i] >> 5 ) & 0x3f) * (1.0F / 63.0F); in unpack_RGB565()
228 dst[i][BCOMP] = ((s[i] ) & 0x1f) * (1.0F / 31.0F); in unpack_RGB565()
229 dst[i][ACOMP] = 1.0F; in unpack_RGB565()
234 unpack_RGB565_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGB565_REV()
240 dst[i][RCOMP] = UBYTE_TO_FLOAT( ((t >> 8) & 0xf8) | ((t >> 13) & 0x7) ); in unpack_RGB565_REV()
241 dst[i][GCOMP] = UBYTE_TO_FLOAT( ((t >> 3) & 0xfc) | ((t >> 9) & 0x3) ); in unpack_RGB565_REV()
242 dst[i][BCOMP] = UBYTE_TO_FLOAT( ((t << 3) & 0xf8) | ((t >> 2) & 0x7) ); in unpack_RGB565_REV()
243 dst[i][ACOMP] = 1.0F; in unpack_RGB565_REV()
248 unpack_ARGB4444(const void *src, GLfloat dst[][4], GLuint n) in unpack_ARGB4444()
253 dst[i][RCOMP] = ((s[i] >> 8) & 0xf) * (1.0F / 15.0F); in unpack_ARGB4444()
254 dst[i][GCOMP] = ((s[i] >> 4) & 0xf) * (1.0F / 15.0F); in unpack_ARGB4444()
255 dst[i][BCOMP] = ((s[i] ) & 0xf) * (1.0F / 15.0F); in unpack_ARGB4444()
256 dst[i][ACOMP] = ((s[i] >> 12) & 0xf) * (1.0F / 15.0F); in unpack_ARGB4444()
261 unpack_ARGB4444_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_ARGB4444_REV()
266 dst[i][RCOMP] = ((s[i] ) & 0xf) * (1.0F / 15.0F); in unpack_ARGB4444_REV()
267 dst[i][GCOMP] = ((s[i] >> 12) & 0xf) * (1.0F / 15.0F); in unpack_ARGB4444_REV()
268 dst[i][BCOMP] = ((s[i] >> 8) & 0xf) * (1.0F / 15.0F); in unpack_ARGB4444_REV()
269 dst[i][ACOMP] = ((s[i] >> 4) & 0xf) * (1.0F / 15.0F); in unpack_ARGB4444_REV()
274 unpack_RGBA5551(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA5551()
279 dst[i][RCOMP] = ((s[i] >> 11) & 0x1f) * (1.0F / 31.0F); in unpack_RGBA5551()
280 dst[i][GCOMP] = ((s[i] >> 6) & 0x1f) * (1.0F / 31.0F); in unpack_RGBA5551()
281 dst[i][BCOMP] = ((s[i] >> 1) & 0x1f) * (1.0F / 31.0F); in unpack_RGBA5551()
282 dst[i][ACOMP] = ((s[i] ) & 0x01) * 1.0F; in unpack_RGBA5551()
287 unpack_ARGB1555(const void *src, GLfloat dst[][4], GLuint n) in unpack_ARGB1555()
292 dst[i][RCOMP] = ((s[i] >> 10) & 0x1f) * (1.0F / 31.0F); in unpack_ARGB1555()
293 dst[i][GCOMP] = ((s[i] >> 5) & 0x1f) * (1.0F / 31.0F); in unpack_ARGB1555()
294 dst[i][BCOMP] = ((s[i] >> 0) & 0x1f) * (1.0F / 31.0F); in unpack_ARGB1555()
295 dst[i][ACOMP] = ((s[i] >> 15) & 0x01) * 1.0F; in unpack_ARGB1555()
300 unpack_ARGB1555_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_ARGB1555_REV()
306 dst[i][RCOMP] = ((tmp >> 10) & 0x1f) * (1.0F / 31.0F); in unpack_ARGB1555_REV()
307 dst[i][GCOMP] = ((tmp >> 5) & 0x1f) * (1.0F / 31.0F); in unpack_ARGB1555_REV()
308 dst[i][BCOMP] = ((tmp >> 0) & 0x1f) * (1.0F / 31.0F); in unpack_ARGB1555_REV()
309 dst[i][ACOMP] = ((tmp >> 15) & 0x01) * 1.0F; in unpack_ARGB1555_REV()
314 unpack_AL44(const void *src, GLfloat dst[][4], GLuint n) in unpack_AL44()
319 dst[i][RCOMP] = in unpack_AL44()
320 dst[i][GCOMP] = in unpack_AL44()
321 dst[i][BCOMP] = (s[i] & 0xf) * (1.0F / 15.0F); in unpack_AL44()
322 dst[i][ACOMP] = ((s[i] >> 4) & 0xf) * (1.0F / 15.0F); in unpack_AL44()
327 unpack_AL88(const void *src, GLfloat dst[][4], GLuint n) in unpack_AL88()
332 dst[i][RCOMP] = in unpack_AL88()
333 dst[i][GCOMP] = in unpack_AL88()
334 dst[i][BCOMP] = UBYTE_TO_FLOAT( s[i] & 0xff ); in unpack_AL88()
335 dst[i][ACOMP] = UBYTE_TO_FLOAT( s[i] >> 8 ); in unpack_AL88()
340 unpack_AL88_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_AL88_REV()
345 dst[i][RCOMP] = in unpack_AL88_REV()
346 dst[i][GCOMP] = in unpack_AL88_REV()
347 dst[i][BCOMP] = UBYTE_TO_FLOAT( s[i] >> 8 ); in unpack_AL88_REV()
348 dst[i][ACOMP] = UBYTE_TO_FLOAT( s[i] & 0xff ); in unpack_AL88_REV()
353 unpack_AL1616(const void *src, GLfloat dst[][4], GLuint n) in unpack_AL1616()
358 dst[i][RCOMP] = in unpack_AL1616()
359 dst[i][GCOMP] = in unpack_AL1616()
360 dst[i][BCOMP] = USHORT_TO_FLOAT( s[i] & 0xffff ); in unpack_AL1616()
361 dst[i][ACOMP] = USHORT_TO_FLOAT( s[i] >> 16 ); in unpack_AL1616()
366 unpack_AL1616_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_AL1616_REV()
371 dst[i][RCOMP] = in unpack_AL1616_REV()
372 dst[i][GCOMP] = in unpack_AL1616_REV()
373 dst[i][BCOMP] = USHORT_TO_FLOAT( s[i] >> 16 ); in unpack_AL1616_REV()
374 dst[i][ACOMP] = USHORT_TO_FLOAT( s[i] & 0xffff ); in unpack_AL1616_REV()
379 unpack_RGB332(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGB332()
384 dst[i][RCOMP] = ((s[i] >> 5) & 0x7) * (1.0F / 7.0F); in unpack_RGB332()
385 dst[i][GCOMP] = ((s[i] >> 2) & 0x7) * (1.0F / 7.0F); in unpack_RGB332()
386 dst[i][BCOMP] = ((s[i] ) & 0x3) * (1.0F / 3.0F); in unpack_RGB332()
387 dst[i][ACOMP] = 1.0F; in unpack_RGB332()
393 unpack_A8(const void *src, GLfloat dst[][4], GLuint n) in unpack_A8()
398 dst[i][RCOMP] = in unpack_A8()
399 dst[i][GCOMP] = in unpack_A8()
400 dst[i][BCOMP] = 0.0F; in unpack_A8()
401 dst[i][ACOMP] = UBYTE_TO_FLOAT(s[i]); in unpack_A8()
406 unpack_A16(const void *src, GLfloat dst[][4], GLuint n) in unpack_A16()
411 dst[i][RCOMP] = in unpack_A16()
412 dst[i][GCOMP] = in unpack_A16()
413 dst[i][BCOMP] = 0.0F; in unpack_A16()
414 dst[i][ACOMP] = USHORT_TO_FLOAT(s[i]); in unpack_A16()
419 unpack_L8(const void *src, GLfloat dst[][4], GLuint n) in unpack_L8()
424 dst[i][RCOMP] = in unpack_L8()
425 dst[i][GCOMP] = in unpack_L8()
426 dst[i][BCOMP] = UBYTE_TO_FLOAT(s[i]); in unpack_L8()
427 dst[i][ACOMP] = 1.0F; in unpack_L8()
432 unpack_L16(const void *src, GLfloat dst[][4], GLuint n) in unpack_L16()
437 dst[i][RCOMP] = in unpack_L16()
438 dst[i][GCOMP] = in unpack_L16()
439 dst[i][BCOMP] = USHORT_TO_FLOAT(s[i]); in unpack_L16()
440 dst[i][ACOMP] = 1.0F; in unpack_L16()
445 unpack_I8(const void *src, GLfloat dst[][4], GLuint n) in unpack_I8()
450 dst[i][RCOMP] = in unpack_I8()
451 dst[i][GCOMP] = in unpack_I8()
452 dst[i][BCOMP] = in unpack_I8()
453 dst[i][ACOMP] = UBYTE_TO_FLOAT(s[i]); in unpack_I8()
458 unpack_I16(const void *src, GLfloat dst[][4], GLuint n) in unpack_I16()
463 dst[i][RCOMP] = in unpack_I16()
464 dst[i][GCOMP] = in unpack_I16()
465 dst[i][BCOMP] = in unpack_I16()
466 dst[i][ACOMP] = USHORT_TO_FLOAT(s[i]); in unpack_I16()
471 unpack_YCBCR(const void *src, GLfloat dst[][4], GLuint n) in unpack_YCBCR()
488 dst[i][RCOMP] = CLAMP(r, 0.0F, 1.0F); in unpack_YCBCR()
489 dst[i][GCOMP] = CLAMP(g, 0.0F, 1.0F); in unpack_YCBCR()
490 dst[i][BCOMP] = CLAMP(b, 0.0F, 1.0F); in unpack_YCBCR()
491 dst[i][ACOMP] = 1.0F; in unpack_YCBCR()
496 unpack_YCBCR_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_YCBCR_REV()
513 dst[i][RCOMP] = CLAMP(r, 0.0F, 1.0F); in unpack_YCBCR_REV()
514 dst[i][GCOMP] = CLAMP(g, 0.0F, 1.0F); in unpack_YCBCR_REV()
515 dst[i][BCOMP] = CLAMP(b, 0.0F, 1.0F); in unpack_YCBCR_REV()
516 dst[i][ACOMP] = 1.0F; in unpack_YCBCR_REV()
521 unpack_R8(const void *src, GLfloat dst[][4], GLuint n) in unpack_R8()
526 dst[i][0] = UBYTE_TO_FLOAT(s[i]); in unpack_R8()
527 dst[i][1] = in unpack_R8()
528 dst[i][2] = 0.0F; in unpack_R8()
529 dst[i][3] = 1.0F; in unpack_R8()
534 unpack_GR88(const void *src, GLfloat dst[][4], GLuint n) in unpack_GR88()
539 dst[i][RCOMP] = UBYTE_TO_FLOAT( s[i] & 0xff ); in unpack_GR88()
540 dst[i][GCOMP] = UBYTE_TO_FLOAT( s[i] >> 8 ); in unpack_GR88()
541 dst[i][BCOMP] = 0.0; in unpack_GR88()
542 dst[i][ACOMP] = 1.0; in unpack_GR88()
547 unpack_RG88(const void *src, GLfloat dst[][4], GLuint n) in unpack_RG88()
552 dst[i][RCOMP] = UBYTE_TO_FLOAT( s[i] >> 8 ); in unpack_RG88()
553 dst[i][GCOMP] = UBYTE_TO_FLOAT( s[i] & 0xff ); in unpack_RG88()
554 dst[i][BCOMP] = 0.0; in unpack_RG88()
555 dst[i][ACOMP] = 1.0; in unpack_RG88()
560 unpack_R16(const void *src, GLfloat dst[][4], GLuint n) in unpack_R16()
565 dst[i][RCOMP] = USHORT_TO_FLOAT(s[i]); in unpack_R16()
566 dst[i][GCOMP] = 0.0; in unpack_R16()
567 dst[i][BCOMP] = 0.0; in unpack_R16()
568 dst[i][ACOMP] = 1.0; in unpack_R16()
573 unpack_RG1616(const void *src, GLfloat dst[][4], GLuint n) in unpack_RG1616()
578 dst[i][RCOMP] = USHORT_TO_FLOAT( s[i] & 0xffff ); in unpack_RG1616()
579 dst[i][GCOMP] = USHORT_TO_FLOAT( s[i] >> 16 ); in unpack_RG1616()
580 dst[i][BCOMP] = 0.0; in unpack_RG1616()
581 dst[i][ACOMP] = 1.0; in unpack_RG1616()
586 unpack_RG1616_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_RG1616_REV()
591 dst[i][RCOMP] = USHORT_TO_FLOAT( s[i] >> 16 ); in unpack_RG1616_REV()
592 dst[i][GCOMP] = USHORT_TO_FLOAT( s[i] & 0xffff ); in unpack_RG1616_REV()
593 dst[i][BCOMP] = 0.0; in unpack_RG1616_REV()
594 dst[i][ACOMP] = 1.0; in unpack_RG1616_REV()
599 unpack_ARGB2101010(const void *src, GLfloat dst[][4], GLuint n) in unpack_ARGB2101010()
604 dst[i][RCOMP] = ((s[i] >> 20) & 0x3ff) * (1.0F / 1023.0F); in unpack_ARGB2101010()
605 dst[i][GCOMP] = ((s[i] >> 10) & 0x3ff) * (1.0F / 1023.0F); in unpack_ARGB2101010()
606 dst[i][BCOMP] = ((s[i] >> 0) & 0x3ff) * (1.0F / 1023.0F); in unpack_ARGB2101010()
607 dst[i][ACOMP] = ((s[i] >> 30) & 0x03) * (1.0F / 3.0F); in unpack_ARGB2101010()
613 unpack_ABGR2101010_UINT(const void *src, GLfloat dst[][4], GLuint n) in unpack_ABGR2101010_UINT()
618 dst[i][RCOMP] = (GLfloat)((s[i] >> 0) & 0x3ff); in unpack_ABGR2101010_UINT()
619 dst[i][GCOMP] = (GLfloat)((s[i] >> 10) & 0x3ff); in unpack_ABGR2101010_UINT()
620 dst[i][BCOMP] = (GLfloat)((s[i] >> 20) & 0x3ff); in unpack_ABGR2101010_UINT()
621 dst[i][ACOMP] = (GLfloat)((s[i] >> 30) & 0x03); in unpack_ABGR2101010_UINT()
627 unpack_Z24_S8(const void *src, GLfloat dst[][4], GLuint n) in unpack_Z24_S8()
634 dst[i][0] = in unpack_Z24_S8()
635 dst[i][1] = in unpack_Z24_S8()
636 dst[i][2] = (s[i] >> 8) * scale; in unpack_Z24_S8()
637 dst[i][3] = 1.0F; in unpack_Z24_S8()
638 ASSERT(dst[i][0] >= 0.0F); in unpack_Z24_S8()
639 ASSERT(dst[i][0] <= 1.0F); in unpack_Z24_S8()
644 unpack_S8_Z24(const void *src, GLfloat dst[][4], GLuint n) in unpack_S8_Z24()
651 dst[i][0] = in unpack_S8_Z24()
652 dst[i][1] = in unpack_S8_Z24()
653 dst[i][2] = (s[i] & 0x00ffffff) * scale; in unpack_S8_Z24()
654 dst[i][3] = 1.0F; in unpack_S8_Z24()
655 ASSERT(dst[i][0] >= 0.0F); in unpack_S8_Z24()
656 ASSERT(dst[i][0] <= 1.0F); in unpack_S8_Z24()
661 unpack_Z16(const void *src, GLfloat dst[][4], GLuint n) in unpack_Z16()
666 dst[i][0] = in unpack_Z16()
667 dst[i][1] = in unpack_Z16()
668 dst[i][2] = s[i] * (1.0F / 65535.0F); in unpack_Z16()
669 dst[i][3] = 1.0F; in unpack_Z16()
674 unpack_X8_Z24(const void *src, GLfloat dst[][4], GLuint n) in unpack_X8_Z24()
676 unpack_S8_Z24(src, dst, n); in unpack_X8_Z24()
680 unpack_Z24_X8(const void *src, GLfloat dst[][4], GLuint n) in unpack_Z24_X8()
682 unpack_Z24_S8(src, dst, n); in unpack_Z24_X8()
686 unpack_Z32(const void *src, GLfloat dst[][4], GLuint n) in unpack_Z32()
691 dst[i][0] = in unpack_Z32()
692 dst[i][1] = in unpack_Z32()
693 dst[i][2] = s[i] * (1.0F / 0xffffffff); in unpack_Z32()
694 dst[i][3] = 1.0F; in unpack_Z32()
699 unpack_Z32_FLOAT(const void *src, GLfloat dst[][4], GLuint n) in unpack_Z32_FLOAT()
704 dst[i][0] = in unpack_Z32_FLOAT()
705 dst[i][1] = in unpack_Z32_FLOAT()
706 dst[i][2] = s[i * 2]; in unpack_Z32_FLOAT()
707 dst[i][3] = 1.0F; in unpack_Z32_FLOAT()
712 unpack_Z32_FLOAT_X24S8(const void *src, GLfloat dst[][4], GLuint n) in unpack_Z32_FLOAT_X24S8()
717 dst[i][0] = in unpack_Z32_FLOAT_X24S8()
718 dst[i][1] = in unpack_Z32_FLOAT_X24S8()
719 dst[i][2] = s[i]; in unpack_Z32_FLOAT_X24S8()
720 dst[i][3] = 1.0F; in unpack_Z32_FLOAT_X24S8()
726 unpack_S8(const void *src, GLfloat dst[][4], GLuint n) in unpack_S8()
731 dst[i][0] = in unpack_S8()
732 dst[i][1] = in unpack_S8()
733 dst[i][2] = 0.0F; in unpack_S8()
734 dst[i][3] = 1.0F; in unpack_S8()
740 unpack_SRGB8(const void *src, GLfloat dst[][4], GLuint n) in unpack_SRGB8()
745 dst[i][RCOMP] = nonlinear_to_linear(s[i*3+2]); in unpack_SRGB8()
746 dst[i][GCOMP] = nonlinear_to_linear(s[i*3+1]); in unpack_SRGB8()
747 dst[i][BCOMP] = nonlinear_to_linear(s[i*3+0]); in unpack_SRGB8()
748 dst[i][ACOMP] = 1.0F; in unpack_SRGB8()
753 unpack_SRGBA8(const void *src, GLfloat dst[][4], GLuint n) in unpack_SRGBA8()
758 dst[i][RCOMP] = nonlinear_to_linear( (s[i] >> 24) ); in unpack_SRGBA8()
759 dst[i][GCOMP] = nonlinear_to_linear( (s[i] >> 16) & 0xff ); in unpack_SRGBA8()
760 dst[i][BCOMP] = nonlinear_to_linear( (s[i] >> 8) & 0xff ); in unpack_SRGBA8()
761 dst[i][ACOMP] = UBYTE_TO_FLOAT( s[i] & 0xff ); /* linear! */ in unpack_SRGBA8()
766 unpack_SARGB8(const void *src, GLfloat dst[][4], GLuint n) in unpack_SARGB8()
771 dst[i][RCOMP] = nonlinear_to_linear( (s[i] >> 16) & 0xff ); in unpack_SARGB8()
772 dst[i][GCOMP] = nonlinear_to_linear( (s[i] >> 8) & 0xff ); in unpack_SARGB8()
773 dst[i][BCOMP] = nonlinear_to_linear( (s[i] ) & 0xff ); in unpack_SARGB8()
774 dst[i][ACOMP] = UBYTE_TO_FLOAT( s[i] >> 24 ); /* linear! */ in unpack_SARGB8()
779 unpack_SL8(const void *src, GLfloat dst[][4], GLuint n) in unpack_SL8()
784 dst[i][RCOMP] = in unpack_SL8()
785 dst[i][GCOMP] = in unpack_SL8()
786 dst[i][BCOMP] = nonlinear_to_linear(s[i]); in unpack_SL8()
787 dst[i][ACOMP] = 1.0F; in unpack_SL8()
792 unpack_SLA8(const void *src, GLfloat dst[][4], GLuint n) in unpack_SLA8()
797 dst[i][RCOMP] = in unpack_SLA8()
798 dst[i][GCOMP] = in unpack_SLA8()
799 dst[i][BCOMP] = nonlinear_to_linear(s[i] & 0xff); in unpack_SLA8()
800 dst[i][ACOMP] = UBYTE_TO_FLOAT(s[i] >> 8); /* linear! */ in unpack_SLA8()
805 unpack_SRGB_DXT1(const void *src, GLfloat dst[][4], GLuint n) in unpack_SRGB_DXT1()
810 unpack_SRGBA_DXT1(const void *src, GLfloat dst[][4], GLuint n) in unpack_SRGBA_DXT1()
815 unpack_SRGBA_DXT3(const void *src, GLfloat dst[][4], GLuint n) in unpack_SRGBA_DXT3()
820 unpack_SRGBA_DXT5(const void *src, GLfloat dst[][4], GLuint n) in unpack_SRGBA_DXT5()
825 unpack_RGB_FXT1(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGB_FXT1()
830 unpack_RGBA_FXT1(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_FXT1()
835 unpack_RGB_DXT1(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGB_DXT1()
840 unpack_RGBA_DXT1(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_DXT1()
845 unpack_RGBA_DXT3(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_DXT3()
850 unpack_RGBA_DXT5(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_DXT5()
856 unpack_RGBA_FLOAT32(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_FLOAT32()
861 dst[i][RCOMP] = s[i*4+0]; in unpack_RGBA_FLOAT32()
862 dst[i][GCOMP] = s[i*4+1]; in unpack_RGBA_FLOAT32()
863 dst[i][BCOMP] = s[i*4+2]; in unpack_RGBA_FLOAT32()
864 dst[i][ACOMP] = s[i*4+3]; in unpack_RGBA_FLOAT32()
869 unpack_RGBA_FLOAT16(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_FLOAT16()
874 dst[i][RCOMP] = _mesa_half_to_float(s[i*4+0]); in unpack_RGBA_FLOAT16()
875 dst[i][GCOMP] = _mesa_half_to_float(s[i*4+1]); in unpack_RGBA_FLOAT16()
876 dst[i][BCOMP] = _mesa_half_to_float(s[i*4+2]); in unpack_RGBA_FLOAT16()
877 dst[i][ACOMP] = _mesa_half_to_float(s[i*4+3]); in unpack_RGBA_FLOAT16()
882 unpack_RGB_FLOAT32(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGB_FLOAT32()
887 dst[i][RCOMP] = s[i*3+0]; in unpack_RGB_FLOAT32()
888 dst[i][GCOMP] = s[i*3+1]; in unpack_RGB_FLOAT32()
889 dst[i][BCOMP] = s[i*3+2]; in unpack_RGB_FLOAT32()
890 dst[i][ACOMP] = 1.0F; in unpack_RGB_FLOAT32()
895 unpack_RGB_FLOAT16(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGB_FLOAT16()
900 dst[i][RCOMP] = _mesa_half_to_float(s[i*3+0]); in unpack_RGB_FLOAT16()
901 dst[i][GCOMP] = _mesa_half_to_float(s[i*3+1]); in unpack_RGB_FLOAT16()
902 dst[i][BCOMP] = _mesa_half_to_float(s[i*3+2]); in unpack_RGB_FLOAT16()
903 dst[i][ACOMP] = 1.0F; in unpack_RGB_FLOAT16()
908 unpack_ALPHA_FLOAT32(const void *src, GLfloat dst[][4], GLuint n) in unpack_ALPHA_FLOAT32()
913 dst[i][RCOMP] = in unpack_ALPHA_FLOAT32()
914 dst[i][GCOMP] = in unpack_ALPHA_FLOAT32()
915 dst[i][BCOMP] = 0.0F; in unpack_ALPHA_FLOAT32()
916 dst[i][ACOMP] = s[i]; in unpack_ALPHA_FLOAT32()
921 unpack_ALPHA_FLOAT16(const void *src, GLfloat dst[][4], GLuint n) in unpack_ALPHA_FLOAT16()
926 dst[i][RCOMP] = in unpack_ALPHA_FLOAT16()
927 dst[i][GCOMP] = in unpack_ALPHA_FLOAT16()
928 dst[i][BCOMP] = 0.0F; in unpack_ALPHA_FLOAT16()
929 dst[i][ACOMP] = _mesa_half_to_float(s[i]); in unpack_ALPHA_FLOAT16()
934 unpack_LUMINANCE_FLOAT32(const void *src, GLfloat dst[][4], GLuint n) in unpack_LUMINANCE_FLOAT32()
939 dst[i][RCOMP] = in unpack_LUMINANCE_FLOAT32()
940 dst[i][GCOMP] = in unpack_LUMINANCE_FLOAT32()
941 dst[i][BCOMP] = s[i]; in unpack_LUMINANCE_FLOAT32()
942 dst[i][ACOMP] = 1.0F; in unpack_LUMINANCE_FLOAT32()
947 unpack_LUMINANCE_FLOAT16(const void *src, GLfloat dst[][4], GLuint n) in unpack_LUMINANCE_FLOAT16()
952 dst[i][RCOMP] = in unpack_LUMINANCE_FLOAT16()
953 dst[i][GCOMP] = in unpack_LUMINANCE_FLOAT16()
954 dst[i][BCOMP] = _mesa_half_to_float(s[i]); in unpack_LUMINANCE_FLOAT16()
955 dst[i][ACOMP] = 1.0F; in unpack_LUMINANCE_FLOAT16()
960 unpack_LUMINANCE_ALPHA_FLOAT32(const void *src, GLfloat dst[][4], GLuint n) in unpack_LUMINANCE_ALPHA_FLOAT32()
965 dst[i][RCOMP] = in unpack_LUMINANCE_ALPHA_FLOAT32()
966 dst[i][GCOMP] = in unpack_LUMINANCE_ALPHA_FLOAT32()
967 dst[i][BCOMP] = s[i*2+0]; in unpack_LUMINANCE_ALPHA_FLOAT32()
968 dst[i][ACOMP] = s[i*2+1]; in unpack_LUMINANCE_ALPHA_FLOAT32()
973 unpack_LUMINANCE_ALPHA_FLOAT16(const void *src, GLfloat dst[][4], GLuint n) in unpack_LUMINANCE_ALPHA_FLOAT16()
978 dst[i][RCOMP] = in unpack_LUMINANCE_ALPHA_FLOAT16()
979 dst[i][GCOMP] = in unpack_LUMINANCE_ALPHA_FLOAT16()
980 dst[i][BCOMP] = _mesa_half_to_float(s[i*2+0]); in unpack_LUMINANCE_ALPHA_FLOAT16()
981 dst[i][ACOMP] = _mesa_half_to_float(s[i*2+1]); in unpack_LUMINANCE_ALPHA_FLOAT16()
986 unpack_INTENSITY_FLOAT32(const void *src, GLfloat dst[][4], GLuint n) in unpack_INTENSITY_FLOAT32()
991 dst[i][RCOMP] = in unpack_INTENSITY_FLOAT32()
992 dst[i][GCOMP] = in unpack_INTENSITY_FLOAT32()
993 dst[i][BCOMP] = in unpack_INTENSITY_FLOAT32()
994 dst[i][ACOMP] = s[i]; in unpack_INTENSITY_FLOAT32()
999 unpack_INTENSITY_FLOAT16(const void *src, GLfloat dst[][4], GLuint n) in unpack_INTENSITY_FLOAT16()
1004 dst[i][RCOMP] = in unpack_INTENSITY_FLOAT16()
1005 dst[i][GCOMP] = in unpack_INTENSITY_FLOAT16()
1006 dst[i][BCOMP] = in unpack_INTENSITY_FLOAT16()
1007 dst[i][ACOMP] = _mesa_half_to_float(s[i]); in unpack_INTENSITY_FLOAT16()
1012 unpack_R_FLOAT32(const void *src, GLfloat dst[][4], GLuint n) in unpack_R_FLOAT32()
1017 dst[i][RCOMP] = s[i]; in unpack_R_FLOAT32()
1018 dst[i][GCOMP] = 0.0F; in unpack_R_FLOAT32()
1019 dst[i][BCOMP] = 0.0F; in unpack_R_FLOAT32()
1020 dst[i][ACOMP] = 1.0F; in unpack_R_FLOAT32()
1025 unpack_R_FLOAT16(const void *src, GLfloat dst[][4], GLuint n) in unpack_R_FLOAT16()
1030 dst[i][RCOMP] = _mesa_half_to_float(s[i]); in unpack_R_FLOAT16()
1031 dst[i][GCOMP] = 0.0F; in unpack_R_FLOAT16()
1032 dst[i][BCOMP] = 0.0F; in unpack_R_FLOAT16()
1033 dst[i][ACOMP] = 1.0F; in unpack_R_FLOAT16()
1038 unpack_RG_FLOAT32(const void *src, GLfloat dst[][4], GLuint n) in unpack_RG_FLOAT32()
1043 dst[i][RCOMP] = s[i*2+0]; in unpack_RG_FLOAT32()
1044 dst[i][GCOMP] = s[i*2+1]; in unpack_RG_FLOAT32()
1045 dst[i][BCOMP] = 0.0F; in unpack_RG_FLOAT32()
1046 dst[i][ACOMP] = 1.0F; in unpack_RG_FLOAT32()
1051 unpack_RG_FLOAT16(const void *src, GLfloat dst[][4], GLuint n) in unpack_RG_FLOAT16()
1056 dst[i][RCOMP] = _mesa_half_to_float(s[i*2+0]); in unpack_RG_FLOAT16()
1057 dst[i][GCOMP] = _mesa_half_to_float(s[i*2+1]); in unpack_RG_FLOAT16()
1058 dst[i][BCOMP] = 0.0F; in unpack_RG_FLOAT16()
1059 dst[i][ACOMP] = 1.0F; in unpack_RG_FLOAT16()
1065 unpack_RGBA_INT8(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_INT8()
1070 dst[i][RCOMP] = (GLfloat) s[i*4+0]; in unpack_RGBA_INT8()
1071 dst[i][GCOMP] = (GLfloat) s[i*4+1]; in unpack_RGBA_INT8()
1072 dst[i][BCOMP] = (GLfloat) s[i*4+2]; in unpack_RGBA_INT8()
1073 dst[i][ACOMP] = (GLfloat) s[i*4+3]; in unpack_RGBA_INT8()
1078 unpack_RGBA_INT16(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_INT16()
1083 dst[i][RCOMP] = (GLfloat) s[i*4+0]; in unpack_RGBA_INT16()
1084 dst[i][GCOMP] = (GLfloat) s[i*4+1]; in unpack_RGBA_INT16()
1085 dst[i][BCOMP] = (GLfloat) s[i*4+2]; in unpack_RGBA_INT16()
1086 dst[i][ACOMP] = (GLfloat) s[i*4+3]; in unpack_RGBA_INT16()
1091 unpack_RGBA_INT32(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_INT32()
1096 dst[i][RCOMP] = (GLfloat) s[i*4+0]; in unpack_RGBA_INT32()
1097 dst[i][GCOMP] = (GLfloat) s[i*4+1]; in unpack_RGBA_INT32()
1098 dst[i][BCOMP] = (GLfloat) s[i*4+2]; in unpack_RGBA_INT32()
1099 dst[i][ACOMP] = (GLfloat) s[i*4+3]; in unpack_RGBA_INT32()
1104 unpack_RGBA_UINT8(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_UINT8()
1109 dst[i][RCOMP] = (GLfloat) s[i*4+0]; in unpack_RGBA_UINT8()
1110 dst[i][GCOMP] = (GLfloat) s[i*4+1]; in unpack_RGBA_UINT8()
1111 dst[i][BCOMP] = (GLfloat) s[i*4+2]; in unpack_RGBA_UINT8()
1112 dst[i][ACOMP] = (GLfloat) s[i*4+3]; in unpack_RGBA_UINT8()
1117 unpack_RGBA_UINT16(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_UINT16()
1122 dst[i][RCOMP] = (GLfloat) s[i*4+0]; in unpack_RGBA_UINT16()
1123 dst[i][GCOMP] = (GLfloat) s[i*4+1]; in unpack_RGBA_UINT16()
1124 dst[i][BCOMP] = (GLfloat) s[i*4+2]; in unpack_RGBA_UINT16()
1125 dst[i][ACOMP] = (GLfloat) s[i*4+3]; in unpack_RGBA_UINT16()
1130 unpack_RGBA_UINT32(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_UINT32()
1135 dst[i][RCOMP] = (GLfloat) s[i*4+0]; in unpack_RGBA_UINT32()
1136 dst[i][GCOMP] = (GLfloat) s[i*4+1]; in unpack_RGBA_UINT32()
1137 dst[i][BCOMP] = (GLfloat) s[i*4+2]; in unpack_RGBA_UINT32()
1138 dst[i][ACOMP] = (GLfloat) s[i*4+3]; in unpack_RGBA_UINT32()
1143 unpack_DUDV8(const void *src, GLfloat dst[][4], GLuint n) in unpack_DUDV8()
1148 dst[i][RCOMP] = BYTE_TO_FLOAT(s[i*2+0]); in unpack_DUDV8()
1149 dst[i][GCOMP] = BYTE_TO_FLOAT(s[i*2+1]); in unpack_DUDV8()
1150 dst[i][BCOMP] = 0; in unpack_DUDV8()
1151 dst[i][ACOMP] = 0; in unpack_DUDV8()
1156 unpack_SIGNED_R8(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_R8()
1161 dst[i][RCOMP] = BYTE_TO_FLOAT_TEX( s[i] ); in unpack_SIGNED_R8()
1162 dst[i][GCOMP] = 0.0F; in unpack_SIGNED_R8()
1163 dst[i][BCOMP] = 0.0F; in unpack_SIGNED_R8()
1164 dst[i][ACOMP] = 1.0F; in unpack_SIGNED_R8()
1169 unpack_SIGNED_RG88_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_RG88_REV()
1174 dst[i][RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] & 0xff) ); in unpack_SIGNED_RG88_REV()
1175 dst[i][GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 8) ); in unpack_SIGNED_RG88_REV()
1176 dst[i][BCOMP] = 0.0F; in unpack_SIGNED_RG88_REV()
1177 dst[i][ACOMP] = 1.0F; in unpack_SIGNED_RG88_REV()
1182 unpack_SIGNED_RGBX8888(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_RGBX8888()
1187 dst[i][RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 24) ); in unpack_SIGNED_RGBX8888()
1188 dst[i][GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 16) ); in unpack_SIGNED_RGBX8888()
1189 dst[i][BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 8) ); in unpack_SIGNED_RGBX8888()
1190 dst[i][ACOMP] = 1.0f; in unpack_SIGNED_RGBX8888()
1195 unpack_SIGNED_RGBA8888(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_RGBA8888()
1200 dst[i][RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 24) ); in unpack_SIGNED_RGBA8888()
1201 dst[i][GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 16) ); in unpack_SIGNED_RGBA8888()
1202 dst[i][BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 8) ); in unpack_SIGNED_RGBA8888()
1203 dst[i][ACOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] ) ); in unpack_SIGNED_RGBA8888()
1208 unpack_SIGNED_RGBA8888_REV(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_RGBA8888_REV()
1213 dst[i][RCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] ) ); in unpack_SIGNED_RGBA8888_REV()
1214 dst[i][GCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 8) ); in unpack_SIGNED_RGBA8888_REV()
1215 dst[i][BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 16) ); in unpack_SIGNED_RGBA8888_REV()
1216 dst[i][ACOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 24) ); in unpack_SIGNED_RGBA8888_REV()
1221 unpack_SIGNED_R16(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_R16()
1226 dst[i][RCOMP] = SHORT_TO_FLOAT_TEX( s[i] ); in unpack_SIGNED_R16()
1227 dst[i][GCOMP] = 0.0F; in unpack_SIGNED_R16()
1228 dst[i][BCOMP] = 0.0F; in unpack_SIGNED_R16()
1229 dst[i][ACOMP] = 1.0F; in unpack_SIGNED_R16()
1234 unpack_SIGNED_GR1616(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_GR1616()
1239 dst[i][RCOMP] = SHORT_TO_FLOAT_TEX( (GLshort) (s[i] & 0xffff) ); in unpack_SIGNED_GR1616()
1240 dst[i][GCOMP] = SHORT_TO_FLOAT_TEX( (GLshort) (s[i] >> 16) ); in unpack_SIGNED_GR1616()
1241 dst[i][BCOMP] = 0.0F; in unpack_SIGNED_GR1616()
1242 dst[i][ACOMP] = 1.0F; in unpack_SIGNED_GR1616()
1247 unpack_SIGNED_RGB_16(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_RGB_16()
1252 dst[i][RCOMP] = SHORT_TO_FLOAT_TEX( s[i*3+0] ); in unpack_SIGNED_RGB_16()
1253 dst[i][GCOMP] = SHORT_TO_FLOAT_TEX( s[i*3+1] ); in unpack_SIGNED_RGB_16()
1254 dst[i][BCOMP] = SHORT_TO_FLOAT_TEX( s[i*3+2] ); in unpack_SIGNED_RGB_16()
1255 dst[i][ACOMP] = 1.0F; in unpack_SIGNED_RGB_16()
1260 unpack_SIGNED_RGBA_16(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_RGBA_16()
1265 dst[i][RCOMP] = SHORT_TO_FLOAT_TEX( s[i*4+0] ); in unpack_SIGNED_RGBA_16()
1266 dst[i][GCOMP] = SHORT_TO_FLOAT_TEX( s[i*4+1] ); in unpack_SIGNED_RGBA_16()
1267 dst[i][BCOMP] = SHORT_TO_FLOAT_TEX( s[i*4+2] ); in unpack_SIGNED_RGBA_16()
1268 dst[i][ACOMP] = SHORT_TO_FLOAT_TEX( s[i*4+3] ); in unpack_SIGNED_RGBA_16()
1273 unpack_RGBA_16(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGBA_16()
1278 dst[i][RCOMP] = USHORT_TO_FLOAT( s[i*4+0] ); in unpack_RGBA_16()
1279 dst[i][GCOMP] = USHORT_TO_FLOAT( s[i*4+1] ); in unpack_RGBA_16()
1280 dst[i][BCOMP] = USHORT_TO_FLOAT( s[i*4+2] ); in unpack_RGBA_16()
1281 dst[i][ACOMP] = USHORT_TO_FLOAT( s[i*4+3] ); in unpack_RGBA_16()
1286 unpack_RED_RGTC1(const void *src, GLfloat dst[][4], GLuint n) in unpack_RED_RGTC1()
1292 unpack_SIGNED_RED_RGTC1(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_RED_RGTC1()
1298 unpack_RG_RGTC2(const void *src, GLfloat dst[][4], GLuint n) in unpack_RG_RGTC2()
1304 unpack_SIGNED_RG_RGTC2(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_RG_RGTC2()
1310 unpack_L_LATC1(const void *src, GLfloat dst[][4], GLuint n) in unpack_L_LATC1()
1316 unpack_SIGNED_L_LATC1(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_L_LATC1()
1322 unpack_LA_LATC2(const void *src, GLfloat dst[][4], GLuint n) in unpack_LA_LATC2()
1328 unpack_SIGNED_LA_LATC2(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_LA_LATC2()
1334 unpack_ETC1_RGB8(const void *src, GLfloat dst[][4], GLuint n) in unpack_ETC1_RGB8()
1340 unpack_SIGNED_A8(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_A8()
1345 dst[i][RCOMP] = 0.0F; in unpack_SIGNED_A8()
1346 dst[i][GCOMP] = 0.0F; in unpack_SIGNED_A8()
1347 dst[i][BCOMP] = 0.0F; in unpack_SIGNED_A8()
1348 dst[i][ACOMP] = BYTE_TO_FLOAT_TEX( s[i] ); in unpack_SIGNED_A8()
1353 unpack_SIGNED_L8(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_L8()
1358 dst[i][RCOMP] = in unpack_SIGNED_L8()
1359 dst[i][GCOMP] = in unpack_SIGNED_L8()
1360 dst[i][BCOMP] = BYTE_TO_FLOAT_TEX( s[i] ); in unpack_SIGNED_L8()
1361 dst[i][ACOMP] = 1.0F; in unpack_SIGNED_L8()
1366 unpack_SIGNED_AL88(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_AL88()
1371 dst[i][RCOMP] = in unpack_SIGNED_AL88()
1372 dst[i][GCOMP] = in unpack_SIGNED_AL88()
1373 dst[i][BCOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] & 0xff) ); in unpack_SIGNED_AL88()
1374 dst[i][ACOMP] = BYTE_TO_FLOAT_TEX( (GLbyte) (s[i] >> 8) ); in unpack_SIGNED_AL88()
1379 unpack_SIGNED_I8(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_I8()
1384 dst[i][RCOMP] = in unpack_SIGNED_I8()
1385 dst[i][GCOMP] = in unpack_SIGNED_I8()
1386 dst[i][BCOMP] = in unpack_SIGNED_I8()
1387 dst[i][ACOMP] = BYTE_TO_FLOAT_TEX( s[i] ); in unpack_SIGNED_I8()
1392 unpack_SIGNED_A16(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_A16()
1397 dst[i][RCOMP] = 0.0F; in unpack_SIGNED_A16()
1398 dst[i][GCOMP] = 0.0F; in unpack_SIGNED_A16()
1399 dst[i][BCOMP] = 0.0F; in unpack_SIGNED_A16()
1400 dst[i][ACOMP] = SHORT_TO_FLOAT_TEX( s[i] ); in unpack_SIGNED_A16()
1405 unpack_SIGNED_L16(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_L16()
1410 dst[i][RCOMP] = in unpack_SIGNED_L16()
1411 dst[i][GCOMP] = in unpack_SIGNED_L16()
1412 dst[i][BCOMP] = SHORT_TO_FLOAT_TEX( s[i] ); in unpack_SIGNED_L16()
1413 dst[i][ACOMP] = 1.0F; in unpack_SIGNED_L16()
1418 unpack_SIGNED_AL1616(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_AL1616()
1423 dst[i][RCOMP] = in unpack_SIGNED_AL1616()
1424 dst[i][GCOMP] = in unpack_SIGNED_AL1616()
1425 dst[i][BCOMP] = SHORT_TO_FLOAT_TEX( s[i*2+0] ); in unpack_SIGNED_AL1616()
1426 dst[i][ACOMP] = SHORT_TO_FLOAT_TEX( s[i*2+1] ); in unpack_SIGNED_AL1616()
1431 unpack_SIGNED_I16(const void *src, GLfloat dst[][4], GLuint n) in unpack_SIGNED_I16()
1436 dst[i][RCOMP] = in unpack_SIGNED_I16()
1437 dst[i][GCOMP] = in unpack_SIGNED_I16()
1438 dst[i][BCOMP] = in unpack_SIGNED_I16()
1439 dst[i][ACOMP] = SHORT_TO_FLOAT_TEX( s[i] ); in unpack_SIGNED_I16()
1444 unpack_RGB9_E5_FLOAT(const void *src, GLfloat dst[][4], GLuint n) in unpack_RGB9_E5_FLOAT()
1449 rgb9e5_to_float3(s[i], dst[i]); in unpack_RGB9_E5_FLOAT()
1450 dst[i][ACOMP] = 1.0F; in unpack_RGB9_E5_FLOAT()
1455 unpack_R11_G11_B10_FLOAT(const void *src, GLfloat dst[][4], GLuint n) in unpack_R11_G11_B10_FLOAT()
1460 r11g11b10f_to_float3(s[i], dst[i]); in unpack_R11_G11_B10_FLOAT()
1461 dst[i][ACOMP] = 1.0F; in unpack_R11_G11_B10_FLOAT()
1621 const void *src, GLfloat dst[][4]) in _mesa_unpack_rgba_row()
1624 unpack(src, dst, n); in _mesa_unpack_rgba_row()
1634 unpack_ubyte_RGBA8888(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_RGBA8888()
1639 dst[i][RCOMP] = (s[i] >> 24); in unpack_ubyte_RGBA8888()
1640 dst[i][GCOMP] = (s[i] >> 16) & 0xff; in unpack_ubyte_RGBA8888()
1641 dst[i][BCOMP] = (s[i] >> 8) & 0xff; in unpack_ubyte_RGBA8888()
1642 dst[i][ACOMP] = (s[i] ) & 0xff; in unpack_ubyte_RGBA8888()
1647 unpack_ubyte_RGBA8888_REV(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_RGBA8888_REV()
1652 dst[i][RCOMP] = (s[i] ) & 0xff; in unpack_ubyte_RGBA8888_REV()
1653 dst[i][GCOMP] = (s[i] >> 8) & 0xff; in unpack_ubyte_RGBA8888_REV()
1654 dst[i][BCOMP] = (s[i] >> 16) & 0xff; in unpack_ubyte_RGBA8888_REV()
1655 dst[i][ACOMP] = (s[i] >> 24); in unpack_ubyte_RGBA8888_REV()
1660 unpack_ubyte_ARGB8888(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_ARGB8888()
1665 dst[i][RCOMP] = (s[i] >> 16) & 0xff; in unpack_ubyte_ARGB8888()
1666 dst[i][GCOMP] = (s[i] >> 8) & 0xff; in unpack_ubyte_ARGB8888()
1667 dst[i][BCOMP] = (s[i] ) & 0xff; in unpack_ubyte_ARGB8888()
1668 dst[i][ACOMP] = (s[i] >> 24); in unpack_ubyte_ARGB8888()
1673 unpack_ubyte_ARGB8888_REV(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_ARGB8888_REV()
1678 dst[i][RCOMP] = (s[i] >> 8) & 0xff; in unpack_ubyte_ARGB8888_REV()
1679 dst[i][GCOMP] = (s[i] >> 16) & 0xff; in unpack_ubyte_ARGB8888_REV()
1680 dst[i][BCOMP] = (s[i] >> 24); in unpack_ubyte_ARGB8888_REV()
1681 dst[i][ACOMP] = (s[i] ) & 0xff; in unpack_ubyte_ARGB8888_REV()
1686 unpack_ubyte_RGBX8888(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_RGBX8888()
1691 dst[i][RCOMP] = (s[i] >> 24); in unpack_ubyte_RGBX8888()
1692 dst[i][GCOMP] = (s[i] >> 16) & 0xff; in unpack_ubyte_RGBX8888()
1693 dst[i][BCOMP] = (s[i] >> 8) & 0xff; in unpack_ubyte_RGBX8888()
1694 dst[i][ACOMP] = 0xff; in unpack_ubyte_RGBX8888()
1699 unpack_ubyte_RGBX8888_REV(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_RGBX8888_REV()
1704 dst[i][RCOMP] = (s[i] ) & 0xff; in unpack_ubyte_RGBX8888_REV()
1705 dst[i][GCOMP] = (s[i] >> 8) & 0xff; in unpack_ubyte_RGBX8888_REV()
1706 dst[i][BCOMP] = (s[i] >> 16) & 0xff; in unpack_ubyte_RGBX8888_REV()
1707 dst[i][ACOMP] = 0xff; in unpack_ubyte_RGBX8888_REV()
1712 unpack_ubyte_XRGB8888(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_XRGB8888()
1717 dst[i][RCOMP] = (s[i] >> 16) & 0xff; in unpack_ubyte_XRGB8888()
1718 dst[i][GCOMP] = (s[i] >> 8) & 0xff; in unpack_ubyte_XRGB8888()
1719 dst[i][BCOMP] = (s[i] ) & 0xff; in unpack_ubyte_XRGB8888()
1720 dst[i][ACOMP] = 0xff; in unpack_ubyte_XRGB8888()
1725 unpack_ubyte_XRGB8888_REV(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_XRGB8888_REV()
1730 dst[i][RCOMP] = (s[i] >> 8) & 0xff; in unpack_ubyte_XRGB8888_REV()
1731 dst[i][GCOMP] = (s[i] >> 16) & 0xff; in unpack_ubyte_XRGB8888_REV()
1732 dst[i][BCOMP] = (s[i] >> 24); in unpack_ubyte_XRGB8888_REV()
1733 dst[i][ACOMP] = 0xff; in unpack_ubyte_XRGB8888_REV()
1738 unpack_ubyte_RGB888(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_RGB888()
1743 dst[i][RCOMP] = s[i*3+2]; in unpack_ubyte_RGB888()
1744 dst[i][GCOMP] = s[i*3+1]; in unpack_ubyte_RGB888()
1745 dst[i][BCOMP] = s[i*3+0]; in unpack_ubyte_RGB888()
1746 dst[i][ACOMP] = 0xff; in unpack_ubyte_RGB888()
1751 unpack_ubyte_BGR888(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_BGR888()
1756 dst[i][RCOMP] = s[i*3+0]; in unpack_ubyte_BGR888()
1757 dst[i][GCOMP] = s[i*3+1]; in unpack_ubyte_BGR888()
1758 dst[i][BCOMP] = s[i*3+2]; in unpack_ubyte_BGR888()
1759 dst[i][ACOMP] = 0xff; in unpack_ubyte_BGR888()
1764 unpack_ubyte_RGB565(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_RGB565()
1769 dst[i][RCOMP] = EXPAND_5_8((s[i] >> 11) & 0x1f); in unpack_ubyte_RGB565()
1770 dst[i][GCOMP] = EXPAND_6_8((s[i] >> 5 ) & 0x3f); in unpack_ubyte_RGB565()
1771 dst[i][BCOMP] = EXPAND_5_8( s[i] & 0x1f); in unpack_ubyte_RGB565()
1772 dst[i][ACOMP] = 0xff; in unpack_ubyte_RGB565()
1777 unpack_ubyte_RGB565_REV(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_RGB565_REV()
1783 dst[i][RCOMP] = EXPAND_5_8((t >> 11) & 0x1f); in unpack_ubyte_RGB565_REV()
1784 dst[i][GCOMP] = EXPAND_6_8((t >> 5 ) & 0x3f); in unpack_ubyte_RGB565_REV()
1785 dst[i][BCOMP] = EXPAND_5_8( t & 0x1f); in unpack_ubyte_RGB565_REV()
1786 dst[i][ACOMP] = 0xff; in unpack_ubyte_RGB565_REV()
1791 unpack_ubyte_ARGB4444(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_ARGB4444()
1796 dst[i][RCOMP] = EXPAND_4_8((s[i] >> 8) & 0xf); in unpack_ubyte_ARGB4444()
1797 dst[i][GCOMP] = EXPAND_4_8((s[i] >> 4) & 0xf); in unpack_ubyte_ARGB4444()
1798 dst[i][BCOMP] = EXPAND_4_8((s[i] ) & 0xf); in unpack_ubyte_ARGB4444()
1799 dst[i][ACOMP] = EXPAND_4_8((s[i] >> 12) & 0xf); in unpack_ubyte_ARGB4444()
1804 unpack_ubyte_ARGB4444_REV(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_ARGB4444_REV()
1809 dst[i][RCOMP] = EXPAND_4_8((s[i] ) & 0xf); in unpack_ubyte_ARGB4444_REV()
1810 dst[i][GCOMP] = EXPAND_4_8((s[i] >> 12) & 0xf); in unpack_ubyte_ARGB4444_REV()
1811 dst[i][BCOMP] = EXPAND_4_8((s[i] >> 8) & 0xf); in unpack_ubyte_ARGB4444_REV()
1812 dst[i][ACOMP] = EXPAND_4_8((s[i] >> 4) & 0xf); in unpack_ubyte_ARGB4444_REV()
1817 unpack_ubyte_RGBA5551(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_RGBA5551()
1822 dst[i][RCOMP] = EXPAND_5_8((s[i] >> 11) & 0x1f); in unpack_ubyte_RGBA5551()
1823 dst[i][GCOMP] = EXPAND_5_8((s[i] >> 6) & 0x1f); in unpack_ubyte_RGBA5551()
1824 dst[i][BCOMP] = EXPAND_5_8((s[i] >> 1) & 0x1f); in unpack_ubyte_RGBA5551()
1825 dst[i][ACOMP] = EXPAND_1_8((s[i] ) & 0x01); in unpack_ubyte_RGBA5551()
1830 unpack_ubyte_ARGB1555(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_ARGB1555()
1835 dst[i][RCOMP] = EXPAND_5_8((s[i] >> 10) & 0x1f); in unpack_ubyte_ARGB1555()
1836 dst[i][GCOMP] = EXPAND_5_8((s[i] >> 5) & 0x1f); in unpack_ubyte_ARGB1555()
1837 dst[i][BCOMP] = EXPAND_5_8((s[i] >> 0) & 0x1f); in unpack_ubyte_ARGB1555()
1838 dst[i][ACOMP] = EXPAND_1_8((s[i] >> 15) & 0x01); in unpack_ubyte_ARGB1555()
1843 unpack_ubyte_ARGB1555_REV(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_ARGB1555_REV()
1849 dst[i][RCOMP] = EXPAND_5_8((tmp >> 10) & 0x1f); in unpack_ubyte_ARGB1555_REV()
1850 dst[i][GCOMP] = EXPAND_5_8((tmp >> 5) & 0x1f); in unpack_ubyte_ARGB1555_REV()
1851 dst[i][BCOMP] = EXPAND_5_8((tmp >> 0) & 0x1f); in unpack_ubyte_ARGB1555_REV()
1852 dst[i][ACOMP] = EXPAND_1_8((tmp >> 15) & 0x01); in unpack_ubyte_ARGB1555_REV()
1857 unpack_ubyte_AL44(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_AL44()
1862 dst[i][RCOMP] = in unpack_ubyte_AL44()
1863 dst[i][GCOMP] = in unpack_ubyte_AL44()
1864 dst[i][BCOMP] = EXPAND_4_8(s[i] & 0xf); in unpack_ubyte_AL44()
1865 dst[i][ACOMP] = EXPAND_4_8(s[i] >> 4); in unpack_ubyte_AL44()
1870 unpack_ubyte_AL88(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_AL88()
1875 dst[i][RCOMP] = in unpack_ubyte_AL88()
1876 dst[i][GCOMP] = in unpack_ubyte_AL88()
1877 dst[i][BCOMP] = EXPAND_4_8(s[i] & 0xff); in unpack_ubyte_AL88()
1878 dst[i][ACOMP] = EXPAND_4_8(s[i] >> 8); in unpack_ubyte_AL88()
1883 unpack_ubyte_AL88_REV(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_AL88_REV()
1888 dst[i][RCOMP] = in unpack_ubyte_AL88_REV()
1889 dst[i][GCOMP] = in unpack_ubyte_AL88_REV()
1890 dst[i][BCOMP] = EXPAND_4_8(s[i] >> 8); in unpack_ubyte_AL88_REV()
1891 dst[i][ACOMP] = EXPAND_4_8(s[i] & 0xff); in unpack_ubyte_AL88_REV()
1896 unpack_ubyte_RGB332(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_RGB332()
1901 dst[i][RCOMP] = EXPAND_3_8((s[i] >> 5) & 0x7); in unpack_ubyte_RGB332()
1902 dst[i][GCOMP] = EXPAND_3_8((s[i] >> 2) & 0x7); in unpack_ubyte_RGB332()
1903 dst[i][BCOMP] = EXPAND_2_8((s[i] ) & 0x3); in unpack_ubyte_RGB332()
1904 dst[i][ACOMP] = 0xff; in unpack_ubyte_RGB332()
1909 unpack_ubyte_A8(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_A8()
1914 dst[i][RCOMP] = in unpack_ubyte_A8()
1915 dst[i][GCOMP] = in unpack_ubyte_A8()
1916 dst[i][BCOMP] = 0; in unpack_ubyte_A8()
1917 dst[i][ACOMP] = s[i]; in unpack_ubyte_A8()
1922 unpack_ubyte_L8(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_L8()
1927 dst[i][RCOMP] = in unpack_ubyte_L8()
1928 dst[i][GCOMP] = in unpack_ubyte_L8()
1929 dst[i][BCOMP] = s[i]; in unpack_ubyte_L8()
1930 dst[i][ACOMP] = 0xff; in unpack_ubyte_L8()
1936 unpack_ubyte_I8(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_I8()
1941 dst[i][RCOMP] = in unpack_ubyte_I8()
1942 dst[i][GCOMP] = in unpack_ubyte_I8()
1943 dst[i][BCOMP] = in unpack_ubyte_I8()
1944 dst[i][ACOMP] = s[i]; in unpack_ubyte_I8()
1949 unpack_ubyte_R8(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_R8()
1954 dst[i][0] = s[i]; in unpack_ubyte_R8()
1955 dst[i][1] = in unpack_ubyte_R8()
1956 dst[i][2] = 0; in unpack_ubyte_R8()
1957 dst[i][3] = 0xff; in unpack_ubyte_R8()
1962 unpack_ubyte_GR88(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_GR88()
1967 dst[i][RCOMP] = s[i] & 0xff; in unpack_ubyte_GR88()
1968 dst[i][GCOMP] = s[i] >> 8; in unpack_ubyte_GR88()
1969 dst[i][BCOMP] = 0; in unpack_ubyte_GR88()
1970 dst[i][ACOMP] = 0xff; in unpack_ubyte_GR88()
1975 unpack_ubyte_RG88(const void *src, GLubyte dst[][4], GLuint n) in unpack_ubyte_RG88()
1980 dst[i][RCOMP] = s[i] >> 8; in unpack_ubyte_RG88()
1981 dst[i][GCOMP] = s[i] & 0xff; in unpack_ubyte_RG88()
1982 dst[i][BCOMP] = 0; in unpack_ubyte_RG88()
1983 dst[i][ACOMP] = 0xff; in unpack_ubyte_RG88()
1994 const void *src, GLubyte dst[][4]) in _mesa_unpack_ubyte_rgba_row()
1998 unpack_ubyte_RGBA8888(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2001 unpack_ubyte_RGBA8888_REV(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2004 unpack_ubyte_ARGB8888(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2007 unpack_ubyte_ARGB8888_REV(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2010 unpack_ubyte_RGBX8888(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2013 unpack_ubyte_RGBX8888_REV(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2016 unpack_ubyte_XRGB8888(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2019 unpack_ubyte_XRGB8888_REV(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2022 unpack_ubyte_RGB888(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2025 unpack_ubyte_BGR888(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2028 unpack_ubyte_RGB565(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2031 unpack_ubyte_RGB565_REV(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2034 unpack_ubyte_ARGB4444(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2037 unpack_ubyte_ARGB4444_REV(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2040 unpack_ubyte_RGBA5551(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2043 unpack_ubyte_ARGB1555(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2046 unpack_ubyte_ARGB1555_REV(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2049 unpack_ubyte_AL44(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2052 unpack_ubyte_AL88(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2055 unpack_ubyte_AL88_REV(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2058 unpack_ubyte_RGB332(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2061 unpack_ubyte_A8(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2064 unpack_ubyte_L8(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2067 unpack_ubyte_I8(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2070 unpack_ubyte_R8(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2073 unpack_ubyte_GR88(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2076 unpack_ubyte_RG88(src, dst, n); in _mesa_unpack_ubyte_rgba_row()
2086 UNCLAMPED_FLOAT_TO_UBYTE(dst[i][0], tmp[i*4+0]); in _mesa_unpack_ubyte_rgba_row()
2087 UNCLAMPED_FLOAT_TO_UBYTE(dst[i][1], tmp[i*4+1]); in _mesa_unpack_ubyte_rgba_row()
2088 UNCLAMPED_FLOAT_TO_UBYTE(dst[i][2], tmp[i*4+2]); in _mesa_unpack_ubyte_rgba_row()
2089 UNCLAMPED_FLOAT_TO_UBYTE(dst[i][3], tmp[i*4+3]); in _mesa_unpack_ubyte_rgba_row()
2104 unpack_int_rgba_RGBA_UINT32(const GLuint *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RGBA_UINT32()
2106 memcpy(dst, src, n * 4 * sizeof(GLuint)); in unpack_int_rgba_RGBA_UINT32()
2110 unpack_int_rgba_RGBA_UINT16(const GLushort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RGBA_UINT16()
2115 dst[i][0] = src[i * 4 + 0]; in unpack_int_rgba_RGBA_UINT16()
2116 dst[i][1] = src[i * 4 + 1]; in unpack_int_rgba_RGBA_UINT16()
2117 dst[i][2] = src[i * 4 + 2]; in unpack_int_rgba_RGBA_UINT16()
2118 dst[i][3] = src[i * 4 + 3]; in unpack_int_rgba_RGBA_UINT16()
2123 unpack_int_rgba_RGBA_INT16(const GLshort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RGBA_INT16()
2128 dst[i][0] = src[i * 4 + 0]; in unpack_int_rgba_RGBA_INT16()
2129 dst[i][1] = src[i * 4 + 1]; in unpack_int_rgba_RGBA_INT16()
2130 dst[i][2] = src[i * 4 + 2]; in unpack_int_rgba_RGBA_INT16()
2131 dst[i][3] = src[i * 4 + 3]; in unpack_int_rgba_RGBA_INT16()
2136 unpack_int_rgba_RGBA_UINT8(const GLubyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RGBA_UINT8()
2141 dst[i][0] = src[i * 4 + 0]; in unpack_int_rgba_RGBA_UINT8()
2142 dst[i][1] = src[i * 4 + 1]; in unpack_int_rgba_RGBA_UINT8()
2143 dst[i][2] = src[i * 4 + 2]; in unpack_int_rgba_RGBA_UINT8()
2144 dst[i][3] = src[i * 4 + 3]; in unpack_int_rgba_RGBA_UINT8()
2149 unpack_int_rgba_RGBA_INT8(const GLbyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RGBA_INT8()
2154 dst[i][0] = src[i * 4 + 0]; in unpack_int_rgba_RGBA_INT8()
2155 dst[i][1] = src[i * 4 + 1]; in unpack_int_rgba_RGBA_INT8()
2156 dst[i][2] = src[i * 4 + 2]; in unpack_int_rgba_RGBA_INT8()
2157 dst[i][3] = src[i * 4 + 3]; in unpack_int_rgba_RGBA_INT8()
2162 unpack_int_rgba_ARGB8888(const GLbyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_ARGB8888()
2167 dst[i][RCOMP] = (GLubyte) src[i * 4 + 2]; in unpack_int_rgba_ARGB8888()
2168 dst[i][GCOMP] = (GLubyte) src[i * 4 + 1]; in unpack_int_rgba_ARGB8888()
2169 dst[i][BCOMP] = (GLubyte) src[i * 4 + 0]; in unpack_int_rgba_ARGB8888()
2170 dst[i][ACOMP] = (GLubyte) src[i * 4 + 3]; in unpack_int_rgba_ARGB8888()
2175 unpack_int_rgba_XRGB8888(const GLbyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_XRGB8888()
2180 dst[i][RCOMP] = (GLubyte) src[i * 4 + 2]; in unpack_int_rgba_XRGB8888()
2181 dst[i][GCOMP] = (GLubyte) src[i * 4 + 1]; in unpack_int_rgba_XRGB8888()
2182 dst[i][BCOMP] = (GLubyte) src[i * 4 + 0]; in unpack_int_rgba_XRGB8888()
2183 dst[i][ACOMP] = (GLubyte) 0xff; in unpack_int_rgba_XRGB8888()
2188 unpack_int_rgba_RGB_UINT32(const GLuint *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RGB_UINT32()
2193 dst[i][0] = src[i * 3 + 0]; in unpack_int_rgba_RGB_UINT32()
2194 dst[i][1] = src[i * 3 + 1]; in unpack_int_rgba_RGB_UINT32()
2195 dst[i][2] = src[i * 3 + 2]; in unpack_int_rgba_RGB_UINT32()
2196 dst[i][3] = 1; in unpack_int_rgba_RGB_UINT32()
2201 unpack_int_rgba_RGB_UINT16(const GLushort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RGB_UINT16()
2206 dst[i][0] = src[i * 3 + 0]; in unpack_int_rgba_RGB_UINT16()
2207 dst[i][1] = src[i * 3 + 1]; in unpack_int_rgba_RGB_UINT16()
2208 dst[i][2] = src[i * 3 + 2]; in unpack_int_rgba_RGB_UINT16()
2209 dst[i][3] = 1; in unpack_int_rgba_RGB_UINT16()
2214 unpack_int_rgba_RGB_INT16(const GLshort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RGB_INT16()
2219 dst[i][0] = src[i * 3 + 0]; in unpack_int_rgba_RGB_INT16()
2220 dst[i][1] = src[i * 3 + 1]; in unpack_int_rgba_RGB_INT16()
2221 dst[i][2] = src[i * 3 + 2]; in unpack_int_rgba_RGB_INT16()
2222 dst[i][3] = 1; in unpack_int_rgba_RGB_INT16()
2227 unpack_int_rgba_RGB_UINT8(const GLubyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RGB_UINT8()
2232 dst[i][0] = src[i * 3 + 0]; in unpack_int_rgba_RGB_UINT8()
2233 dst[i][1] = src[i * 3 + 1]; in unpack_int_rgba_RGB_UINT8()
2234 dst[i][2] = src[i * 3 + 2]; in unpack_int_rgba_RGB_UINT8()
2235 dst[i][3] = 1; in unpack_int_rgba_RGB_UINT8()
2240 unpack_int_rgba_RGB_INT8(const GLbyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RGB_INT8()
2245 dst[i][0] = src[i * 3 + 0]; in unpack_int_rgba_RGB_INT8()
2246 dst[i][1] = src[i * 3 + 1]; in unpack_int_rgba_RGB_INT8()
2247 dst[i][2] = src[i * 3 + 2]; in unpack_int_rgba_RGB_INT8()
2248 dst[i][3] = 1; in unpack_int_rgba_RGB_INT8()
2253 unpack_int_rgba_RG_UINT32(const GLuint *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RG_UINT32()
2258 dst[i][0] = src[i * 2 + 0]; in unpack_int_rgba_RG_UINT32()
2259 dst[i][1] = src[i * 2 + 1]; in unpack_int_rgba_RG_UINT32()
2260 dst[i][2] = 0; in unpack_int_rgba_RG_UINT32()
2261 dst[i][3] = 1; in unpack_int_rgba_RG_UINT32()
2266 unpack_int_rgba_RG_UINT16(const GLushort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RG_UINT16()
2271 dst[i][0] = src[i * 2 + 0]; in unpack_int_rgba_RG_UINT16()
2272 dst[i][1] = src[i * 2 + 1]; in unpack_int_rgba_RG_UINT16()
2273 dst[i][2] = 0; in unpack_int_rgba_RG_UINT16()
2274 dst[i][3] = 1; in unpack_int_rgba_RG_UINT16()
2279 unpack_int_rgba_RG_INT16(const GLshort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RG_INT16()
2284 dst[i][0] = src[i * 2 + 0]; in unpack_int_rgba_RG_INT16()
2285 dst[i][1] = src[i * 2 + 1]; in unpack_int_rgba_RG_INT16()
2286 dst[i][2] = 0; in unpack_int_rgba_RG_INT16()
2287 dst[i][3] = 1; in unpack_int_rgba_RG_INT16()
2292 unpack_int_rgba_RG_UINT8(const GLubyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RG_UINT8()
2297 dst[i][0] = src[i * 2 + 0]; in unpack_int_rgba_RG_UINT8()
2298 dst[i][1] = src[i * 2 + 1]; in unpack_int_rgba_RG_UINT8()
2299 dst[i][2] = 0; in unpack_int_rgba_RG_UINT8()
2300 dst[i][3] = 1; in unpack_int_rgba_RG_UINT8()
2305 unpack_int_rgba_RG_INT8(const GLbyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_RG_INT8()
2310 dst[i][0] = src[i * 2 + 0]; in unpack_int_rgba_RG_INT8()
2311 dst[i][1] = src[i * 2 + 1]; in unpack_int_rgba_RG_INT8()
2312 dst[i][2] = 0; in unpack_int_rgba_RG_INT8()
2313 dst[i][3] = 1; in unpack_int_rgba_RG_INT8()
2318 unpack_int_rgba_R_UINT32(const GLuint *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_R_UINT32()
2323 dst[i][0] = src[i]; in unpack_int_rgba_R_UINT32()
2324 dst[i][1] = 0; in unpack_int_rgba_R_UINT32()
2325 dst[i][2] = 0; in unpack_int_rgba_R_UINT32()
2326 dst[i][3] = 1; in unpack_int_rgba_R_UINT32()
2331 unpack_int_rgba_R_UINT16(const GLushort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_R_UINT16()
2336 dst[i][0] = src[i]; in unpack_int_rgba_R_UINT16()
2337 dst[i][1] = 0; in unpack_int_rgba_R_UINT16()
2338 dst[i][2] = 0; in unpack_int_rgba_R_UINT16()
2339 dst[i][3] = 1; in unpack_int_rgba_R_UINT16()
2344 unpack_int_rgba_R_INT16(const GLshort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_R_INT16()
2349 dst[i][0] = src[i]; in unpack_int_rgba_R_INT16()
2350 dst[i][1] = 0; in unpack_int_rgba_R_INT16()
2351 dst[i][2] = 0; in unpack_int_rgba_R_INT16()
2352 dst[i][3] = 1; in unpack_int_rgba_R_INT16()
2357 unpack_int_rgba_R_UINT8(const GLubyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_R_UINT8()
2362 dst[i][0] = src[i]; in unpack_int_rgba_R_UINT8()
2363 dst[i][1] = 0; in unpack_int_rgba_R_UINT8()
2364 dst[i][2] = 0; in unpack_int_rgba_R_UINT8()
2365 dst[i][3] = 1; in unpack_int_rgba_R_UINT8()
2370 unpack_int_rgba_R_INT8(const GLbyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_R_INT8()
2375 dst[i][0] = src[i]; in unpack_int_rgba_R_INT8()
2376 dst[i][1] = 0; in unpack_int_rgba_R_INT8()
2377 dst[i][2] = 0; in unpack_int_rgba_R_INT8()
2378 dst[i][3] = 1; in unpack_int_rgba_R_INT8()
2383 unpack_int_rgba_ALPHA_UINT32(const GLuint *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_ALPHA_UINT32()
2388 dst[i][0] = dst[i][1] = dst[i][2] = 0; in unpack_int_rgba_ALPHA_UINT32()
2389 dst[i][3] = src[i]; in unpack_int_rgba_ALPHA_UINT32()
2394 unpack_int_rgba_ALPHA_UINT16(const GLushort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_ALPHA_UINT16()
2399 dst[i][0] = dst[i][1] = dst[i][2] = 0; in unpack_int_rgba_ALPHA_UINT16()
2400 dst[i][3] = src[i]; in unpack_int_rgba_ALPHA_UINT16()
2405 unpack_int_rgba_ALPHA_INT16(const GLshort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_ALPHA_INT16()
2410 dst[i][0] = dst[i][1] = dst[i][2] = 0; in unpack_int_rgba_ALPHA_INT16()
2411 dst[i][3] = src[i]; in unpack_int_rgba_ALPHA_INT16()
2416 unpack_int_rgba_ALPHA_UINT8(const GLubyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_ALPHA_UINT8()
2421 dst[i][0] = dst[i][1] = dst[i][2] = 0; in unpack_int_rgba_ALPHA_UINT8()
2422 dst[i][3] = src[i]; in unpack_int_rgba_ALPHA_UINT8()
2427 unpack_int_rgba_ALPHA_INT8(const GLbyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_ALPHA_INT8()
2432 dst[i][0] = dst[i][1] = dst[i][2] = 0; in unpack_int_rgba_ALPHA_INT8()
2433 dst[i][3] = src[i]; in unpack_int_rgba_ALPHA_INT8()
2438 unpack_int_rgba_LUMINANCE_UINT32(const GLuint *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_LUMINANCE_UINT32()
2443 dst[i][0] = dst[i][1] = dst[i][2] = src[i]; in unpack_int_rgba_LUMINANCE_UINT32()
2444 dst[i][3] = 1; in unpack_int_rgba_LUMINANCE_UINT32()
2449 unpack_int_rgba_LUMINANCE_UINT16(const GLushort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_LUMINANCE_UINT16()
2454 dst[i][0] = dst[i][1] = dst[i][2] = src[i]; in unpack_int_rgba_LUMINANCE_UINT16()
2455 dst[i][3] = 1; in unpack_int_rgba_LUMINANCE_UINT16()
2460 unpack_int_rgba_LUMINANCE_INT16(const GLshort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_LUMINANCE_INT16()
2465 dst[i][0] = dst[i][1] = dst[i][2] = src[i]; in unpack_int_rgba_LUMINANCE_INT16()
2466 dst[i][3] = 1; in unpack_int_rgba_LUMINANCE_INT16()
2471 unpack_int_rgba_LUMINANCE_UINT8(const GLubyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_LUMINANCE_UINT8()
2476 dst[i][0] = dst[i][1] = dst[i][2] = src[i]; in unpack_int_rgba_LUMINANCE_UINT8()
2477 dst[i][3] = 1; in unpack_int_rgba_LUMINANCE_UINT8()
2482 unpack_int_rgba_LUMINANCE_INT8(const GLbyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_LUMINANCE_INT8()
2487 dst[i][0] = dst[i][1] = dst[i][2] = src[i]; in unpack_int_rgba_LUMINANCE_INT8()
2488 dst[i][3] = 1; in unpack_int_rgba_LUMINANCE_INT8()
2494 unpack_int_rgba_LUMINANCE_ALPHA_UINT32(const GLuint *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_LUMINANCE_ALPHA_UINT32()
2499 dst[i][0] = dst[i][1] = dst[i][2] = src[i * 2 + 0]; in unpack_int_rgba_LUMINANCE_ALPHA_UINT32()
2500 dst[i][3] = src[i * 2 + 1]; in unpack_int_rgba_LUMINANCE_ALPHA_UINT32()
2505 unpack_int_rgba_LUMINANCE_ALPHA_UINT16(const GLushort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_LUMINANCE_ALPHA_UINT16()
2510 dst[i][0] = dst[i][1] = dst[i][2] = src[i * 2 + 0]; in unpack_int_rgba_LUMINANCE_ALPHA_UINT16()
2511 dst[i][3] = src[i * 2 + 1]; in unpack_int_rgba_LUMINANCE_ALPHA_UINT16()
2516 unpack_int_rgba_LUMINANCE_ALPHA_INT16(const GLshort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_LUMINANCE_ALPHA_INT16()
2521 dst[i][0] = dst[i][1] = dst[i][2] = src[i * 2 + 0]; in unpack_int_rgba_LUMINANCE_ALPHA_INT16()
2522 dst[i][3] = src[i * 2 + 1]; in unpack_int_rgba_LUMINANCE_ALPHA_INT16()
2527 unpack_int_rgba_LUMINANCE_ALPHA_UINT8(const GLubyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_LUMINANCE_ALPHA_UINT8()
2532 dst[i][0] = dst[i][1] = dst[i][2] = src[i * 2 + 0]; in unpack_int_rgba_LUMINANCE_ALPHA_UINT8()
2533 dst[i][3] = src[i * 2 + 1]; in unpack_int_rgba_LUMINANCE_ALPHA_UINT8()
2538 unpack_int_rgba_LUMINANCE_ALPHA_INT8(const GLbyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_LUMINANCE_ALPHA_INT8()
2543 dst[i][0] = dst[i][1] = dst[i][2] = src[i * 2 + 0]; in unpack_int_rgba_LUMINANCE_ALPHA_INT8()
2544 dst[i][3] = src[i * 2 + 1]; in unpack_int_rgba_LUMINANCE_ALPHA_INT8()
2549 unpack_int_rgba_INTENSITY_UINT32(const GLuint *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_INTENSITY_UINT32()
2554 dst[i][0] = dst[i][1] = dst[i][2] = dst[i][3] = src[i]; in unpack_int_rgba_INTENSITY_UINT32()
2559 unpack_int_rgba_INTENSITY_UINT16(const GLushort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_INTENSITY_UINT16()
2564 dst[i][0] = dst[i][1] = dst[i][2] = dst[i][3] = src[i]; in unpack_int_rgba_INTENSITY_UINT16()
2569 unpack_int_rgba_INTENSITY_INT16(const GLshort *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_INTENSITY_INT16()
2574 dst[i][0] = dst[i][1] = dst[i][2] = dst[i][3] = src[i]; in unpack_int_rgba_INTENSITY_INT16()
2579 unpack_int_rgba_INTENSITY_UINT8(const GLubyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_INTENSITY_UINT8()
2584 dst[i][0] = dst[i][1] = dst[i][2] = dst[i][3] = src[i]; in unpack_int_rgba_INTENSITY_UINT8()
2589 unpack_int_rgba_INTENSITY_INT8(const GLbyte *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_INTENSITY_INT8()
2594 dst[i][0] = dst[i][1] = dst[i][2] = dst[i][3] = src[i]; in unpack_int_rgba_INTENSITY_INT8()
2599 unpack_int_rgba_ARGB2101010_UINT(const GLuint *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_ARGB2101010_UINT()
2605 dst[i][0] = (tmp >> 20) & 0x3ff; in unpack_int_rgba_ARGB2101010_UINT()
2606 dst[i][1] = (tmp >> 10) & 0x3ff; in unpack_int_rgba_ARGB2101010_UINT()
2607 dst[i][2] = (tmp >> 0) & 0x3ff; in unpack_int_rgba_ARGB2101010_UINT()
2608 dst[i][3] = (tmp >> 30) & 0x3; in unpack_int_rgba_ARGB2101010_UINT()
2613 unpack_int_rgba_ABGR2101010_UINT(const GLuint *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_ABGR2101010_UINT()
2619 dst[i][0] = (tmp >> 0) & 0x3ff; in unpack_int_rgba_ABGR2101010_UINT()
2620 dst[i][1] = (tmp >> 10) & 0x3ff; in unpack_int_rgba_ABGR2101010_UINT()
2621 dst[i][2] = (tmp >> 20) & 0x3ff; in unpack_int_rgba_ABGR2101010_UINT()
2622 dst[i][3] = (tmp >> 30) & 0x3; in unpack_int_rgba_ABGR2101010_UINT()
2627 unpack_int_rgba_ARGB2101010(const GLuint *src, GLuint dst[][4], GLuint n) in unpack_int_rgba_ARGB2101010()
2633 dst[i][0] = (tmp >> 20) & 0x3ff; in unpack_int_rgba_ARGB2101010()
2634 dst[i][1] = (tmp >> 10) & 0x3ff; in unpack_int_rgba_ARGB2101010()
2635 dst[i][2] = (tmp >> 0) & 0x3ff; in unpack_int_rgba_ARGB2101010()
2636 dst[i][3] = (tmp >> 30) & 0x3; in unpack_int_rgba_ARGB2101010()
2642 const void *src, GLuint dst[][4]) in _mesa_unpack_uint_rgba_row()
2650 unpack_int_rgba_RGBA_UINT32(src, dst, n); in _mesa_unpack_uint_rgba_row()
2654 unpack_int_rgba_RGBA_UINT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2657 unpack_int_rgba_RGBA_INT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2661 unpack_int_rgba_RGBA_UINT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2664 unpack_int_rgba_RGBA_INT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2668 unpack_int_rgba_ARGB8888(src, dst, n); in _mesa_unpack_uint_rgba_row()
2672 unpack_int_rgba_XRGB8888(src, dst, n); in _mesa_unpack_uint_rgba_row()
2677 unpack_int_rgba_RGB_UINT32(src, dst, n); in _mesa_unpack_uint_rgba_row()
2681 unpack_int_rgba_RGB_UINT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2684 unpack_int_rgba_RGB_INT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2688 unpack_int_rgba_RGB_UINT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2691 unpack_int_rgba_RGB_INT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2696 unpack_int_rgba_RG_UINT32(src, dst, n); in _mesa_unpack_uint_rgba_row()
2700 unpack_int_rgba_RG_UINT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2703 unpack_int_rgba_RG_INT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2707 unpack_int_rgba_RG_UINT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2710 unpack_int_rgba_RG_INT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2715 unpack_int_rgba_R_UINT32(src, dst, n); in _mesa_unpack_uint_rgba_row()
2719 unpack_int_rgba_R_UINT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2722 unpack_int_rgba_R_INT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2726 unpack_int_rgba_R_UINT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2729 unpack_int_rgba_R_INT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2734 unpack_int_rgba_ALPHA_UINT32(src, dst, n); in _mesa_unpack_uint_rgba_row()
2738 unpack_int_rgba_ALPHA_UINT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2741 unpack_int_rgba_ALPHA_INT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2745 unpack_int_rgba_ALPHA_UINT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2748 unpack_int_rgba_ALPHA_INT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2753 unpack_int_rgba_LUMINANCE_UINT32(src, dst, n); in _mesa_unpack_uint_rgba_row()
2756 unpack_int_rgba_LUMINANCE_UINT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2759 unpack_int_rgba_LUMINANCE_INT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2763 unpack_int_rgba_LUMINANCE_UINT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2766 unpack_int_rgba_LUMINANCE_INT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2771 unpack_int_rgba_LUMINANCE_ALPHA_UINT32(src, dst, n); in _mesa_unpack_uint_rgba_row()
2775 unpack_int_rgba_LUMINANCE_ALPHA_UINT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2778 unpack_int_rgba_LUMINANCE_ALPHA_INT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2782 unpack_int_rgba_LUMINANCE_ALPHA_UINT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2785 unpack_int_rgba_LUMINANCE_ALPHA_INT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2790 unpack_int_rgba_INTENSITY_UINT32(src, dst, n); in _mesa_unpack_uint_rgba_row()
2794 unpack_int_rgba_INTENSITY_UINT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2797 unpack_int_rgba_INTENSITY_INT16(src, dst, n); in _mesa_unpack_uint_rgba_row()
2801 unpack_int_rgba_INTENSITY_UINT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2804 unpack_int_rgba_INTENSITY_INT8(src, dst, n); in _mesa_unpack_uint_rgba_row()
2808 unpack_int_rgba_ARGB2101010_UINT(src, dst, n); in _mesa_unpack_uint_rgba_row()
2812 unpack_int_rgba_ABGR2101010_UINT(src, dst, n); in _mesa_unpack_uint_rgba_row()
2816 unpack_int_rgba_ARGB2101010(src, dst, n); in _mesa_unpack_uint_rgba_row()
2841 GLfloat dst[][4], GLint dstRowStride, in _mesa_unpack_rgba_block()
2854 dstRow = ((GLubyte *) dst) + dstRowStride * y + dstPixStride * x; in _mesa_unpack_rgba_block()
2867 typedef void (*unpack_float_z_func)(GLuint n, const void *src, GLfloat *dst);
2870 unpack_float_z_Z24_X8(GLuint n, const void *src, GLfloat *dst) in unpack_float_z_Z24_X8() argument
2877 dst[i] = (s[i] >> 8) * scale; in unpack_float_z_Z24_X8()
2878 ASSERT(dst[i] >= 0.0F); in unpack_float_z_Z24_X8()
2879 ASSERT(dst[i] <= 1.0F); in unpack_float_z_Z24_X8()
2884 unpack_float_z_X8_Z24(GLuint n, const void *src, GLfloat *dst) in unpack_float_z_X8_Z24() argument
2891 dst[i] = (s[i] & 0x00ffffff) * scale; in unpack_float_z_X8_Z24()
2892 ASSERT(dst[i] >= 0.0F); in unpack_float_z_X8_Z24()
2893 ASSERT(dst[i] <= 1.0F); in unpack_float_z_X8_Z24()
2898 unpack_float_z_Z16(GLuint n, const void *src, GLfloat *dst) in unpack_float_z_Z16() argument
2903 dst[i] = s[i] * (1.0F / 65535.0F); in unpack_float_z_Z16()
2908 unpack_float_z_Z32(GLuint n, const void *src, GLfloat *dst) in unpack_float_z_Z32() argument
2913 dst[i] = s[i] * (1.0F / 0xffffffff); in unpack_float_z_Z32()
2918 unpack_float_z_Z32F(GLuint n, const void *src, GLfloat *dst) in unpack_float_z_Z32F() argument
2920 memcpy(dst, src, n * sizeof(float)); in unpack_float_z_Z32F()
2924 unpack_float_z_Z32X24S8(GLuint n, const void *src, GLfloat *dst) in unpack_float_z_Z32X24S8() argument
2929 dst[i] = s[i].z; in unpack_float_z_Z32X24S8()
2941 const void *src, GLfloat *dst) in _mesa_unpack_float_z_row() argument
2972 unpack(n, src, dst); in _mesa_unpack_float_z_row()
2977 typedef void (*unpack_uint_z_func)(const void *src, GLuint *dst, GLuint n);
2980 unpack_uint_z_Z24_X8(const void *src, GLuint *dst, GLuint n) in unpack_uint_z_Z24_X8() argument
2986 dst[i] = (s[i] & 0xffffff00) | (s[i] >> 24); in unpack_uint_z_Z24_X8()
2991 unpack_uint_z_X8_Z24(const void *src, GLuint *dst, GLuint n) in unpack_uint_z_X8_Z24() argument
2997 dst[i] = (s[i] << 8) | ((s[i] >> 16) & 0xff); in unpack_uint_z_X8_Z24()
3002 unpack_uint_z_Z16(const void *src, GLuint *dst, GLuint n) in unpack_uint_z_Z16() argument
3007 dst[i] = (s[i] << 16) | s[i]; in unpack_uint_z_Z16()
3012 unpack_uint_z_Z32(const void *src, GLuint *dst, GLuint n) in unpack_uint_z_Z32() argument
3014 memcpy(dst, src, n * sizeof(GLuint)); in unpack_uint_z_Z32()
3018 unpack_uint_z_Z32_FLOAT(const void *src, GLuint *dst, GLuint n) in unpack_uint_z_Z32_FLOAT() argument
3023 dst[i] = FLOAT_TO_UINT(CLAMP(s[i], 0.0F, 1.0F)); in unpack_uint_z_Z32_FLOAT()
3028 unpack_uint_z_Z32_FLOAT_X24S8(const void *src, GLuint *dst, GLuint n) in unpack_uint_z_Z32_FLOAT_X24S8() argument
3034 dst[i] = FLOAT_TO_UINT(CLAMP(s[i].z, 0.0F, 1.0F)); in unpack_uint_z_Z32_FLOAT_X24S8()
3045 const void *src, GLuint *dst) in _mesa_unpack_uint_z_row() argument
3077 unpack(srcPtr, dst, n); in _mesa_unpack_uint_z_row()
3082 unpack_ubyte_s_S8(const void *src, GLubyte *dst, GLuint n) in unpack_ubyte_s_S8() argument
3084 memcpy(dst, src, n); in unpack_ubyte_s_S8()
3088 unpack_ubyte_s_Z24_S8(const void *src, GLubyte *dst, GLuint n) in unpack_ubyte_s_Z24_S8() argument
3094 dst[i] = src32[i] & 0xff; in unpack_ubyte_s_Z24_S8()
3098 unpack_ubyte_s_S8_Z24(const void *src, GLubyte *dst, GLuint n) in unpack_ubyte_s_S8_Z24() argument
3104 dst[i] = src32[i] >> 24; in unpack_ubyte_s_S8_Z24()
3108 unpack_ubyte_s_Z32_FLOAT_X24S8(const void *src, GLubyte *dst, GLuint n) in unpack_ubyte_s_Z32_FLOAT_X24S8() argument
3114 dst[i] = s[i].x24s8 & 0xff; in unpack_ubyte_s_Z32_FLOAT_X24S8()
3119 const void *src, GLubyte *dst) in _mesa_unpack_ubyte_stencil_row() argument
3123 unpack_ubyte_s_S8(src, dst, n); in _mesa_unpack_ubyte_stencil_row()
3126 unpack_ubyte_s_Z24_S8(src, dst, n); in _mesa_unpack_ubyte_stencil_row()
3129 unpack_ubyte_s_S8_Z24(src, dst, n); in _mesa_unpack_ubyte_stencil_row()
3132 unpack_ubyte_s_Z32_FLOAT_X24S8(src, dst, n); in _mesa_unpack_ubyte_stencil_row()
3142 unpack_uint_24_8_depth_stencil_S8_Z24(const GLuint *src, GLuint *dst, GLuint n) in unpack_uint_24_8_depth_stencil_S8_Z24() argument
3148 dst[i] = val >> 24 | val << 8; in unpack_uint_24_8_depth_stencil_S8_Z24()
3153 unpack_uint_24_8_depth_stencil_Z24_S8(const GLuint *src, GLuint *dst, GLuint n) in unpack_uint_24_8_depth_stencil_Z24_S8() argument
3155 memcpy(dst, src, n * 4); in unpack_uint_24_8_depth_stencil_Z24_S8()
3160 const void *src, GLuint *dst) in _mesa_unpack_uint_24_8_depth_stencil_row() argument
3164 unpack_uint_24_8_depth_stencil_Z24_S8(src, dst, n); in _mesa_unpack_uint_24_8_depth_stencil_row()
3167 unpack_uint_24_8_depth_stencil_S8_Z24(src, dst, n); in _mesa_unpack_uint_24_8_depth_stencil_row()