Lines Matching refs:red1
367 red0, red1, bits_0, bits_1, bits_2, bits_3, bits_4, bits_5
379 red0 and red1 are 8-bit unsigned integers that are unpacked to red
395 RED0, if red0 > red1 and code(x,y) == 0
396 RED1, if red0 > red1 and code(x,y) == 1
397 (6*RED0+ RED1)/7, if red0 > red1 and code(x,y) == 2
398 (5*RED0+2*RED1)/7, if red0 > red1 and code(x,y) == 3
399 (4*RED0+3*RED1)/7, if red0 > red1 and code(x,y) == 4
400 (3*RED0+4*RED1)/7, if red0 > red1 and code(x,y) == 5
401 (2*RED0+5*RED1)/7, if red0 > red1 and code(x,y) == 6
402 ( RED0+6*RED1)/7, if red0 > red1 and code(x,y) == 7
404 RED0, if red0 <= red1 and code(x,y) == 0
405 RED1, if red0 <= red1 and code(x,y) == 1
406 (4*RED0+ RED1)/5, if red0 <= red1 and code(x,y) == 2
407 (3*RED0+2*RED1)/5, if red0 <= red1 and code(x,y) == 3
408 (2*RED0+3*RED1)/5, if red0 <= red1 and code(x,y) == 4
409 ( RED0+4*RED1)/5, if red0 <= red1 and code(x,y) == 5
410 MINRED, if red0 <= red1 and code(x,y) == 6
411 MAXRED, if red0 <= red1 and code(x,y) == 7
421 extracted in the same way as COMPRESSED_RED_RGTC1 except red0, red1,
424 red0 and red1 are 8-bit signed (two's complement) integers.
430 { red1 / 127.0, red1 > -128
432 { -1.0, red1 == -128
438 CAVEAT for signed red0 and red1 values: the expressions "red0 >
439 red1" and "red0 <= red1" above are considered undefined (read: may
440 vary by implementation) when red0 equals -127 and red1 equals -128,
444 avoid encoding blocks where red0 equals -127 and red1 equals -128.