Home
last modified time | relevance | path

Searched refs:SRC_CONVERT (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/main/
Dpack_tmp.h36 dst[i] = SRC_CONVERT(rgba[i][RCOMP]); in FN_NAME()
42 dst[i] = SRC_CONVERT(rgba[i][GCOMP]); in FN_NAME()
48 dst[i] = SRC_CONVERT(rgba[i][BCOMP]); in FN_NAME()
54 dst[i] = SRC_CONVERT(rgba[i][ACOMP]); in FN_NAME()
60 dst[i*2+0] = SRC_CONVERT(rgba[i][RCOMP]); in FN_NAME()
61 dst[i*2+1] = SRC_CONVERT(rgba[i][GCOMP]); in FN_NAME()
67 dst[i*3+0] = SRC_CONVERT(rgba[i][RCOMP]); in FN_NAME()
68 dst[i*3+1] = SRC_CONVERT(rgba[i][GCOMP]); in FN_NAME()
69 dst[i*3+2] = SRC_CONVERT(rgba[i][BCOMP]); in FN_NAME()
75 dst[i*4+0] = SRC_CONVERT(rgba[i][RCOMP]); in FN_NAME()
[all …]
Dpack.c470 #define SRC_CONVERT(x) (x) macro
474 #undef SRC_CONVERT
478 #define SRC_CONVERT(x) MIN2(x, 0x7fffffff) macro
482 #undef SRC_CONVERT
486 #define SRC_CONVERT(x) MIN2(x, 0xffff) macro
490 #undef SRC_CONVERT
494 #define SRC_CONVERT(x) CLAMP((int)x, -32768, 32767) macro
498 #undef SRC_CONVERT
502 #define SRC_CONVERT(x) MIN2(x, 0xff) macro
506 #undef SRC_CONVERT
[all …]