Lines Matching refs:srcCol
54 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
55 assert(srcCol >= 0); \
56 assert(srcCol < srcWidth); \
57 srcCol = srcWidth - 1 - srcCol; /* flip */ \
59 dst[dstCol] = src[srcCol]; \
62 dst[dstCol*2+0] = src[srcCol*2+0]; \
63 dst[dstCol*2+1] = src[srcCol*2+1]; \
66 dst[dstCol*4+0] = src[srcCol*4+0]; \
67 dst[dstCol*4+1] = src[srcCol*4+1]; \
68 dst[dstCol*4+2] = src[srcCol*4+2]; \
69 dst[dstCol*4+3] = src[srcCol*4+3]; \
75 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
76 assert(srcCol >= 0); \
77 assert(srcCol < srcWidth); \
79 dst[dstCol] = src[srcCol]; \
82 dst[dstCol*2+0] = src[srcCol*2+0]; \
83 dst[dstCol*2+1] = src[srcCol*2+1]; \
86 dst[dstCol*4+0] = src[srcCol*4+0]; \
87 dst[dstCol*4+1] = src[srcCol*4+1]; \
88 dst[dstCol*4+2] = src[srcCol*4+2]; \
89 dst[dstCol*4+3] = src[srcCol*4+3]; \
411 const GLfloat srcCol = (dstCol + 0.5F) / dstWidth * srcWidth - 0.5F; in resample_linear_row_ub() local
412 GLint srcCol0 = MAX2(0, util_ifloor(srcCol)); in resample_linear_row_ub()
414 GLfloat colWeight = srcCol - srcCol0; /* fractional part of srcCol */ in resample_linear_row_ub()
466 const GLfloat srcCol = (dstCol + 0.5F) / dstWidth * srcWidth - 0.5F; in resample_linear_row_float() local
467 GLint srcCol0 = MAX2(0, util_ifloor(srcCol)); in resample_linear_row_float()
469 GLfloat colWeight = srcCol - srcCol0; /* fractional part of srcCol */ in resample_linear_row_float()