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
f5c4ae7c
Commit
f5c4ae7c
authored
Jul 18, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Use nameless unions/structs.
parent
0724f94f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
mediatype.c
libs/strmbase/mediatype.c
+3
-3
strmbase_private.h
libs/strmbase/strmbase_private.h
+0
-2
No files found.
libs/strmbase/mediatype.c
View file @
f5c4ae7c
...
@@ -132,10 +132,10 @@ void strmbase_dump_media_type(const AM_MEDIA_TYPE *mt)
...
@@ -132,10 +132,10 @@ void strmbase_dump_media_type(const AM_MEDIA_TYPE *mt)
if
(
vih
->
dwInterlaceFlags
)
TRACE
(
"interlace flags %#lx, "
,
vih
->
dwInterlaceFlags
);
if
(
vih
->
dwInterlaceFlags
)
TRACE
(
"interlace flags %#lx, "
,
vih
->
dwInterlaceFlags
);
if
(
vih
->
dwCopyProtectFlags
)
TRACE
(
"copy-protection flags %#lx, "
,
vih
->
dwCopyProtectFlags
);
if
(
vih
->
dwCopyProtectFlags
)
TRACE
(
"copy-protection flags %#lx, "
,
vih
->
dwCopyProtectFlags
);
TRACE
(
"aspect ratio %lu/%lu, "
,
vih
->
dwPictAspectRatioX
,
vih
->
dwPictAspectRatioY
);
TRACE
(
"aspect ratio %lu/%lu, "
,
vih
->
dwPictAspectRatioX
,
vih
->
dwPictAspectRatioY
);
if
(
vih
->
u
.
dwControlFlags
)
TRACE
(
"control flags %#lx, "
,
vih
->
u
.
dwControlFlags
);
if
(
vih
->
dwControlFlags
)
TRACE
(
"control flags %#lx, "
,
vih
->
dwControlFlags
);
if
(
vih
->
u
.
dwControlFlags
&
AMCONTROL_COLORINFO_PRESENT
)
if
(
vih
->
dwControlFlags
&
AMCONTROL_COLORINFO_PRESENT
)
{
{
const
DXVA_ExtendedFormat
*
colorimetry
=
(
const
DXVA_ExtendedFormat
*
)
&
vih
->
u
.
dwControlFlags
;
const
DXVA_ExtendedFormat
*
colorimetry
=
(
const
DXVA_ExtendedFormat
*
)
&
vih
->
dwControlFlags
;
TRACE
(
"chroma site %#x, range %#x, matrix %#x, lighting %#x, primaries %#x, transfer function %#x, "
,
TRACE
(
"chroma site %#x, range %#x, matrix %#x, lighting %#x, primaries %#x, transfer function %#x, "
,
colorimetry
->
VideoChromaSubsampling
,
colorimetry
->
NominalRange
,
colorimetry
->
VideoTransferMatrix
,
colorimetry
->
VideoChromaSubsampling
,
colorimetry
->
NominalRange
,
colorimetry
->
VideoTransferMatrix
,
...
...
libs/strmbase/strmbase_private.h
View file @
f5c4ae7c
...
@@ -22,8 +22,6 @@
...
@@ -22,8 +22,6 @@
#define __WINE_STRMBASE_PRIVATE_H
#define __WINE_STRMBASE_PRIVATE_H
#include <assert.h>
#include <assert.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define COBJMACROS
#define COBJMACROS
#include "dshow.h"
#include "dshow.h"
#include "uuids.h"
#include "uuids.h"
...
...
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