Home
last modified time | relevance | path

Searched refs:UNCLAMPED_FLOAT_TO_USHORT (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/mesa/main/
Dformat_pack.c715 UNCLAMPED_FLOAT_TO_USHORT(l, src[RCOMP]); in pack_float_AL1616()
716 UNCLAMPED_FLOAT_TO_USHORT(a, src[ACOMP]); in pack_float_AL1616()
737 UNCLAMPED_FLOAT_TO_USHORT(l, src[RCOMP]); in pack_float_AL1616_REV()
738 UNCLAMPED_FLOAT_TO_USHORT(a, src[ACOMP]); in pack_float_AL1616_REV()
793 UNCLAMPED_FLOAT_TO_USHORT(d[0], src[ACOMP]); in pack_float_A16()
827 UNCLAMPED_FLOAT_TO_USHORT(d[0], src[RCOMP]); in pack_float_L16()
933 UNCLAMPED_FLOAT_TO_USHORT(d[0], src[RCOMP]); in pack_float_R16()
953 UNCLAMPED_FLOAT_TO_USHORT(r, src[RCOMP]); in pack_float_RG1616()
954 UNCLAMPED_FLOAT_TO_USHORT(g, src[GCOMP]); in pack_float_RG1616()
976 UNCLAMPED_FLOAT_TO_USHORT(r, src[RCOMP]); in pack_float_RG1616_REV()
[all …]
Dimage.c559 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][RCOMP], src4[i][RCOMP]); in _mesa_convert_colors()
560 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][GCOMP], src4[i][GCOMP]); in _mesa_convert_colors()
561 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][BCOMP], src4[i][BCOMP]); in _mesa_convert_colors()
562 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][ACOMP], src4[i][ACOMP]); in _mesa_convert_colors()
Dtexstore.c1728 UNCLAMPED_FLOAT_TO_USHORT(a, src[ACOMP]); in _mesa_texstore_argb2101010()
1729 UNCLAMPED_FLOAT_TO_USHORT(r, src[RCOMP]); in _mesa_texstore_argb2101010()
1730 UNCLAMPED_FLOAT_TO_USHORT(g, src[GCOMP]); in _mesa_texstore_argb2101010()
1731 UNCLAMPED_FLOAT_TO_USHORT(b, src[BCOMP]); in _mesa_texstore_argb2101010()
1743 UNCLAMPED_FLOAT_TO_USHORT(r, src[RCOMP]); in _mesa_texstore_argb2101010()
1744 UNCLAMPED_FLOAT_TO_USHORT(g, src[GCOMP]); in _mesa_texstore_argb2101010()
1745 UNCLAMPED_FLOAT_TO_USHORT(b, src[BCOMP]); in _mesa_texstore_argb2101010()
1972 UNCLAMPED_FLOAT_TO_USHORT(l, src[0]); in _mesa_texstore_unorm1616()
1973 UNCLAMPED_FLOAT_TO_USHORT(a, src[1]); in _mesa_texstore_unorm1616()
1982 UNCLAMPED_FLOAT_TO_USHORT(l, src[0]); in _mesa_texstore_unorm1616()
[all …]
Dmacros.h131 #define UNCLAMPED_FLOAT_TO_USHORT(us, f) \ macro
Dpack.c1665 UNCLAMPED_FLOAT_TO_USHORT(dst[i], luminance[i]); in _mesa_pack_rgba_span_float()
1669 UNCLAMPED_FLOAT_TO_USHORT(dst[i*2+0], luminance[i]); in _mesa_pack_rgba_span_float()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_sampler_state.c121 UNCLAMPED_FLOAT_TO_USHORT(sdc->us[0], color[0]); in upload_default_color()
122 UNCLAMPED_FLOAT_TO_USHORT(sdc->us[1], color[1]); in upload_default_color()
123 UNCLAMPED_FLOAT_TO_USHORT(sdc->us[2], color[2]); in upload_default_color()
124 UNCLAMPED_FLOAT_TO_USHORT(sdc->us[3], color[3]); in upload_default_color()
/external/mesa3d/src/mesa/swrast/
Ds_chan.h89 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) UNCLAMPED_FLOAT_TO_USHORT(c, f)
Ds_blend.c880 UNCLAMPED_FLOAT_TO_USHORT(rgba[i][RCOMP], rgbaF[i][RCOMP]); in blend_general()
881 UNCLAMPED_FLOAT_TO_USHORT(rgba[i][GCOMP], rgbaF[i][GCOMP]); in blend_general()
882 UNCLAMPED_FLOAT_TO_USHORT(rgba[i][BCOMP], rgbaF[i][BCOMP]); in blend_general()
883 UNCLAMPED_FLOAT_TO_USHORT(rgba[i][ACOMP], rgbaF[i][ACOMP]); in blend_general()
/external/mesa3d/src/mesa/math/
Dm_translate.c445 #define TRX_US(us,f,n) UNCLAMPED_FLOAT_TO_USHORT(us, PTR_ELT(f,n))