Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
2c5ef845
Commit
2c5ef845
authored
13 years ago
by
Esme Povirk
Committed by
Alexandre Julliard
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
include: Add IWICPixelFormatInfo definition.
parent
9588617d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/wincodec.idl
+48
-0
48 additions, 0 deletions
include/wincodec.idl
with
48 additions
and
0 deletions
include/wincodec.idl
+
48
−
0
View file @
2c5ef845
...
...
@@ -140,6 +140,16 @@ typedef enum WICComponentEnumerateOptions {
WICComponentEnumerateDisabled
=
0
x80000000
}
WICComponentEnumerateOptions
;
typedef
enum
WICPixelFormatNumericRepresentation
{
WICPixelFormatNumericRepresentationUnspecified
=
0
x00000000
,
WICPixelFormatNumericRepresentationIndexed
=
0
x00000001
,
WICPixelFormatNumericRepresentationUnsignedInteger
=
0
x00000002
,
WICPixelFormatNumericRepresentationSignedInteger
=
0
x00000003
,
WICPixelFormatNumericRepresentationFixed
=
0
x00000004
,
WICPixelFormatNumericRepresentationFloat
=
0
x00000005
,
WICPIXELFORMATNUMERICREPRESENTATION_FORCE_DWORD
=
CODEC_FORCE_DWORD
}
WICPixelFormatNumericRepresentation
;
typedef
GUID
WICPixelFormatGUID
;
typedef
REFGUID
REFWICPixelFormatGUID
;
...
...
@@ -444,6 +454,44 @@ interface IWICBitmapFrameDecode : IWICBitmapSource
[
out
]
IWICBitmapSource
**
ppIThumbnail
)
;
}
[
object
,
uuid
(
e8eda601
-
3
d48
-
431
a
-
ab44
-
69059b
e88bbe
)
]
interface
IWICPixelFormatInfo
:
IWICComponentInfo
{
HRESULT
GetFormatGUID
(
[
out
]
GUID
*
pFormat
)
;
HRESULT
GetColorContext
(
[
out
]
IWICColorContext
**
ppIColorContext
)
;
HRESULT
GetBitsPerPixel
(
[
out
]
UINT
*
puiBitsPerPixel
)
;
HRESULT
GetChannelCount
(
[
out
]
UINT
*
puiChannelCount
)
;
HRESULT
GetChannelMask
(
[
in
]
UINT
uiChannelIndex
,
[
in
]
UINT
cbMaskBuffer
,
[
in
,
out
,
unique
,
size_is
(
cbMaskBuffer
)
]
BYTE
*
pbMaskBuffer
,
[
out
]
UINT
*
pcbActual
)
;
}
[
object
,
uuid
(
a9db33a2
-
af5f
-
43
c7
-
b679
-
74
f5984b5aa4
)
]
interface
IWICPixelFormatInfo2
:
IWICPixelFormatInfo
{
HRESULT
SupportsTransparency
(
[
out
]
BOOL
*
pfSupportsTransparency
)
;
HRESULT
GetNumericRepresentation
(
[
out
]
WICPixelFormatNumericRepresentation
*
pNumericRepresentation
)
;
}
[
object
,
uuid
(
e87a44c4
-
b76e
-
4
c47
-
8b09
-
298
eb12a2714
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment