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
c185b5a9
Commit
c185b5a9
authored
Sep 26, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 12, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Reorder video format struct in wg_format.
parent
4af60629
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
28 deletions
+29
-28
unixlib.h
dlls/winegstreamer/unixlib.h
+29
-28
No files found.
dlls/winegstreamer/unixlib.h
View file @
c185b5a9
...
...
@@ -34,43 +34,19 @@ struct wg_format
{
enum
wg_major_type
{
WG_MAJOR_TYPE_UNKNOWN
,
WG_MAJOR_TYPE_VIDEO
,
WG_MAJOR_TYPE_VIDEO_CINEPAK
,
WG_MAJOR_TYPE_VIDEO_H264
,
WG_MAJOR_TYPE_UNKNOWN
=
0
,
WG_MAJOR_TYPE_AUDIO
,
WG_MAJOR_TYPE_AUDIO_MPEG1
,
WG_MAJOR_TYPE_AUDIO_WMA
,
WG_MAJOR_TYPE_VIDEO
,
WG_MAJOR_TYPE_VIDEO_CINEPAK
,
WG_MAJOR_TYPE_VIDEO_H264
,
}
major_type
;
union
{
struct
{
enum
wg_video_format
{
WG_VIDEO_FORMAT_UNKNOWN
,
WG_VIDEO_FORMAT_BGRA
,
WG_VIDEO_FORMAT_BGRx
,
WG_VIDEO_FORMAT_BGR
,
WG_VIDEO_FORMAT_RGB15
,
WG_VIDEO_FORMAT_RGB16
,
WG_VIDEO_FORMAT_AYUV
,
WG_VIDEO_FORMAT_I420
,
WG_VIDEO_FORMAT_NV12
,
WG_VIDEO_FORMAT_UYVY
,
WG_VIDEO_FORMAT_YUY2
,
WG_VIDEO_FORMAT_YV12
,
WG_VIDEO_FORMAT_YVYU
,
}
format
;
int32_t
width
,
height
;
uint32_t
fps_n
,
fps_d
;
RECT
padding
;
}
video
;
struct
{
enum
wg_audio_format
{
WG_AUDIO_FORMAT_UNKNOWN
,
...
...
@@ -104,6 +80,31 @@ struct wg_format
uint32_t
codec_data_len
;
unsigned
char
codec_data
[
64
];
}
audio_wma
;
struct
{
enum
wg_video_format
{
WG_VIDEO_FORMAT_UNKNOWN
,
WG_VIDEO_FORMAT_BGRA
,
WG_VIDEO_FORMAT_BGRx
,
WG_VIDEO_FORMAT_BGR
,
WG_VIDEO_FORMAT_RGB15
,
WG_VIDEO_FORMAT_RGB16
,
WG_VIDEO_FORMAT_AYUV
,
WG_VIDEO_FORMAT_I420
,
WG_VIDEO_FORMAT_NV12
,
WG_VIDEO_FORMAT_UYVY
,
WG_VIDEO_FORMAT_YUY2
,
WG_VIDEO_FORMAT_YV12
,
WG_VIDEO_FORMAT_YVYU
,
}
format
;
int32_t
width
,
height
;
uint32_t
fps_n
,
fps_d
;
RECT
padding
;
}
video
;
struct
{
uint32_t
width
;
...
...
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