Home
last modified time | relevance | path

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

/external/mesa3d/src/util/
Dtexcompress_rgtc_tmp.h251 short blockerrlin1 = 0; in TAG() local
290 blockerrlin1 += (srccolors[j][i] - alphatest[0]); in TAG()
294 blockerrlin1 += (srccolors[j][i] - (alphatest[0] * 4 + alphatest[1] * 1) / 5); in TAG()
300 blockerrlin1 += (srccolors[j][i] - (alphatest[0] * 3 + alphatest[1] * 2) / 5); in TAG()
306 blockerrlin1 += (srccolors[j][i] - (alphatest[0] * 2 + alphatest[1] * 3) / 5); in TAG()
312 blockerrlin1 += (srccolors[j][i] - (alphatest[0] * 1 + alphatest[1] * 4) / 5); in TAG()
326 alphatest[0] = alphatest[0] + (blockerrlin1 / nralphainrangelow); in TAG()
328 fprintf(stderr, "block err lin low %d, nr %d\n", blockerrlin1, nralphainrangelow); in TAG()
/external/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h742 GLshort blockerrlin1 = 0; in encodedxt5alpha() local
782 blockerrlin1 += (srccolors[j][i][3] - alphatest[0]); in encodedxt5alpha()
786 blockerrlin1 += (srccolors[j][i][3] - (alphatest[0] * 4 + alphatest[1] * 1) / 5); in encodedxt5alpha()
792 blockerrlin1 += (srccolors[j][i][3] - (alphatest[0] * 3 + alphatest[1] * 2) / 5); in encodedxt5alpha()
798 blockerrlin1 += (srccolors[j][i][3] - (alphatest[0] * 2 + alphatest[1] * 3) / 5); in encodedxt5alpha()
804 blockerrlin1 += (srccolors[j][i][3] - (alphatest[0] * 1 + alphatest[1] * 4) / 5); in encodedxt5alpha()
818 alphatest[0] = alphatest[0] + (blockerrlin1 / nralphainrangelow); in encodedxt5alpha()