Home | History | Annotate | Download | only in swrast

Lines Matching defs:dstWidth

44 NAME(GLint srcWidth, GLint dstWidth,			\
53 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \
54 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
74 for (dstCol = 0; dstCol < dstWidth; dstCol++) { \
75 GLint srcCol = (dstCol * srcWidth) / dstWidth; \
122 const GLint dstWidth = ABS(dstX1 - dstX0);
148 typedef void (*resample_func)(GLint srcWidth, GLint dstWidth,
194 dstBuffer = malloc(MAX_PIXEL_BYTES * dstWidth);
289 dstWidth, dstHeight,
335 (*resampleRow)(srcWidth, dstWidth, srcBuffer, dstBuffer, invertX);
342 memcpy(dstRowStart, dstBuffer, pixelSize * dstWidth);
345 _mesa_pack_float_rgba_row(drawRb->Format, dstWidth, dstBuffer,
349 _mesa_pack_float_z_row(drawRb->Format, dstWidth, dstBuffer,
353 _mesa_pack_uint_z_row(drawRb->Format, dstWidth, dstBuffer,
357 _mesa_pack_ubyte_stencil_row(drawRb->Format, dstWidth, dstBuffer,
399 resample_linear_row_ub(GLint srcWidth, GLint dstWidth,
408 for (dstCol = 0; dstCol < dstWidth; dstCol++) {
409 const GLfloat srcCol = (dstCol + 0.5F) / dstWidth * srcWidth - 0.5F;
454 resample_linear_row_float(GLint srcWidth, GLint dstWidth,
463 for (dstCol = 0; dstCol < dstWidth; dstCol++) {
464 const GLfloat srcCol = (dstCol + 0.5F) / dstWidth * srcWidth - 0.5F;
521 const GLint dstWidth = ABS(dstX1 - dstX0);
566 dstBuffer = malloc(pixelSize * dstWidth);
691 resample_linear_row_ub(srcWidth, dstWidth, srcBuffer0, srcBuffer1,
695 resample_linear_row_float(srcWidth, dstWidth, srcBuffer0, srcBuffer1,
703 _mesa_pack_ubyte_rgba_row(drawFormat, dstWidth, dstBuffer, dst);
706 _mesa_pack_float_rgba_row(drawFormat, dstWidth, dstBuffer, dst);