Lines Matching refs:deUint8
43 static inline deUint8 getChannel (deUint32 color) in getChannel()
45 return (deUint8)((color >> (Channel*8)) & 0xff); in getChannel()
48 static inline deUint8 getChannel (deUint32 color, int channel) in getChannel()
50 return (deUint8)((color >> (channel*8)) & 0xff); in getChannel()
53 static inline deUint32 setChannel (deUint32 color, int channel, deUint8 val) in setChannel()
63 static inline deUint8 roundToUint8Sat (float v) in roundToUint8Sat()
65 return (deUint8)de::clamp((int)(v + 0.5f), 0, 255); in roundToUint8Sat()
76 const deUint8* ptr = (const deUint8*)src.getDataPtr() + src.getRowPitch()*y + x*NumChannels; in readUnorm8()
92 return *(const deUint32*)((const deUint8*)src.getDataPtr() + src.getRowPitch()*y + x*4); in readUnorm8()
99 deUint8* ptr = (deUint8*)dst.getDataPtr() + dst.getRowPitch()*y + x*NumChannels; in writeUnorm8()
109 *(deUint32*)((deUint8*)dst.getDataPtr() + dst.getRowPitch()*y + x*4) = val; in writeUnorm8()