Home
last modified time | relevance | path

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

/external/deqp/framework/common/
DtcuBilinearImageCompare.cpp37 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-1)<<NUM_SUBPIXEL_BITS) + (int)s_offsets[sampleNdx][0]; in comparePixelRGBA8()
[all …]