• Home
  • Raw
  • Download

Lines Matching refs:high

201     etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3];  in etc1_decode_block()  local
204 if (high & 2) { in etc1_decode_block()
206 int rBase = high >> 27; in etc1_decode_block()
207 int gBase = high >> 19; in etc1_decode_block()
208 int bBase = high >> 11; in etc1_decode_block()
210 r2 = convertDiff(rBase, high >> 24); in etc1_decode_block()
212 g2 = convertDiff(gBase, high >> 16); in etc1_decode_block()
214 b2 = convertDiff(bBase, high >> 8); in etc1_decode_block()
217 r1 = convert4To8(high >> 28); in etc1_decode_block()
218 r2 = convert4To8(high >> 24); in etc1_decode_block()
219 g1 = convert4To8(high >> 20); in etc1_decode_block()
220 g2 = convert4To8(high >> 16); in etc1_decode_block()
221 b1 = convert4To8(high >> 12); in etc1_decode_block()
222 b2 = convert4To8(high >> 8); in etc1_decode_block()
224 int tableIndexA = 7 & (high >> 5); in etc1_decode_block()
225 int tableIndexB = 7 & (high >> 2); in etc1_decode_block()
228 bool flipped = (high & 1) != 0; in etc1_decode_block()
234 etc1_uint32 high; member
403 pCompressed->high |= (r51 << 27) | ((7 & dr) << 24) | (g51 << 19) in etc_encodeBaseColors()
421 pCompressed->high |= (r41 << 28) | (r42 << 24) | (g41 << 20) | (g42 in etc_encodeBaseColors()
436 pCompressed->high = (flipped ? 1 : 0); in etc_encode_block_helper()
443 int originalHigh = pCompressed->high; in etc_encode_block_helper()
449 temp.high = originalHigh | (i << 5); in etc_encode_block_helper()
460 temp.high = firstHalf.high | (i << 2); in etc_encode_block_helper()
497 writeBigEndian(pOut, a.high); in etc1_encode_block()