Lines Matching refs:pCompressed
336 etc_compressed* pCompressed, bool flipped, bool second, in etc_encode_subblock_helper() argument
338 int score = pCompressed->score; in etc_encode_subblock_helper()
350 &pCompressed->low, yy + x * 4, pModifierTable); in etc_encode_subblock_helper()
365 &pCompressed->low, y + xx * 4, pModifierTable); in etc_encode_subblock_helper()
370 pCompressed->score = score; in etc_encode_subblock_helper()
378 const etc1_byte* pColors, etc_compressed* pCompressed) { in etc_encodeBaseColors() argument
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()
434 const etc1_byte* pColors, etc_compressed* pCompressed, bool flipped) { in etc_encode_block_helper() argument
435 pCompressed->score = ~0; in etc_encode_block_helper()
436 pCompressed->high = (flipped ? 1 : 0); in etc_encode_block_helper()
437 pCompressed->low = 0; in etc_encode_block_helper()
441 etc_encodeBaseColors(pBaseColors, pColors, pCompressed); in etc_encode_block_helper()
443 int originalHigh = pCompressed->high; in etc_encode_block_helper()
453 take_best(pCompressed, &temp); in etc_encode_block_helper()
456 etc_compressed firstHalf = *pCompressed; in etc_encode_block_helper()
465 *pCompressed = temp; in etc_encode_block_helper()
467 take_best(pCompressed, &temp); in etc_encode_block_helper()