Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e9fba4fc
Commit
e9fba4fc
authored
Jul 27, 2011
by
Vincent Povirk
Committed by
Alexandre Julliard
Jul 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Implement GetDecoderInfo for all the decoders.
parent
5a45076d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
70 additions
and
10 deletions
+70
-10
icoformat.c
dlls/windowscodecs/icoformat.c
+14
-2
jpegformat.c
dlls/windowscodecs/jpegformat.c
+14
-2
pngformat.c
dlls/windowscodecs/pngformat.c
+14
-2
tgaformat.c
dlls/windowscodecs/tgaformat.c
+14
-2
tiffformat.c
dlls/windowscodecs/tiffformat.c
+14
-2
No files found.
dlls/windowscodecs/icoformat.c
View file @
e9fba4fc
...
...
@@ -534,8 +534,20 @@ static HRESULT WINAPI IcoDecoder_GetContainerFormat(IWICBitmapDecoder *iface,
static
HRESULT
WINAPI
IcoDecoder_GetDecoderInfo
(
IWICBitmapDecoder
*
iface
,
IWICBitmapDecoderInfo
**
ppIDecoderInfo
)
{
FIXME
(
"(%p,%p): stub
\n
"
,
iface
,
ppIDecoderInfo
);
return
E_NOTIMPL
;
HRESULT
hr
;
IWICComponentInfo
*
compinfo
;
TRACE
(
"(%p,%p)
\n
"
,
iface
,
ppIDecoderInfo
);
hr
=
CreateComponentInfo
(
&
CLSID_WICIcoDecoder
,
&
compinfo
);
if
(
FAILED
(
hr
))
return
hr
;
hr
=
IWICComponentInfo_QueryInterface
(
compinfo
,
&
IID_IWICBitmapDecoderInfo
,
(
void
**
)
ppIDecoderInfo
);
IWICComponentInfo_Release
(
compinfo
);
return
hr
;
}
static
HRESULT
WINAPI
IcoDecoder_CopyPalette
(
IWICBitmapDecoder
*
iface
,
...
...
dlls/windowscodecs/jpegformat.c
View file @
e9fba4fc
...
...
@@ -362,8 +362,20 @@ static HRESULT WINAPI JpegDecoder_GetContainerFormat(IWICBitmapDecoder *iface,
static
HRESULT
WINAPI
JpegDecoder_GetDecoderInfo
(
IWICBitmapDecoder
*
iface
,
IWICBitmapDecoderInfo
**
ppIDecoderInfo
)
{
FIXME
(
"(%p,%p): stub
\n
"
,
iface
,
ppIDecoderInfo
);
return
E_NOTIMPL
;
HRESULT
hr
;
IWICComponentInfo
*
compinfo
;
TRACE
(
"(%p,%p)
\n
"
,
iface
,
ppIDecoderInfo
);
hr
=
CreateComponentInfo
(
&
CLSID_WICJpegDecoder
,
&
compinfo
);
if
(
FAILED
(
hr
))
return
hr
;
hr
=
IWICComponentInfo_QueryInterface
(
compinfo
,
&
IID_IWICBitmapDecoderInfo
,
(
void
**
)
ppIDecoderInfo
);
IWICComponentInfo_Release
(
compinfo
);
return
hr
;
}
static
HRESULT
WINAPI
JpegDecoder_CopyPalette
(
IWICBitmapDecoder
*
iface
,
...
...
dlls/windowscodecs/pngformat.c
View file @
e9fba4fc
...
...
@@ -475,8 +475,20 @@ static HRESULT WINAPI PngDecoder_GetContainerFormat(IWICBitmapDecoder *iface,
static
HRESULT
WINAPI
PngDecoder_GetDecoderInfo
(
IWICBitmapDecoder
*
iface
,
IWICBitmapDecoderInfo
**
ppIDecoderInfo
)
{
FIXME
(
"(%p,%p): stub
\n
"
,
iface
,
ppIDecoderInfo
);
return
E_NOTIMPL
;
HRESULT
hr
;
IWICComponentInfo
*
compinfo
;
TRACE
(
"(%p,%p)
\n
"
,
iface
,
ppIDecoderInfo
);
hr
=
CreateComponentInfo
(
&
CLSID_WICPngDecoder
,
&
compinfo
);
if
(
FAILED
(
hr
))
return
hr
;
hr
=
IWICComponentInfo_QueryInterface
(
compinfo
,
&
IID_IWICBitmapDecoderInfo
,
(
void
**
)
ppIDecoderInfo
);
IWICComponentInfo_Release
(
compinfo
);
return
hr
;
}
static
HRESULT
WINAPI
PngDecoder_CopyPalette
(
IWICBitmapDecoder
*
iface
,
...
...
dlls/windowscodecs/tgaformat.c
View file @
e9fba4fc
...
...
@@ -351,8 +351,20 @@ static HRESULT WINAPI TgaDecoder_GetContainerFormat(IWICBitmapDecoder *iface,
static
HRESULT
WINAPI
TgaDecoder_GetDecoderInfo
(
IWICBitmapDecoder
*
iface
,
IWICBitmapDecoderInfo
**
ppIDecoderInfo
)
{
FIXME
(
"(%p,%p): stub
\n
"
,
iface
,
ppIDecoderInfo
);
return
E_NOTIMPL
;
HRESULT
hr
;
IWICComponentInfo
*
compinfo
;
TRACE
(
"(%p,%p)
\n
"
,
iface
,
ppIDecoderInfo
);
hr
=
CreateComponentInfo
(
&
CLSID_WineTgaDecoder
,
&
compinfo
);
if
(
FAILED
(
hr
))
return
hr
;
hr
=
IWICComponentInfo_QueryInterface
(
compinfo
,
&
IID_IWICBitmapDecoderInfo
,
(
void
**
)
ppIDecoderInfo
);
IWICComponentInfo_Release
(
compinfo
);
return
hr
;
}
static
HRESULT
WINAPI
TgaDecoder_CopyPalette
(
IWICBitmapDecoder
*
iface
,
...
...
dlls/windowscodecs/tiffformat.c
View file @
e9fba4fc
...
...
@@ -590,8 +590,20 @@ static HRESULT WINAPI TiffDecoder_GetContainerFormat(IWICBitmapDecoder *iface,
static
HRESULT
WINAPI
TiffDecoder_GetDecoderInfo
(
IWICBitmapDecoder
*
iface
,
IWICBitmapDecoderInfo
**
ppIDecoderInfo
)
{
FIXME
(
"(%p,%p): stub
\n
"
,
iface
,
ppIDecoderInfo
);
return
E_NOTIMPL
;
HRESULT
hr
;
IWICComponentInfo
*
compinfo
;
TRACE
(
"(%p,%p)
\n
"
,
iface
,
ppIDecoderInfo
);
hr
=
CreateComponentInfo
(
&
CLSID_WICTiffDecoder
,
&
compinfo
);
if
(
FAILED
(
hr
))
return
hr
;
hr
=
IWICComponentInfo_QueryInterface
(
compinfo
,
&
IID_IWICBitmapDecoderInfo
,
(
void
**
)
ppIDecoderInfo
);
IWICComponentInfo_Release
(
compinfo
);
return
hr
;
}
static
HRESULT
WINAPI
TiffDecoder_CopyPalette
(
IWICBitmapDecoder
*
iface
,
...
...
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