Lines Matching refs:r2
299 int r1, r2, g1, g2, b1, b2; in etc2_decode_block_T() local
303 r2 = convert4To8(high >> 12); in etc2_decode_block_T()
313 clrTable[3] = clamp(r2 + intenseMod); in etc2_decode_block_T()
316 clrTable[6] = r2; in etc2_decode_block_T()
319 clrTable[9] = clamp(r2 - intenseMod); in etc2_decode_block_T()
328 int r1, r2, g1, g2, b1, b2; in etc2_decode_block_H() local
332 r2 = convert4To8(high >> 11); in etc2_decode_block_H()
338 intenseIdx |= (((r1 << 16) | (g1 << 8) | b1) >= ((r2 << 16) | (g2 << 8) | b2)); in etc2_decode_block_H()
347 clrTable[6] = clamp(r2 + intenseMod); in etc2_decode_block_H()
350 clrTable[9] = clamp(r2 - intenseMod); in etc2_decode_block_H()
394 int r1, r2, g1, g2, b1, b2; in etc2_decode_rgb_block() local
413 r2 = convertDiff(rBase, high >> 24); in etc2_decode_rgb_block()
421 r2 = convert4To8(high >> 24); in etc2_decode_rgb_block()
436 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped, in etc2_decode_rgb_block()
640 int r1, g1, b1, r2, g2, b2; // 8 bit base colors for sub-blocks in etc_encodeBaseColors() local
661 r2 = convert5To8(r51 + dr); in etc_encodeBaseColors()
679 r2 = convert4To8(r42); in etc_encodeBaseColors()
688 pBaseColors[3] = r2; in etc_encodeBaseColors()