Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
538ed06c
Commit
538ed06c
authored
Feb 07, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clearly indicate that ICCVID and MSVIDC32 do not support compression.
parent
75c43624
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
16 deletions
+25
-16
iccvid.c
dlls/iccvid/iccvid.c
+12
-8
msvideo1.c
dlls/msvidc32/msvideo1.c
+13
-8
No files found.
dlls/iccvid/iccvid.c
View file @
538ed06c
...
...
@@ -765,7 +765,7 @@ static LRESULT ICCVID_DecompressQuery( ICCVID_Info *info, LPBITMAPINFO in, LPBIT
ICCVID_dump_BITMAPINFO
(
in
);
if
(
in
->
bmiHeader
.
biCompression
!=
ICCVID_MAGIC
)
return
ICERR_
UNSUPPORTED
;
return
ICERR_
BADFORMAT
;
if
(
out
)
{
...
...
@@ -773,11 +773,11 @@ static LRESULT ICCVID_DecompressQuery( ICCVID_Info *info, LPBITMAPINFO in, LPBIT
ICCVID_dump_BITMAPINFO
(
out
);
if
(
in
->
bmiHeader
.
biPlanes
!=
out
->
bmiHeader
.
biPlanes
)
return
ICERR_
UNSUPPORTED
;
return
ICERR_
BADFORMAT
;
if
(
in
->
bmiHeader
.
biHeight
!=
out
->
bmiHeader
.
biHeight
)
return
ICERR_
UNSUPPORTED
;
return
ICERR_
BADFORMAT
;
if
(
in
->
bmiHeader
.
biWidth
!=
out
->
bmiHeader
.
biWidth
)
return
ICERR_
UNSUPPORTED
;
return
ICERR_
BADFORMAT
;
switch
(
out
->
bmiHeader
.
biBitCount
)
{
...
...
@@ -788,7 +788,7 @@ static LRESULT ICCVID_DecompressQuery( ICCVID_Info *info, LPBITMAPINFO in, LPBIT
!
ICCVID_CheckMask
(
out
->
bmiColors
,
0xF800
,
0x07E0
,
0x001F
)
)
{
TRACE
(
"unsupported output bit field(s) for 16-bit colors
\n
"
);
return
ICERR_
UNSUPPORTED
;
return
ICERR_
BADFORMAT
;
}
}
break
;
...
...
@@ -797,7 +797,7 @@ static LRESULT ICCVID_DecompressQuery( ICCVID_Info *info, LPBITMAPINFO in, LPBIT
break
;
default:
TRACE
(
"unsupported output bitcount = %d
\n
"
,
out
->
bmiHeader
.
biBitCount
);
return
ICERR_
UNSUPPORTED
;
return
ICERR_
BADFORMAT
;
}
}
...
...
@@ -977,6 +977,9 @@ LRESULT WINAPI ICCVID_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
return
(
LRESULT
)
info
;
}
case
DRV_CLOSE
:
return
ICCVID_Close
(
info
);
case
ICM_GETINFO
:
return
ICCVID_GetInfo
(
info
,
(
ICINFO
*
)
lParam1
,
(
DWORD
)
lParam2
);
...
...
@@ -999,8 +1002,9 @@ LRESULT WINAPI ICCVID_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
case
ICM_DECOMPRESS_END
:
return
ICCVID_DecompressEnd
(
info
);
case
DRV_CLOSE
:
return
ICCVID_Close
(
info
);
case
ICM_COMPRESS_QUERY
:
FIXME
(
"compression not implemented
\n
"
);
return
ICERR_BADFORMAT
;
default:
FIXME
(
"Unknown message: %04x %ld %ld
\n
"
,
msg
,
lParam1
,
lParam2
);
...
...
dlls/msvidc32/msvideo1.c
View file @
538ed06c
...
...
@@ -514,6 +514,16 @@ LRESULT WINAPI CRAM_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
break
;
}
case
DRV_CLOSE
:
HeapFree
(
GetProcessHeap
(),
0
,
info
);
break
;
case
DRV_DISABLE
:
break
;
case
DRV_FREE
:
break
;
case
ICM_GETINFO
:
r
=
CRAM_GetInfo
(
info
,
(
ICINFO
*
)
lParam1
,
(
DWORD
)
lParam2
);
break
;
...
...
@@ -551,14 +561,9 @@ LRESULT WINAPI CRAM_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
(
DWORD
)
lParam2
);
break
;
case
DRV_CLOSE
:
HeapFree
(
GetProcessHeap
(),
0
,
info
);
break
;
case
DRV_DISABLE
:
break
;
case
DRV_FREE
:
case
ICM_COMPRESS_QUERY
:
FIXME
(
"compression not implemented
\n
"
);
r
=
ICERR_BADFORMAT
;
break
;
default:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment