Lines Matching refs:bpt
1445 const GLint bpt = bytes_per_pixel(datatype, comps); in make_1d_mipmap() local
1450 src = srcPtr + border * bpt; in make_1d_mipmap()
1451 dst = dstPtr + border * bpt; in make_1d_mipmap()
1461 memcpy(dstPtr, srcPtr, bpt); in make_1d_mipmap()
1463 memcpy(dstPtr + (dstWidth - 1) * bpt, in make_1d_mipmap()
1464 srcPtr + (srcWidth - 1) * bpt, in make_1d_mipmap()
1465 bpt); in make_1d_mipmap()
1477 const GLint bpt = bytes_per_pixel(datatype, comps); in make_2d_mipmap() local
1486 srcA = srcPtr + border * ((srcWidth + 1) * bpt); in make_2d_mipmap()
1498 dst = dstPtr + border * ((dstWidth + 1) * bpt); in make_2d_mipmap()
1514 memcpy(dstPtr, srcPtr, bpt); in make_2d_mipmap()
1516 memcpy(dstPtr + (dstWidth - 1) * bpt, in make_2d_mipmap()
1517 srcPtr + (srcWidth - 1) * bpt, bpt); in make_2d_mipmap()
1519 memcpy(dstPtr + dstWidth * (dstHeight - 1) * bpt, in make_2d_mipmap()
1520 srcPtr + srcWidth * (srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1522 memcpy(dstPtr + (dstWidth * dstHeight - 1) * bpt, in make_2d_mipmap()
1523 srcPtr + (srcWidth * srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1526 srcPtr + bpt, in make_2d_mipmap()
1527 srcPtr + bpt, in make_2d_mipmap()
1528 dstWidthNB, dstPtr + bpt); in make_2d_mipmap()
1531 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1532 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1534 dstPtr + (dstWidth * (dstHeight - 1) + 1) * bpt); in make_2d_mipmap()
1539 memcpy(dstPtr + dstWidth * row * bpt, in make_2d_mipmap()
1540 srcPtr + srcWidth * row * bpt, bpt); in make_2d_mipmap()
1541 memcpy(dstPtr + (dstWidth * row + dstWidth - 1) * bpt, in make_2d_mipmap()
1542 srcPtr + (srcWidth * row + srcWidth - 1) * bpt, bpt); in make_2d_mipmap()
1549 srcPtr + (srcWidth * (row * 2 + 1)) * bpt, in make_2d_mipmap()
1550 srcPtr + (srcWidth * (row * 2 + 2)) * bpt, in make_2d_mipmap()
1551 1, dstPtr + (dstWidth * row + 1) * bpt); in make_2d_mipmap()
1553 srcPtr + (srcWidth * (row * 2 + 1) + srcWidth - 1) * bpt, in make_2d_mipmap()
1554 srcPtr + (srcWidth * (row * 2 + 2) + srcWidth - 1) * bpt, in make_2d_mipmap()
1555 1, dstPtr + (dstWidth * row + 1 + dstWidth - 1) * bpt); in make_2d_mipmap()
1569 const GLint bpt = bytes_per_pixel(datatype, comps); in make_3d_mipmap() local
1581 bytesPerSrcImage = srcRowStride * srcHeight * bpt; in make_3d_mipmap()
1582 bytesPerDstImage = dstRowStride * dstHeight * bpt; in make_3d_mipmap()
1606 + srcRowStride * border + bpt * border; in make_3d_mipmap()
1609 + srcRowStride * border + bpt * border; in make_3d_mipmap()
1613 + dstRowStride * border + bpt * border; in make_3d_mipmap()
1659 memcpy(dst, src, bpt); in make_3d_mipmap()
1664 memcpy(dst, src, bpt); in make_3d_mipmap()
1667 src = srcPtr[img * 2] + (srcWidth - 1) * bpt; in make_3d_mipmap()
1668 dst = dstPtr[img] + (dstWidth - 1) * bpt; in make_3d_mipmap()
1669 memcpy(dst, src, bpt); in make_3d_mipmap()
1672 src = srcPtr[img * 2] + (bytesPerSrcImage - bpt); in make_3d_mipmap()
1673 dst = dstPtr[img] + (bytesPerDstImage - bpt); in make_3d_mipmap()
1674 memcpy(dst, src, bpt); in make_3d_mipmap()
1699 srcA = srcPtr[img * 2 + 0] + (srcWidth - 1) * bpt; in make_3d_mipmap()
1700 srcB = srcPtr[img * 2 + srcImageOffset] + (srcWidth - 1) * bpt; in make_3d_mipmap()
1701 dst = dstPtr[img] + (dstWidth - 1) * bpt; in make_3d_mipmap()
1705 srcA = srcPtr[img * 2 + 0] + (bytesPerSrcImage - bpt); in make_3d_mipmap()
1706 srcB = srcPtr[img * 2 + srcImageOffset] + (bytesPerSrcImage - bpt); in make_3d_mipmap()
1707 dst = dstPtr[img] + (bytesPerDstImage - bpt); in make_3d_mipmap()