Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c1597 #define WEIGHT_LUT_SIZE 1024 macro
1609 weightLut = (float *) MALLOC(WEIGHT_LUT_SIZE * sizeof(float)); in create_filter_table()
1611 for (i = 0; i < WEIGHT_LUT_SIZE; ++i) { in create_filter_table()
1613 float r2 = (float) i / (float) (WEIGHT_LUT_SIZE - 1); in create_filter_table()
1683 double formScale = (double) (WEIGHT_LUT_SIZE - 1) / F; in img_filter_2d_ewa()
1725 if (q < WEIGHT_LUT_SIZE) { in img_filter_2d_ewa()
/external/mesa3d/src/mesa/swrast/
Ds_texfilter.c1609 #define WEIGHT_LUT_SIZE 1024 macro
1621 weightLut = (GLfloat *) malloc(WEIGHT_LUT_SIZE * sizeof(GLfloat)); in create_filter_table()
1623 for (i = 0; i < WEIGHT_LUT_SIZE; ++i) { in create_filter_table()
1625 GLfloat r2 = (GLfloat) i / (GLfloat) (WEIGHT_LUT_SIZE - 1); in create_filter_table()
1695 double formScale = (double) (WEIGHT_LUT_SIZE - 1) / F; in sample_2d_ewa()
1714 if (q < WEIGHT_LUT_SIZE) { in sample_2d_ewa()