Lines Matching defs:dstWidth
151 GLint dstWidth, GLvoid *dstRow)
153 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1;
154 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2;
160 assert(srcWidth == dstWidth || srcWidth == 2 * dstWidth);
168 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
181 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
193 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
204 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
215 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
228 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
240 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
251 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
262 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
275 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
287 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
298 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
309 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
322 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
334 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
345 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
356 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
373 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
388 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
401 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
412 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
429 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
446 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
463 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
479 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
490 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
515 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
545 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
575 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
606 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
632 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
653 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
685 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
704 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
722 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
734 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
748 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
778 * \param dstWidth Width of a row in the destination data
785 GLint dstWidth, GLvoid *dstRow)
787 const GLuint k0 = (srcWidth == dstWidth) ? 0 : 1;
788 const GLuint colStride = (srcWidth == dstWidth) ? 1 : 2;
797 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
808 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
818 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
827 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
835 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
846 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
856 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
865 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
873 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
884 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
894 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
903 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
911 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
922 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
932 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
941 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
949 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
960 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
970 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
979 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
987 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
998 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1008 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1017 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1029 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1041 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1079 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1128 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1177 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1226 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1264 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1292 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1346 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1373 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1396 for (i = j = 0, k = k0; i < (GLuint) dstWidth;
1417 GLint dstWidth, GLubyte *dstPtr)
1429 dstWidth - 2 * border, dst);
1437 memcpy(dstPtr + (dstWidth - 1) * bpt,
1448 GLint dstWidth, GLint dstHeight,
1453 const GLint dstWidthNB = dstWidth - 2 * border;
1472 dst = dstPtr + border * ((dstWidth + 1) * bpt);
1490 memcpy(dstPtr + (dstWidth - 1) * bpt,
1493 memcpy(dstPtr + dstWidth * (dstHeight - 1) * bpt,
1496 memcpy(dstPtr + (dstWidth * dstHeight - 1) * bpt,
1508 dstPtr + (dstWidth * (dstHeight - 1) + 1) * bpt);
1513 memcpy(dstPtr + dstWidth * row * bpt,
1515 memcpy(dstPtr + (dstWidth * row + dstWidth - 1) * bpt,
1525 1, dstPtr + (dstWidth * row + 1) * bpt);
1529 1, dstPtr + (dstWidth * row + 1 + dstWidth - 1) * bpt);
1540 GLint dstWidth, GLint dstHeight, GLint dstDepth,
1546 const GLint dstWidthNB = dstWidth - 2 * border;
1558 bytesPerDstImage = dstWidth * dstHeight * bpt;
1561 bytesPerDstRow = dstWidth * bpt;
1579 srcWidth, srcHeight, srcDepth, dstWidth, dstHeight, dstDepth);
1622 dstWidth, dstHeight, dstPtr[0], dstRowStride);
1626 dstWidth, dstHeight, dstPtr[dstDepth - 1], dstRowStride);
1645 /* do border along [img][row=0][col=dstWidth-1] */
1647 dst = dstPtr[img] + (dstWidth - 1) * bpt;
1650 /* do border along [img][row=dstHeight-1][col=dstWidth-1] */
1677 /* do border along [img][row=0][col=dstWidth-1] */
1680 dst = dstPtr[img] + (dstWidth - 1) * bpt;
1683 /* do border along [img][row=dstHeight-1][col=dstWidth-1] */
1709 GLint dstWidth, GLint dstHeight, GLint dstDepth,
1719 dstWidth, dstData[0]);
1730 dstWidth, dstHeight, dstData[0], dstRowStride);
1736 dstWidth, dstHeight, dstDepth,
1745 dstWidth, dstData[i]);
1752 dstWidth, dstHeight, dstData[i], dstRowStride);
1773 GLint *dstWidth, GLint *dstHeight, GLint *dstDepth)
1776 *dstWidth = (srcWidth - 2 * border) / 2 + 2 * border;
1779 *dstWidth = srcWidth; /* can't go smaller */
1798 if (*dstWidth == srcWidth &&
1899 GLint dstWidth, dstHeight, dstDepth;
1916 &dstWidth, &dstHeight, &dstDepth);
1921 dstWidth, dstHeight, dstDepth,
1964 0, 0, dstWidth, dstHeight,
1982 dstWidth, dstHeight, dstDepth,
2084 GLint dstWidth, dstHeight, dstDepth;
2099 &dstWidth, &dstHeight, &dstDepth);
2103 temp_dst_stride = _mesa_format_row_stride(temp_format, dstWidth);
2125 dstWidth, dstHeight, dstDepth,
2129 dstWidth, dstHeight, dstDepth,
2138 0, 0, 0, dstWidth, dstHeight, 1,