summaryrefslogtreecommitdiffstats
path: root/loader/vfl.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/vfl.c')
-rw-r--r--loader/vfl.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/loader/vfl.c b/loader/vfl.c
index 7b0f10ea77..e5d0445b92 100644
--- a/loader/vfl.c
+++ b/loader/vfl.c
@@ -66,7 +66,7 @@ ICOpen(long filename,long fccHandler,unsigned int wMode) {
HDRVR hdrv;
WINE_HIC *whic;
- /* Well, lParam2 is in fact a LPVIDEO_OPEN_PARMS, but it has the
+ /* Well, lParam2 is in fact a LPVIDEO_OPEN_PARMS, but it has the
* same layout as ICOPEN
*/
icopen.fccType = 0x63646976; // "vidc" //fccType;
@@ -93,7 +93,7 @@ ICGetInfo(HIC hic,ICINFO *picinfo,long cb) {
LRESULT ret;
ret = ICSendMessage(hic,ICM_GETINFO,(long)picinfo,cb);
-
+
return ret;
}
@@ -129,7 +129,7 @@ ICCompress(
/***********************************************************************
* ICDecompress [MSVFW.26]
*/
-long VFWAPIV
+long VFWAPIV
ICDecompress(HIC hic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits) {
ICDECOMPRESS icd;
int result;
@@ -147,11 +147,11 @@ ICDecompress(HIC hic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPB
/***********************************************************************
* ICDecompressEx [MSVFW.26]
*/
-long VFWAPIV
+long VFWAPIV
ICDecompressEx(HIC hic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits) {
ICDECOMPRESSEX icd;
int result;
-
+
icd.dwFlags = dwFlags;
icd.lpbiSrc = lpbiFormat;
@@ -159,7 +159,7 @@ ICDecompressEx(HIC hic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,L
icd.lpbiDst = lpbi;
icd.lpDst = lpBits;
-
+
icd.xSrc=icd.ySrc=0;
icd.dxSrc=lpbiFormat->biWidth;
icd.dySrc=abs(lpbiFormat->biHeight);
@@ -167,17 +167,17 @@ ICDecompressEx(HIC hic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,L
icd.xDst=icd.yDst=0;
icd.dxDst=lpbi->biWidth;
icd.dyDst=abs(lpbi->biHeight);
-
+
//icd.ckid = 0;
result=ICSendMessage(hic,ICM_DECOMPRESSEX,(long)&icd,sizeof(icd));
return result;
}
-long VFWAPIV
+long VFWAPIV
ICUniversalEx(HIC hic,int command,LPBITMAPINFOHEADER lpbiFormat,LPBITMAPINFOHEADER lpbi) {
ICDECOMPRESSEX icd;
int result;
-
+
icd.dwFlags = 0;
icd.lpbiSrc = lpbiFormat;
@@ -185,7 +185,7 @@ ICUniversalEx(HIC hic,int command,LPBITMAPINFOHEADER lpbiFormat,LPBITMAPINFOHEAD
icd.lpbiDst = lpbi;
icd.lpDst = 0;
-
+
icd.xSrc=icd.ySrc=0;
icd.dxSrc=lpbiFormat->biWidth;
icd.dySrc=abs(lpbiFormat->biHeight);
@@ -193,7 +193,7 @@ ICUniversalEx(HIC hic,int command,LPBITMAPINFOHEADER lpbiFormat,LPBITMAPINFOHEAD
icd.xDst=icd.yDst=0;
icd.dxDst=lpbi->biWidth;
icd.dyDst=abs(lpbi->biHeight);
-
+
//icd.ckid = 0;
result=ICSendMessage(hic,command,(long)&icd,sizeof(icd));
return result;
@@ -227,4 +227,3 @@ int VFWAPI ICDoSomething(void)
{
return 0;
}
-