Lines Matching refs:dstWidth
43 NAME(GLint srcWidth, GLint dstWidth, \
52 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \
53 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
73 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \
74 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
116 const GLint dstWidth = ABS(dstX1 - dstX0); in blit_nearest() local
142 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth, in blit_nearest()
258 dstWidth, dstHeight, in blit_nearest()
273 dstBuffer = malloc(pixelSize * dstWidth); in blit_nearest()
317 (*resampleRow)(srcWidth, dstWidth, srcBuffer, dstBuffer, invertX); in blit_nearest()
327 _mesa_pack_float_rgba_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
331 _mesa_pack_float_z_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
335 _mesa_pack_uint_z_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
339 _mesa_pack_ubyte_stencil_row(drawRb->Format, dstWidth, dstBuffer, in blit_nearest()
373 resample_linear_row_ub(GLint srcWidth, GLint dstWidth, in resample_linear_row_ub() argument
380 const GLfloat dstWidthF = (GLfloat) dstWidth; in resample_linear_row_ub()
383 for (dstCol = 0; dstCol < dstWidth; dstCol++) { in resample_linear_row_ub()
430 resample_linear_row_float(GLint srcWidth, GLint dstWidth, in resample_linear_row_float() argument
437 const GLfloat dstWidthF = (GLfloat) dstWidth; in resample_linear_row_float()
440 for (dstCol = 0; dstCol < dstWidth; dstCol++) { in resample_linear_row_float()
496 const GLint dstWidth = ABS(dstX1 - dstX0); in blit_linear() local
551 dstBuffer = malloc(pixelSize * dstWidth); in blit_linear()
676 resample_linear_row_ub(srcWidth, dstWidth, srcBuffer0, srcBuffer1, in blit_linear()
680 resample_linear_row_float(srcWidth, dstWidth, srcBuffer0, srcBuffer1, in blit_linear()
688 _mesa_pack_ubyte_rgba_row(drawFormat, dstWidth, dstBuffer, dst); in blit_linear()
691 _mesa_pack_float_rgba_row(drawFormat, dstWidth, dstBuffer, dst); in blit_linear()