Lines Matching refs:extend2BitsToByte
84 deUint8 extend2BitsToByte (deUint8 bits)
101 coords[i] = extend2BitsToByte(xBits);
108 extend2BitsToByte(0x0u),
109 extend2BitsToByte(0x1u),
110 extend2BitsToByte(0x2u),
111 extend2BitsToByte(0x3u)
121 coords[posX - offset] = ((i % 2) == 0 ? extend2BitsToByte(0x0u) : extend2BitsToByte(0x3u));
124 coords[posY - offset] = ((i / 2) == 1 ? extend2BitsToByte(0x3u) : extend2BitsToByte(0x0u));
132 extend2BitsToByte(0x0u),
133 extend2BitsToByte(0x3u),
134 extend2BitsToByte(0x1u),
136 extend2BitsToByte(0x1u),
137 extend2BitsToByte(0x2u),
138 extend2BitsToByte(0x0u),
140 extend2BitsToByte(0x0u),
141 extend2BitsToByte(0x2u),
142 extend2BitsToByte(0x1u),
144 extend2BitsToByte(0x1u),
145 extend2BitsToByte(0x3u),
146 extend2BitsToByte(0x0u)
885 const deUint8 val = extend2BitsToByte(i);
889 bufferData[val*2 + 0] = (i / 2 == 0 ? extend2BitsToByte(0x2u) : extend2BitsToByte(0x01u));
890 bufferData[val*2 + 1] = (i % 2 == 0 ? extend2BitsToByte(0x2u) : extend2BitsToByte(0x01u));