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
e8cfcbb2
Commit
e8cfcbb2
authored
Feb 01, 2023
by
Shaun Ren
Committed by
Alexandre Julliard
Feb 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ir50_32: Implement IV50_DecompressGetFormat.
parent
b979f3b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
ir50.c
dlls/ir50_32/ir50.c
+22
-2
No files found.
dlls/ir50_32/ir50.c
View file @
e8cfcbb2
...
...
@@ -97,8 +97,28 @@ IV50_DecompressQuery( LPBITMAPINFO in, LPBITMAPINFO out )
static
LRESULT
IV50_DecompressGetFormat
(
LPBITMAPINFO
in
,
LPBITMAPINFO
out
)
{
FIXME
(
"ICM_DECOMPRESS_GETFORMAT %p %p
\n
"
,
in
,
out
);
return
ICERR_UNSUPPORTED
;
DWORD
size
;
TRACE
(
"ICM_DECOMPRESS_GETFORMAT %p %p
\n
"
,
in
,
out
);
if
(
!
in
)
return
ICERR_BADPARAM
;
if
(
in
->
bmiHeader
.
biCompression
!=
IV50_MAGIC
)
return
ICERR_BADFORMAT
;
size
=
in
->
bmiHeader
.
biSize
;
if
(
out
)
{
memcpy
(
out
,
in
,
size
);
out
->
bmiHeader
.
biHeight
=
abs
(
in
->
bmiHeader
.
biHeight
);
out
->
bmiHeader
.
biCompression
=
BI_RGB
;
out
->
bmiHeader
.
biBitCount
=
32
;
out
->
bmiHeader
.
biSizeImage
=
out
->
bmiHeader
.
biWidth
*
out
->
bmiHeader
.
biHeight
*
4
;
return
ICERR_OK
;
}
return
size
;
}
static
LRESULT
IV50_DecompressBegin
(
IMFTransform
*
decoder
,
LPBITMAPINFO
in
,
LPBITMAPINFO
out
)
...
...
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