Lines Matching refs:dstWidth
178 GLint dstWidth, GLvoid *dstRow)
180 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1;
181 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2;
187 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth);
195 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
208 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
220 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
231 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
242 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
255 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
267 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
278 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
289 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
302 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
314 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
325 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
336 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
349 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
361 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
372 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
383 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
400 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
415 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
428 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
439 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
456 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
473 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
490 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
506 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
517 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
542 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
572 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
602 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
633 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
659 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
680 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
712 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
731 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
749 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
761 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
775 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
805 * \param dstWidth Width of a row in the destination data
812 GLint dstWidth, GLvoid *dstRow)
814 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1;
815 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2;
824 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
835 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
845 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
854 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
862 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
873 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
883 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
892 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
900 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
911 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
921 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
930 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
938 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
949 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
959 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
968 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
976 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
987 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
997 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1006 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1014 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1025 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1035 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1044 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1056 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1068 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1106 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1155 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1204 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1253 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1291 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1319 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1373 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1400 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1423 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1444 GLint dstWidth, GLubyte *dstPtr)
1456 dstWidth - 2 * border, dst);
1464 memcpy(dstPtr + (dstWidth - 1) * bpt,
1475 GLint dstWidth, GLint dstHeight,
1480 const GLint dstWidthNB = dstWidth - 2 * border;
1499 dst = dstPtr + border * ((dstWidth + 1) * bpt);
1517 memcpy(dstPtr + (dstWidth - 1) * bpt,
1520 memcpy(dstPtr + dstWidth * (dstHeight - 1) * bpt,
1523 memcpy(dstPtr + (dstWidth * dstHeight - 1) * bpt,
1535 dstPtr + (dstWidth * (dstHeight - 1) + 1) * bpt);
1540 memcpy(dstPtr + dstWidth * row * bpt,
1542 memcpy(dstPtr + (dstWidth * row + dstWidth - 1) * bpt,
1552 1, dstPtr + (dstWidth * row + 1) * bpt);
1556 1, dstPtr + (dstWidth * row + 1 + dstWidth - 1) * bpt);
1567 GLint dstWidth, GLint dstHeight, GLint dstDepth,
1573 const GLint dstWidthNB = dstWidth - 2 * border;
1601 srcWidth, srcHeight, srcDepth, dstWidth, dstHeight, dstDepth);
1644 dstWidth, dstHeight, dstPtr[0], dstRowStride);
1648 dstWidth, dstHeight, dstPtr[dstDepth - 1], dstRowStride);
1667 /* do border along [img][row=0][col=dstWidth-1] */
1669 dst = dstPtr[img] + (dstWidth - 1) * bpt;
1672 /* do border along [img][row=dstHeight-1][col=dstWidth-1] */
1699 /* do border along [img][row=0][col=dstWidth-1] */
1702 dst = dstPtr[img] + (dstWidth - 1) * bpt;
1705 /* do border along [img][row=dstHeight-1][col=dstWidth-1] */
1731 GLint dstWidth, GLint dstHeight, GLint dstDepth,
1741 dstWidth, dstData[0]);
1752 dstWidth, dstHeight, dstData[0], dstRowStride);
1758 dstWidth, dstHeight, dstDepth,
1767 dstWidth, dstData[i]);
1775 dstWidth, dstHeight, dstData[i], dstRowStride);
1795 GLint *dstWidth, GLint *dstHeight, GLint *dstDepth)
1798 *dstWidth = (srcWidth - 2 * border) / 2 + 2 * border;
1801 *dstWidth = srcWidth; /* can't go smaller */
1824 if (*dstWidth == srcWidth &&
1968 GLint dstWidth, dstHeight, dstDepth;
1987 dstWidth = dstImage->Width;
2021 0, 0, dstWidth, dstHeight,
2039 dstWidth, dstHeight, dstDepth,
2155 GLint dstWidth, dstHeight, dstDepth;
2173 dstWidth = dstImage->Width;
2178 temp_dst_row_stride = _mesa_format_row_stride(temp_format, dstWidth);
2179 temp_dst_img_stride = _mesa_format_image_size(temp_format, dstWidth,
2204 dstWidth, dstHeight, dstDepth,
2209 0, 0, 0, dstWidth, dstHeight, dstDepth,