Lines Matching refs:red1
423 red0, red1, bits_0, bits_1, bits_2, bits_3, bits_4, bits_5
435 red0 and red1 are 8-bit unsigned integers that are unpacked to red
451 RED0, if red0 > red1 and code(x,y) == 0
452 RED1, if red0 > red1 and code(x,y) == 1
453 (6*RED0+ RED1)/7, if red0 > red1 and code(x,y) == 2
454 (5*RED0+2*RED1)/7, if red0 > red1 and code(x,y) == 3
455 (4*RED0+3*RED1)/7, if red0 > red1 and code(x,y) == 4
456 (3*RED0+4*RED1)/7, if red0 > red1 and code(x,y) == 5
457 (2*RED0+5*RED1)/7, if red0 > red1 and code(x,y) == 6
458 ( RED0+6*RED1)/7, if red0 > red1 and code(x,y) == 7
460 RED0, if red0 <= red1 and code(x,y) == 0
461 RED1, if red0 <= red1 and code(x,y) == 1
462 (4*RED0+ RED1)/5, if red0 <= red1 and code(x,y) == 2
463 (3*RED0+2*RED1)/5, if red0 <= red1 and code(x,y) == 3
464 (2*RED0+3*RED1)/5, if red0 <= red1 and code(x,y) == 4
465 ( RED0+4*RED1)/5, if red0 <= red1 and code(x,y) == 5
466 MINRED, if red0 <= red1 and code(x,y) == 6
467 MAXRED, if red0 <= red1 and code(x,y) == 7
477 extracted in the same way as COMPRESSED_RED_RGTC1 except red0, red1,
480 red0 and red1 are 8-bit signed (two's complement) integers.
486 { red1 / 127.0, red1 > -128
488 { -1.0, red1 == -128
494 CAVEAT for signed red0 and red1 values: the expressions "red0 >
495 red1" and "red0 <= red1" above are considered undefined (read: may
496 vary by implementation) when red0 equals -127 and red1 equals -128,
500 avoid encoding blocks where red0 equals -127 and red1 equals -128.