Home
last modified time | relevance | path

Searched refs:blockerrlin2 (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/util/
Dtexcompress_rgtc_tmp.h252 short blockerrlin2 = 0; in TAG() local
295 blockerrlin2 += (srccolors[j][i] - (alphatest[0] * 4 + alphatest[1] * 1) / 5); in TAG()
301 blockerrlin2 += (srccolors[j][i] - (alphatest[0] * 3 + alphatest[1] * 2) / 5); in TAG()
307 blockerrlin2 += (srccolors[j][i] - (alphatest[0] * 2 + alphatest[1] * 3) / 5); in TAG()
313 blockerrlin2 += (srccolors[j][i] - (alphatest[0] * 1 + alphatest[1] * 4) / 5); in TAG()
318 blockerrlin2 += (srccolors[j][i] - alphatest[1]); in TAG()
329 fprintf(stderr, "block err lin high %d, nr %d\n", blockerrlin2, nralphainrangehigh); in TAG()
335 alphatest[1] = alphatest[1] + (blockerrlin2 / nralphainrangehigh); in TAG()
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h740 GLshort blockerrlin2 = 0; in encodedxt5alpha() local
784 blockerrlin2 += (srccolors[j][i][3] - (alphatest[0] * 4 + alphatest[1] * 1) / 5); in encodedxt5alpha()
790 blockerrlin2 += (srccolors[j][i][3] - (alphatest[0] * 3 + alphatest[1] * 2) / 5); in encodedxt5alpha()
796 blockerrlin2 += (srccolors[j][i][3] - (alphatest[0] * 2 + alphatest[1] * 3) / 5); in encodedxt5alpha()
802 blockerrlin2 += (srccolors[j][i][3] - (alphatest[0] * 1 + alphatest[1] * 4) / 5); in encodedxt5alpha()
807 blockerrlin2 += (srccolors[j][i][3] - alphatest[1]); in encodedxt5alpha()
823 alphatest[1] = alphatest[1] + (blockerrlin2 / nralphainrangehigh); in encodedxt5alpha()