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
c2451240
Commit
c2451240
authored
Dec 06, 2018
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Dec 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Implement IWICBitmapEncoder::GetEncoderInfo in JPEG encoder.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e246dd46
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
jpegformat.c
dlls/windowscodecs/jpegformat.c
+15
-4
No files found.
dlls/windowscodecs/jpegformat.c
View file @
c2451240
...
@@ -1392,11 +1392,22 @@ static HRESULT WINAPI JpegEncoder_GetContainerFormat(IWICBitmapEncoder *iface, G
...
@@ -1392,11 +1392,22 @@ static HRESULT WINAPI JpegEncoder_GetContainerFormat(IWICBitmapEncoder *iface, G
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
JpegEncoder_GetEncoderInfo
(
IWICBitmapEncoder
*
iface
,
static
HRESULT
WINAPI
JpegEncoder_GetEncoderInfo
(
IWICBitmapEncoder
*
iface
,
IWICBitmapEncoderInfo
**
info
)
IWICBitmapEncoderInfo
**
ppIEncoderInfo
)
{
{
FIXME
(
"(%p,%p): stub
\n
"
,
iface
,
ppIEncoderInfo
);
IWICComponentInfo
*
comp_info
;
return
E_NOTIMPL
;
HRESULT
hr
;
TRACE
(
"%p,%p
\n
"
,
iface
,
info
);
if
(
!
info
)
return
E_INVALIDARG
;
hr
=
CreateComponentInfo
(
&
CLSID_WICJpegEncoder
,
&
comp_info
);
if
(
hr
==
S_OK
)
{
hr
=
IWICComponentInfo_QueryInterface
(
comp_info
,
&
IID_IWICBitmapEncoderInfo
,
(
void
**
)
info
);
IWICComponentInfo_Release
(
comp_info
);
}
return
hr
;
}
}
static
HRESULT
WINAPI
JpegEncoder_SetColorContexts
(
IWICBitmapEncoder
*
iface
,
static
HRESULT
WINAPI
JpegEncoder_SetColorContexts
(
IWICBitmapEncoder
*
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