Home
last modified time | relevance | path

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

/third_party/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()
/third_party/mesa3d/src/mesa/main/
Dtexcompress_s3tc_tmp.h743 GLshort blockerrlin2 = 0; in encodedxt5alpha() local
787 blockerrlin2 += (srccolors[j][i][3] - (alphatest[0] * 4 + alphatest[1] * 1) / 5); in encodedxt5alpha()
793 blockerrlin2 += (srccolors[j][i][3] - (alphatest[0] * 3 + alphatest[1] * 2) / 5); in encodedxt5alpha()
799 blockerrlin2 += (srccolors[j][i][3] - (alphatest[0] * 2 + alphatest[1] * 3) / 5); in encodedxt5alpha()
805 blockerrlin2 += (srccolors[j][i][3] - (alphatest[0] * 1 + alphatest[1] * 4) / 5); in encodedxt5alpha()
810 blockerrlin2 += (srccolors[j][i][3] - alphatest[1]); in encodedxt5alpha()
826 alphatest[1] = alphatest[1] + (blockerrlin2 / nralphainrangehigh); in encodedxt5alpha()