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.c2154 #define WEIGHT_LUT_SIZE 1024 macro
2166 float *lut = (float *) MALLOC(WEIGHT_LUT_SIZE * sizeof(float)); in create_filter_table()
2168 for (i = 0; i < WEIGHT_LUT_SIZE; ++i) { in create_filter_table()
2170 const float r2 = (float) i / (float) (WEIGHT_LUT_SIZE - 1); in create_filter_table()
2248 const double formScale = (double) (WEIGHT_LUT_SIZE - 1) / F; in img_filter_2d_ewa()
2287 if (q < WEIGHT_LUT_SIZE) { in img_filter_2d_ewa()
/external/mesa3d/src/mesa/swrast/
Ds_texfilter.c1614 #define WEIGHT_LUT_SIZE 1024 macro
1626 weightLut = malloc(WEIGHT_LUT_SIZE * sizeof(GLfloat)); in create_filter_table()
1628 for (i = 0; i < WEIGHT_LUT_SIZE; ++i) { in create_filter_table()
1630 GLfloat r2 = (GLfloat) i / (GLfloat) (WEIGHT_LUT_SIZE - 1); in create_filter_table()
1700 GLfloat formScale = (GLfloat) (WEIGHT_LUT_SIZE - 1) / F; in sample_2d_ewa()
1719 if (q < WEIGHT_LUT_SIZE) { in sample_2d_ewa()