Lines Matching defs:srcWidth

309  * \param srcWidth  source image width
322 GLint srcWidth, GLint srcHeight, GLint srcDepth,
331 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
357 tempImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth
366 srcWidth, srcHeight,
370 _mesa_unpack_color_span_float(ctx, srcWidth, logicalBaseFormat,
373 dst += srcWidth * components;
395 newImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth
404 n = srcWidth * srcHeight * srcDepth;
434 GLint srcWidth, GLint srcHeight, GLint srcDepth,
442 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
466 tempImage = (GLuint *) malloc(srcWidth * srcHeight * srcDepth
475 srcWidth, srcHeight,
479 _mesa_unpack_color_span_uint(ctx, srcWidth, logicalBaseFormat,
482 dst += srcWidth * components;
504 newImage = (GLuint *) malloc(srcWidth * srcHeight * srcDepth
513 n = srcWidth * srcHeight * srcDepth;
550 * \param srcWidth source image width
563 GLint srcWidth, GLint srcHeight, GLint srcDepth,
594 tempImage = (GLubyte *) malloc(srcWidth * srcHeight * srcDepth
603 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
606 srcWidth, srcHeight,
610 _mesa_unpack_color_span_ubyte(ctx, srcWidth, logicalBaseFormat, dst,
613 dst += srcWidth * components;
635 newImage = (GLubyte *) malloc(srcWidth * srcHeight * srcDepth
644 n = srcWidth * srcHeight * srcDepth;
858 GLint srcWidth, GLint srcHeight, GLint srcDepth,
867 _mesa_image_row_stride(srcPacking, srcWidth,
870 = _mesa_image_image_stride(srcPacking, srcWidth, srcHeight, srcFormat,
874 srcWidth, srcHeight, srcFormat,
896 srcRowStride == srcWidth * srcComponents &&
901 srcWidth * srcHeight);
909 swizzle_copy(dstRow, dstComponents, srcRow, srcComponents, map, srcWidth);
930 GLint srcWidth, GLint srcHeight, GLint srcDepth,
935 const GLint srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth,
938 srcWidth, srcHeight, srcFormat, srcType);
940 srcPacking, srcAddr, srcWidth, srcHeight, srcFormat, srcType, 0, 0, 0);
942 const GLint bytesPerRow = srcWidth * texelBytes;
979 const GLint srcRowStride = srcWidth * 4 * sizeof(GLubyte);
986 srcWidth, srcHeight, srcDepth,
994 _mesa_pack_ubyte_rgba_rect(dstFormat, srcWidth, srcHeight,
1035 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1045 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0);
1046 _mesa_unpack_depth_span(ctx, srcWidth,
1075 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0);
1076 _mesa_unpack_depth_span(ctx, srcWidth,
1105 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0);
1108 _mesa_unpack_depth_span(ctx, srcWidth,
1111 for (i = 0; i < srcWidth; i++)
1142 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1152 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0);
1154 _mesa_unpack_depth_span(ctx, srcWidth,
1183 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1194 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
1196 _mesa_image_address(dims, srcPacking, srcAddr, srcWidth, srcHeight,
1205 for (col = 0; col < srcWidth; col++) {
1211 for (col = 0; col < srcWidth; col++) {
1223 srcWidth, srcHeight, srcDepth,
1252 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1288 srcWidth, srcHeight, srcDepth, srcAddr,
1294 srcWidth, srcHeight, srcDepth,
1320 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1334 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
1336 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, 0, 0);
1340 for (col = 0; col < srcWidth; col++) {
1360 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
1363 _mesa_image_address(dims, srcPacking, srcAddr, srcWidth,
1368 for (col = 0; col < srcWidth; col++) {
1393 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
1395 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, 0, 0);
1399 for (col = 0; col < srcWidth; col++) {
1448 srcWidth, srcHeight, srcDepth, srcAddr,
1454 srcWidth, srcHeight, srcDepth,
1475 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1486 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
1488 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, 0, 0);
1491 for (col = 0; col < srcWidth; col++) {
1521 srcWidth, srcHeight, srcDepth, srcAddr,
1527 srcWidth, srcHeight, srcDepth,
1548 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1559 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
1561 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, 0, 0);
1564 for (col = 0; col < srcWidth; col++) {
1594 srcWidth, srcHeight, srcDepth, srcAddr,
1600 srcWidth, srcHeight, srcDepth,
1622 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1628 srcWidth, srcHeight, srcDepth,
1648 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1654 srcWidth, srcHeight, srcDepth,
1675 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1681 srcWidth, srcHeight, srcDepth,
1704 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1712 srcWidth, srcHeight, srcDepth,
1725 for (col = 0; col < srcWidth; col++) {
1740 for (col = 0; col < srcWidth; col++) {
1777 srcWidth, srcHeight, srcDepth,
1788 for (col = 0; col < srcWidth; col++) {
1831 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1874 srcWidth, srcHeight, srcDepth, srcAddr,
1882 srcWidth, srcHeight, srcDepth,
1895 for (col = 0; col < srcWidth; col++) {
1903 for (col = 0; col < srcWidth; col++) {
1947 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1955 srcWidth, srcHeight, srcDepth,
1969 for (col = 0; col < srcWidth; col++) {
1979 for (col = 0; col < srcWidth; col++) {
2019 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2027 srcWidth, srcHeight, srcDepth,
2039 for (col = 0; col < srcWidth; col++) {
2072 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2080 srcWidth, srcHeight, srcDepth,
2092 for (col = 0; col < srcWidth; col++) {
2132 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2140 srcWidth, srcHeight, srcDepth,
2159 for (col = 0; col < srcWidth; col++) {
2168 src += 4 * srcWidth;
2170 for (col = 0; col < srcWidth; col++) {
2179 src += 3 * srcWidth;
2203 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2209 srcWidth, srcHeight, srcDepth,
2238 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2265 srcWidth, srcHeight, srcDepth, srcAddr,
2273 srcWidth, srcHeight, srcDepth,
2283 for (col = 0; col < srcWidth; col++) {
2287 src += srcWidth;
2320 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2333 _mesa_swap2((GLushort *) dstRow, srcWidth);
2360 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2385 srcWidth, srcHeight, srcDepth, srcAddr,
2391 const GLint srcStride = _mesa_image_row_stride(srcPacking, srcWidth,
2396 tempImage = (GLbyte *) malloc(srcWidth * srcHeight * srcDepth
2402 srcWidth, srcHeight,
2408 _mesa_unpack_dudv_span_byte(ctx, srcWidth, baseInternalFormat,
2411 dst += srcWidth * components;
2418 memcpy(dst, src, srcWidth * texelBytes);
2420 src += srcWidth * texelBytes;
2450 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2458 srcWidth, srcHeight, srcDepth,
2469 for (col = 0; col < srcWidth; col++) {
2473 src += srcWidth;
2504 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2512 srcWidth, srcHeight, srcDepth,
2524 for (col = 0; col < srcWidth; col++) {
2560 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2568 srcWidth, srcHeight, srcDepth,
2580 for (col = 0; col < srcWidth; col++) {
2617 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2625 srcWidth, srcHeight, srcDepth,
2637 for (col = 0; col < srcWidth; col++) {
2671 srcWidth, srcHeight, srcDepth,
2683 for (col = 0; col < srcWidth; col++) {
2722 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2730 srcWidth, srcHeight, srcDepth,
2743 for (col = 0; col < srcWidth; col++) {
2753 for (col = 0; col < srcWidth; col++) {
2779 = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
2795 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2800 GLuint *depth = (GLuint *) malloc(srcWidth * sizeof(GLuint));
2801 GLubyte *stencil = (GLubyte *) malloc(srcWidth * sizeof(GLubyte));
2814 srcWidth, srcHeight,
2830 _mesa_unpack_depth_span(ctx, srcWidth,
2838 _mesa_unpack_stencil_span(ctx, srcWidth,
2844 for (i = 0; i < srcWidth; i++) {
2871 = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
2883 depth = (GLuint *) malloc(srcWidth * sizeof(GLuint));
2884 stencil = (GLubyte *) malloc(srcWidth * sizeof(GLubyte));
2896 srcWidth, srcHeight,
2912 _mesa_unpack_depth_span(ctx, srcWidth,
2920 _mesa_unpack_stencil_span(ctx, srcWidth,
2927 for (i = 0; i < srcWidth; i++) {
2963 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2968 = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
2970 GLubyte *stencil = (GLubyte *) malloc(srcWidth * sizeof(GLubyte));
2979 srcWidth, srcHeight,
2986 _mesa_unpack_stencil_span(ctx, srcWidth,
2992 for (i = 0; i < srcWidth; i++)
3049 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3057 srcWidth, srcHeight, srcDepth,
3066 bytesPerRow = srcWidth * components * sizeof(GLfloat);
3072 srcRow += srcWidth * components;
3119 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3127 srcWidth, srcHeight, srcDepth,
3140 for (i = 0; i < srcWidth * components; i++) {
3144 src += srcWidth * components;
3189 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3197 srcWidth, srcHeight, srcDepth,
3212 for (i = 0; i < srcWidth * components; i++) {
3216 for (i = 0; i < srcWidth * components; i++) {
3221 src += srcWidth * components;
3266 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3274 srcWidth, srcHeight, srcDepth,
3289 for (i = 0; i < srcWidth * components; i++) {
3293 for (i = 0; i < srcWidth * components; i++) {
3298 src += srcWidth * components;
3343 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3351 srcWidth, srcHeight, srcDepth,
3366 for (i = 0; i < srcWidth * components; i++) {
3370 for (i = 0; i < srcWidth * components; i++) {
3375 src += srcWidth * components;
3420 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3427 srcWidth, srcHeight, srcDepth,
3440 for (i = 0; i < srcWidth * components; i++) {
3444 for (i = 0; i < srcWidth * components; i++) {
3449 src += srcWidth * components;
3494 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3501 srcWidth, srcHeight, srcDepth,
3514 for (i = 0; i < srcWidth * components; i++) {
3518 for (i = 0; i < srcWidth * components; i++) {
3523 src += srcWidth * components;
3568 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3575 srcWidth, srcHeight, srcDepth,
3588 for (i = 0; i < srcWidth * components; i++) {
3592 for (i = 0; i < srcWidth * components; i++) {
3597 src += srcWidth * components;
3624 srcWidth, srcHeight, srcDepth,
3644 srcWidth, srcHeight, srcDepth,
3665 srcWidth, srcHeight, srcDepth,
3686 srcWidth, srcHeight, srcDepth,
3707 srcWidth, srcHeight, srcDepth,
3739 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3747 srcWidth, srcHeight, srcDepth,
3759 for (col = 0; col < srcWidth; col++) {
3763 srcRow += srcWidth * 3;
3787 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3795 srcWidth, srcHeight, srcDepth,
3807 for (col = 0; col < srcWidth; col++) {
3811 srcRow += srcWidth * 3;
3839 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3846 = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType)
3854 srcWidth, srcHeight,
3863 _mesa_unpack_depth_span(ctx, srcWidth,
3869 _mesa_unpack_stencil_span(ctx, srcWidth,
3898 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3906 srcWidth, srcHeight,
3921 for (col = 0; col < srcWidth; col++) {
3931 for (col = 0; col < srcWidth; col++) {
3964 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3972 srcWidth, srcHeight,
3987 for (col = 0; col < srcWidth; col++) {
3997 for (col = 0; col < srcWidth; col++) {
4022 (void) srcWidth; (void) srcHeight; (void) srcDepth;
4233 srcWidth, srcHeight, srcDepth,