Searched refs:convert4To8 (Results 1 – 2 of 2) sorted by relevance
75 uint convert4To8(uint b) {125 r1 = int(convert4To8((((high >> 27) & 3) << 2) | ((high >> 24) & 3)));126 g1 = int(convert4To8(high >> 20));127 b1 = int(convert4To8(high >> 16));128 r2 = int(convert4To8(high >> 12));129 g2 = int(convert4To8(high >> 8));130 b2 = int(convert4To8(high >> 4));147 rgb1.r = int(convert4To8(high >> 27));148 rgb1.g = int(convert4To8(((high >> 24) << 1) | ((high >> 20) & 1)));149 rgb1.b = int(convert4To8(((high >> 19) << 3) | ((high >> 15) & 7)));[all …]
172 inline int convert4To8(int b) { in convert4To8() function300 r1 = convert4To8((((high >> 27) & 3) << 2) | ((high >> 24) & 3)); in etc2_decode_block_T()301 g1 = convert4To8(high >> 20); in etc2_decode_block_T()302 b1 = convert4To8(high >> 16); in etc2_decode_block_T()303 r2 = convert4To8(high >> 12); in etc2_decode_block_T()304 g2 = convert4To8(high >> 8); in etc2_decode_block_T()305 b2 = convert4To8(high >> 4); in etc2_decode_block_T()329 r1 = convert4To8(high >> 27); in etc2_decode_block_H()330 g1 = convert4To8((high >> 24) << 1 | ((high >> 20) & 1)); in etc2_decode_block_H()331 b1 = convert4To8((high >> 19) << 3 | ((high >> 15) & 7)); in etc2_decode_block_H()[all …]