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
fc2128d7
Commit
fc2128d7
authored
May 06, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
May 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Register the video processor transform.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
529efbb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
0 deletions
+60
-0
mfplat.c
dlls/winegstreamer/mfplat.c
+60
-0
No files found.
dlls/winegstreamer/mfplat.c
View file @
fc2128d7
...
...
@@ -472,6 +472,56 @@ HRESULT mfplat_DllRegisterServer(void)
{
MFMediaType_Video
,
MFVideoFormat_YUY2
},
};
MFT_REGISTER_TYPE_INFO
video_processor_input_types
[]
=
{
{
MFMediaType_Video
,
MFVideoFormat_IYUV
},
{
MFMediaType_Video
,
MFVideoFormat_YV12
},
{
MFMediaType_Video
,
MFVideoFormat_NV12
},
{
MFMediaType_Video
,
MFVideoFormat_YUY2
},
{
MFMediaType_Video
,
MFVideoFormat_ARGB32
},
{
MFMediaType_Video
,
MFVideoFormat_RGB32
},
{
MFMediaType_Video
,
MFVideoFormat_NV11
},
{
MFMediaType_Video
,
MFVideoFormat_AYUV
},
{
MFMediaType_Video
,
MFVideoFormat_UYVY
},
{
MFMediaType_Video
,
MEDIASUBTYPE_P208
},
{
MFMediaType_Video
,
MFVideoFormat_RGB24
},
{
MFMediaType_Video
,
MFVideoFormat_RGB555
},
{
MFMediaType_Video
,
MFVideoFormat_RGB565
},
{
MFMediaType_Video
,
MFVideoFormat_RGB8
},
{
MFMediaType_Video
,
MFVideoFormat_I420
},
{
MFMediaType_Video
,
MFVideoFormat_Y216
},
{
MFMediaType_Video
,
MFVideoFormat_v410
},
{
MFMediaType_Video
,
MFVideoFormat_Y41P
},
{
MFMediaType_Video
,
MFVideoFormat_Y41T
},
{
MFMediaType_Video
,
MFVideoFormat_Y42T
},
{
MFMediaType_Video
,
MFVideoFormat_YVYU
},
{
MFMediaType_Video
,
MFVideoFormat_420O
},
};
MFT_REGISTER_TYPE_INFO
video_processor_output_types
[]
=
{
{
MFMediaType_Video
,
MFVideoFormat_IYUV
},
{
MFMediaType_Video
,
MFVideoFormat_YV12
},
{
MFMediaType_Video
,
MFVideoFormat_NV12
},
{
MFMediaType_Video
,
MFVideoFormat_YUY2
},
{
MFMediaType_Video
,
MFVideoFormat_ARGB32
},
{
MFMediaType_Video
,
MFVideoFormat_RGB32
},
{
MFMediaType_Video
,
MFVideoFormat_NV11
},
{
MFMediaType_Video
,
MFVideoFormat_AYUV
},
{
MFMediaType_Video
,
MFVideoFormat_UYVY
},
{
MFMediaType_Video
,
MEDIASUBTYPE_P208
},
{
MFMediaType_Video
,
MFVideoFormat_RGB24
},
{
MFMediaType_Video
,
MFVideoFormat_RGB555
},
{
MFMediaType_Video
,
MFVideoFormat_RGB565
},
{
MFMediaType_Video
,
MFVideoFormat_RGB8
},
{
MFMediaType_Video
,
MFVideoFormat_I420
},
{
MFMediaType_Video
,
MFVideoFormat_Y216
},
{
MFMediaType_Video
,
MFVideoFormat_v410
},
{
MFMediaType_Video
,
MFVideoFormat_Y41P
},
{
MFMediaType_Video
,
MFVideoFormat_Y41T
},
{
MFMediaType_Video
,
MFVideoFormat_Y42T
},
{
MFMediaType_Video
,
MFVideoFormat_YVYU
},
};
struct
mft
{
GUID
clsid
;
...
...
@@ -515,6 +565,16 @@ HRESULT mfplat_DllRegisterServer(void)
ARRAY_SIZE
(
h264_decoder_output_types
),
h264_decoder_output_types
,
},
{
CLSID_VideoProcessorMFT
,
MFT_CATEGORY_VIDEO_PROCESSOR
,
L"Microsoft Video Processor MFT"
,
MFT_ENUM_FLAG_SYNCMFT
,
ARRAY_SIZE
(
video_processor_input_types
),
video_processor_input_types
,
ARRAY_SIZE
(
video_processor_output_types
),
video_processor_output_types
,
},
};
unsigned
int
i
;
...
...
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