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.c2306 #define WEIGHT_LUT_SIZE 1024 macro
2318 float *lut = (float *) MALLOC(WEIGHT_LUT_SIZE * sizeof(float)); in create_filter_table()
2320 for (i = 0; i < WEIGHT_LUT_SIZE; ++i) { in create_filter_table()
2322 const float r2 = (float) i / (float) (WEIGHT_LUT_SIZE - 1); in create_filter_table()
2400 const double formScale = (double) (WEIGHT_LUT_SIZE - 1) / F; in img_filter_2d_ewa()
2439 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()