• Home
  • Raw
  • Download

Lines Matching refs:bpt

1419    const GLint bpt = bytes_per_pixel(datatype, comps);  in make_1d_mipmap()  local
1424 src = srcPtr + border * bpt; in make_1d_mipmap()
1425 dst = dstPtr + border * bpt; in make_1d_mipmap()
1435 memcpy(dstPtr, srcPtr, bpt); in make_1d_mipmap()
1437 memcpy(dstPtr + (dstWidth - 1) * bpt, in make_1d_mipmap()
1438 srcPtr + (srcWidth - 1) * bpt, in make_1d_mipmap()
1439 bpt); in make_1d_mipmap()
1451 const GLint bpt = bytes_per_pixel(datatype, comps); in make_2d_mipmap() local
1460 srcA = srcPtr + border * ((srcWidth + 1) * bpt); in make_2d_mipmap()
1472 dst = dstPtr + border * ((dstWidth + 1) * bpt); in make_2d_mipmap()
1488 memcpy(dstPtr, srcPtr, bpt); in make_2d_mipmap()
1490 memcpy(dstPtr + (dstWidth - 1) * bpt, in make_2d_mipmap()
1491 srcPtr + (srcWidth - 1) * bpt, bpt); in make_2d_mipmap()
1493 memcpy(dstPtr + dstWidth * (dstHeight - 1) * bpt, in make_2d_mipmap()
1494 srcPtr + srcWidth * (srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1496 memcpy(dstPtr + (dstWidth * dstHeight - 1) * bpt, in make_2d_mipmap()
1497 srcPtr + (srcWidth * srcHeight - 1) * bpt, bpt); in make_2d_mipmap()
1500 srcPtr + bpt, in make_2d_mipmap()
1501 srcPtr + bpt, in make_2d_mipmap()
1502 dstWidthNB, dstPtr + bpt); in make_2d_mipmap()
1505 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1506 srcPtr + (srcWidth * (srcHeight - 1) + 1) * bpt, in make_2d_mipmap()
1508 dstPtr + (dstWidth * (dstHeight - 1) + 1) * bpt); in make_2d_mipmap()
1513 memcpy(dstPtr + dstWidth * row * bpt, in make_2d_mipmap()
1514 srcPtr + srcWidth * row * bpt, bpt); in make_2d_mipmap()
1515 memcpy(dstPtr + (dstWidth * row + dstWidth - 1) * bpt, in make_2d_mipmap()
1516 srcPtr + (srcWidth * row + srcWidth - 1) * bpt, bpt); in make_2d_mipmap()
1523 srcPtr + (srcWidth * (row * 2 + 1)) * bpt, in make_2d_mipmap()
1524 srcPtr + (srcWidth * (row * 2 + 2)) * bpt, in make_2d_mipmap()
1525 1, dstPtr + (dstWidth * row + 1) * bpt); in make_2d_mipmap()
1527 srcPtr + (srcWidth * (row * 2 + 1) + srcWidth - 1) * bpt, in make_2d_mipmap()
1528 srcPtr + (srcWidth * (row * 2 + 2) + srcWidth - 1) * bpt, in make_2d_mipmap()
1529 1, dstPtr + (dstWidth * row + 1 + dstWidth - 1) * bpt); in make_2d_mipmap()
1543 const GLint bpt = bytes_per_pixel(datatype, comps); in make_3d_mipmap() local
1557 bytesPerSrcImage = srcWidth * srcHeight * bpt; in make_3d_mipmap()
1558 bytesPerDstImage = dstWidth * dstHeight * bpt; in make_3d_mipmap()
1560 bytesPerSrcRow = srcWidth * bpt; in make_3d_mipmap()
1561 bytesPerDstRow = dstWidth * bpt; in make_3d_mipmap()
1567 srcRowOffset = (srcHeight == dstHeight) ? 0 : srcWidth * bpt; in make_3d_mipmap()
1585 + bytesPerSrcRow * border + bpt * border; in make_3d_mipmap()
1588 + bytesPerSrcRow * border + bpt * border; in make_3d_mipmap()
1592 + bytesPerDstRow * border + bpt * border; in make_3d_mipmap()
1638 memcpy(dst, src, bpt); in make_3d_mipmap()
1643 memcpy(dst, src, bpt); in make_3d_mipmap()
1646 src = srcPtr[img * 2] + (srcWidth - 1) * bpt; in make_3d_mipmap()
1647 dst = dstPtr[img] + (dstWidth - 1) * bpt; in make_3d_mipmap()
1648 memcpy(dst, src, bpt); in make_3d_mipmap()
1651 src = srcPtr[img * 2] + (bytesPerSrcImage - bpt); in make_3d_mipmap()
1652 dst = dstPtr[img] + (bytesPerDstImage - bpt); in make_3d_mipmap()
1653 memcpy(dst, src, bpt); in make_3d_mipmap()
1678 srcA = srcPtr[img * 2 + 0] + (srcWidth - 1) * bpt; in make_3d_mipmap()
1679 srcB = srcPtr[img * 2 + srcImageOffset] + (srcWidth - 1) * bpt; in make_3d_mipmap()
1680 dst = dstPtr[img] + (dstWidth - 1) * bpt; in make_3d_mipmap()
1684 srcA = srcPtr[img * 2 + 0] + (bytesPerSrcImage - bpt); in make_3d_mipmap()
1685 srcB = srcPtr[img * 2 + srcImageOffset] + (bytesPerSrcImage - bpt); in make_3d_mipmap()
1686 dst = dstPtr[img] + (bytesPerDstImage - bpt); in make_3d_mipmap()