Windows2003-3790/multimedia/media/mplayer2/errprop.h
2020-09-30 16:53:55 +02:00

32 lines
1.5 KiB
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*-----------------------------------------------------------------------------+
| ERRORPROP.H |
| |
| Interactive error propagation bitmap enhancement program. |
| |
| (C) Copyright Microsoft Corporation 1992. All rights reserved. |
| |
| Revision History |
| Oct-1992 MikeTri Ported to WIN32 / WIN16 common code |
| |
+-----------------------------------------------------------------------------*/
#define MAXPROP 16
#define MAXMULT 64
typedef struct {
short GrayThresh;
short LoThresh;
short HiThresh;
short Prop;
short Mult[3];
} ERRPROPPARAMS;
typedef ERRPROPPARAMS NEAR *PERRPROPPARAMS;
int SetDIBitsErrProp(HDC hdc,HBITMAP hbm,WORD nStart,WORD nScans,LPBYTE lpBits,LPBITMAPINFO lpbi,WORD wUsage);
void SetErrPropParams(PERRPROPPARAMS pErrProp);
void GetErrPropParams(PERRPROPPARAMS pErrProp);
extern void FAR PASCAL BltProp(LPBITMAPINFOHEADER lpbiSrc, LPBYTE pbSrc, UINT SrcX, UINT SrcY, UINT SrcXE, UINT SrcYE,
LPBITMAPINFOHEADER lpbiDst, LPBYTE pbDst, UINT DstX, UINT DstY);