FreeRDP
prim_copy.h
1 
21 #ifndef FREERDP_LIB_PRIM_COPY_H
22 #define FREERDP_LIB_PRIM_COPY_H
23 
24 #include <winpr/wtypes.h>
25 #include <freerdp/config.h>
26 #include <freerdp/primitives.h>
27 
28 pstatus_t generic_image_copy_no_overlap_convert(
29  BYTE* WINPR_RESTRICT pDstData, DWORD DstFormat, UINT32 nDstStep, UINT32 nXDst, UINT32 nYDst,
30  UINT32 nWidth, UINT32 nHeight, const BYTE* WINPR_RESTRICT pSrcData, DWORD SrcFormat,
31  UINT32 nSrcStep, UINT32 nXSrc, UINT32 nYSrc, const gdiPalette* WINPR_RESTRICT palette,
32  SSIZE_T srcVMultiplier, SSIZE_T srcVOffset, SSIZE_T dstVMultiplier, SSIZE_T dstVOffset);
33 
34 pstatus_t generic_image_copy_no_overlap_memcpy(
35  BYTE* WINPR_RESTRICT pDstData, DWORD DstFormat, UINT32 nDstStep, UINT32 nXDst, UINT32 nYDst,
36  UINT32 nWidth, UINT32 nHeight, const BYTE* WINPR_RESTRICT pSrcData, DWORD SrcFormat,
37  UINT32 nSrcStep, UINT32 nXSrc, UINT32 nYSrc, const gdiPalette* WINPR_RESTRICT palette,
38  SSIZE_T srcVMultiplier, SSIZE_T srcVOffset, SSIZE_T dstVMultiplier, SSIZE_T dstVOffset,
39  UINT32 flags);
40 
41 void primitives_init_copy_sse41(primitives_t* prims);
42 
43 #if defined(WITH_AVX2)
44 void primitives_init_copy_avx2(primitives_t* prims);
45 #endif
46 
47 #endif