c
const BYTE* pDstStart = pDstData;
pDstStart += nYDst * nDstStep; // Calculate row offset first
pDstStart += nXDst * dstBytesPerPixel; // Then calculate column offset
