Lines Matching refs:bpt
1420 const GLint bpt = bytes_per_pixel(datatype, comps); in make_1d_mipmap() local
1425 src = srcPtr + border * bpt; in make_1d_mipmap()
1426 dst = dstPtr + border * bpt; in make_1d_mipmap()
1436 memcpy(dstPtr, srcPtr, bpt); in make_1d_mipmap()
1438 memcpy(dstPtr + (dstWidth - 1) * bpt, in make_1d_mipmap()
1439 srcPtr + (srcWidth - 1) * bpt, in make_1d_mipmap()
1440 bpt); in make_1d_mipmap()
1452 const GLint bpt = bytes_per_pixel(datatype, comps); in make_2d_mipmap() local
1461 srcA = srcPtr + border * ((srcWidth + 1) * bpt); in make_2d_mipmap()
1473 dst = dstPtr + border * ((dstWidth + 1) * bpt); in make_2d_mipmap()
1489 memcpy(dstPtr, srcPtr, bpt); in make_2d_mipmap()
1491 memcpy(dstPtr + (dstWidth - 1) * bpt, in make_2d_mipmap()
1492 srcPtr + (srcWidth - 1) * bpt, bpt); in make_2d_mipmap()
1494 memcpy(dstPtr + dstWidth * (dstHeight - 1) * bpt, in make_2d_mipmap()
1495 srcPtr + srcWidth * (srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1497 memcpy(dstPtr + (dstWidth * dstHeight - 1) * bpt, in make_2d_mipmap()
1498 srcPtr + (srcWidth * srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1501 srcPtr + bpt, in make_2d_mipmap()
1502 srcPtr + bpt, in make_2d_mipmap()
1503 dstWidthNB, dstPtr + bpt); in make_2d_mipmap()
1506 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1507 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1509 dstPtr + (dstWidth * (dstHeight - 1) + 1) * bpt); in make_2d_mipmap()
1514 memcpy(dstPtr + dstWidth * row * bpt, in make_2d_mipmap()
1515 srcPtr + srcWidth * row * bpt, bpt); in make_2d_mipmap()
1516 memcpy(dstPtr + (dstWidth * row + dstWidth - 1) * bpt, in make_2d_mipmap()
1517 srcPtr + (srcWidth * row + srcWidth - 1) * bpt, bpt); in make_2d_mipmap()
1524 srcPtr + (srcWidth * (row * 2 + 1)) * bpt, in make_2d_mipmap()
1525 srcPtr + (srcWidth * (row * 2 + 2)) * bpt, in make_2d_mipmap()
1526 1, dstPtr + (dstWidth * row + 1) * bpt); in make_2d_mipmap()
1528 srcPtr + (srcWidth * (row * 2 + 1) + srcWidth - 1) * bpt, in make_2d_mipmap()
1529 srcPtr + (srcWidth * (row * 2 + 2) + srcWidth - 1) * bpt, in make_2d_mipmap()
1530 1, dstPtr + (dstWidth * row + 1 + dstWidth - 1) * bpt); in make_2d_mipmap()
1544 const GLint bpt = bytes_per_pixel(datatype, comps); in make_3d_mipmap() local
1556 bytesPerSrcImage = srcRowStride * srcHeight * bpt; in make_3d_mipmap()
1557 bytesPerDstImage = dstRowStride * dstHeight * bpt; in make_3d_mipmap()
1581 + srcRowStride * border + bpt * border; in make_3d_mipmap()
1584 + srcRowStride * border + bpt * border; in make_3d_mipmap()
1588 + dstRowStride * border + bpt * border; in make_3d_mipmap()
1634 memcpy(dst, src, bpt); in make_3d_mipmap()
1639 memcpy(dst, src, bpt); in make_3d_mipmap()
1642 src = srcPtr[img * 2] + (srcWidth - 1) * bpt; in make_3d_mipmap()
1643 dst = dstPtr[img] + (dstWidth - 1) * bpt; in make_3d_mipmap()
1644 memcpy(dst, src, bpt); in make_3d_mipmap()
1647 src = srcPtr[img * 2] + (bytesPerSrcImage - bpt); in make_3d_mipmap()
1648 dst = dstPtr[img] + (bytesPerDstImage - bpt); in make_3d_mipmap()
1649 memcpy(dst, src, bpt); in make_3d_mipmap()
1674 srcA = srcPtr[img * 2 + 0] + (srcWidth - 1) * bpt; in make_3d_mipmap()
1675 srcB = srcPtr[img * 2 + srcImageOffset] + (srcWidth - 1) * bpt; in make_3d_mipmap()
1676 dst = dstPtr[img] + (dstWidth - 1) * bpt; in make_3d_mipmap()
1680 srcA = srcPtr[img * 2 + 0] + (bytesPerSrcImage - bpt); in make_3d_mipmap()
1681 srcB = srcPtr[img * 2 + srcImageOffset] + (bytesPerSrcImage - bpt); in make_3d_mipmap()
1682 dst = dstPtr[img] + (bytesPerDstImage - bpt); in make_3d_mipmap()