Lines Matching refs:inMask
247 void etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask,
262 if (inMask & (1 << i)) {
279 if (inMask & (1 << i)) {
335 void etc_encode_subblock_helper(const etc1_byte* pIn, etc1_uint32 inMask,
348 if (inMask & (1 << i)) {
363 if (inMask & (1 << i)) {
433 void etc_encode_block_helper(const etc1_byte* pIn, etc1_uint32 inMask,
451 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, false,
462 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, true,
484 void etc1_encode_block(const etc1_byte* pIn, etc1_uint32 inMask,
488 etc_average_colors_subblock(pIn, inMask, colors, false, false);
489 etc_average_colors_subblock(pIn, inMask, colors + 3, false, true);
490 etc_average_colors_subblock(pIn, inMask, flippedColors, true, false);
491 etc_average_colors_subblock(pIn, inMask, flippedColors + 3, true, true);
494 etc_encode_block_helper(pIn, inMask, colors, &a, false);
495 etc_encode_block_helper(pIn, inMask, flippedColors, &b, true);