Home | History | Annotate | Download | only in main

Lines Matching full:bpt

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