Inlined freerdp_image_copy helpers.
@@ -384,7 +384,7 @@ BOOL freerdp_image_copy_from_pointer_data(
}
}
-static BOOL overlapping(const BYTE* pDstData, UINT32 nXDst, UINT32 nYDst,
+static INLINE BOOL overlapping(const BYTE* pDstData, UINT32 nXDst, UINT32 nYDst,
UINT32 nDstStep, UINT32 dstBytesPerPixel,
const BYTE* pSrcData, UINT32 nXSrc, UINT32 nYSrc,
UINT32 nSrcStep, UINT32 srcBytesPerPixel,
@@ -416,7 +416,7 @@ BOOL freerdp_image_copy(BYTE* pDstData, DWORD DstFormat,
const UINT32 copyDstWidth = nWidth * dstByte;
const UINT32 xSrcOffset = nXSrc * srcByte;
const UINT32 xDstOffset = nXDst * dstByte;
- BOOL vSrcVFlip = flags & FREERDP_FLIP_VERTICAL;
+ const BOOL vSrcVFlip = flags & FREERDP_FLIP_VERTICAL;
UINT32 srcVOffset = 0;
INT32 srcVMultiplier = 1;
UINT32 dstVOffset = 0;
