Lines Matching refs:NUM_SUBPIXEL_BITS
37 NUM_SUBPIXEL_BITS = 8 //!< Number of subpixel bits used when doing bilinear interpolation. enumerator
76 const deUint32 fx0 = (1u<<NUM_SUBPIXEL_BITS) - fx1; in interpolateChannel()
77 const deUint32 fy0 = (1u<<NUM_SUBPIXEL_BITS) - fy1; in interpolateChannel()
78 const deUint32 half = 1u<<(NUM_SUBPIXEL_BITS*2 - 1); in interpolateChannel()
80 const deUint32 rounded = (sum + half) >> (NUM_SUBPIXEL_BITS*2); in interpolateChannel()
88 deUint32 x0 = u>>NUM_SUBPIXEL_BITS; in bilinearSampleRGBA8()
89 deUint32 y0 = v>>NUM_SUBPIXEL_BITS; in bilinearSampleRGBA8()
96 deUint32 fx1 = u-(x0<<NUM_SUBPIXEL_BITS); in bilinearSampleRGBA8()
97 deUint32 fy1 = v-(y0<<NUM_SUBPIXEL_BITS); in bilinearSampleRGBA8()
176 const int u = (x<<NUM_SUBPIXEL_BITS) + (int)s_offsets[sampleNdx][0] - (1<<NUM_SUBPIXEL_BITS); in comparePixelRGBA8()
177 const int v = (y<<NUM_SUBPIXEL_BITS) + (int)s_offsets[sampleNdx][1] - (1<<NUM_SUBPIXEL_BITS); in comparePixelRGBA8()
179 if (!de::inBounds(u, 0, (reference.getWidth()-1)<<NUM_SUBPIXEL_BITS) || in comparePixelRGBA8()
180 !de::inBounds(v, 0, (reference.getHeight()-1)<<NUM_SUBPIXEL_BITS)) in comparePixelRGBA8()