cr_bmpscale.h revision d896d35695869d899234ea3bc1f4345dc85fbe3b
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#ifndef ___cr_bmpscale_h__
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#define ___cr_bmpscale_h__
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#include <iprt/types.h>
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#include <iprt/cdefs.h>
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncRT_C_DECLS_BEGIN
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#ifndef IN_RING0
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# define VBOXBMPSCALEDECL(_type) DECLEXPORT(_type)
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#else
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# define VBOXBLITTERDECL(_type) RTDECL(_type)
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync#endif
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBOXBMPSCALEDECL(void) CrBmpScale32 (uint8_t *dst,
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync int iDstDeltaLine,
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync int dstW, int dstH,
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync const uint8_t *src,
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync int iSrcDeltaLine,
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync int srcW, int srcH);
456f370fcde010d585d9174df045978a6c9893c1vboxsync
456f370fcde010d585d9174df045978a6c9893c1vboxsyncRT_C_DECLS_END
456f370fcde010d585d9174df045978a6c9893c1vboxsync
456f370fcde010d585d9174df045978a6c9893c1vboxsync#endif /* #ifndef ___cr_bmpscale_h__ */
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync