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
bc467de5
Commit
bc467de5
authored
Dec 22, 2022
by
Ziqing Hui
Committed by
Alexandre Julliard
Jan 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat/tests: Test MFGetStrideForBitmapInfoHeader for NV11.
parent
fcdc7638
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
mfplat.c
dlls/mfplat/tests/mfplat.c
+5
-0
No files found.
dlls/mfplat/tests/mfplat.c
View file @
bc467de5
...
...
@@ -5739,6 +5739,9 @@ static void test_MFGetStrideForBitmapInfoHeader(void)
{
&
MFVideoFormat_IYUV
,
2
,
2
},
{
&
MFVideoFormat_IYUV
,
3
,
3
},
{
&
MFVideoFormat_IYUV
,
320
,
320
},
{
&
MFVideoFormat_NV11
,
1
,
1
},
{
&
MFVideoFormat_NV11
,
2
,
2
},
{
&
MFVideoFormat_NV11
,
3
,
3
},
};
unsigned
int
i
;
LONG
stride
;
...
...
@@ -5756,7 +5759,9 @@ static void test_MFGetStrideForBitmapInfoHeader(void)
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
stride_tests
);
++
i
)
{
hr
=
pMFGetStrideForBitmapInfoHeader
(
stride_tests
[
i
].
subtype
->
Data1
,
stride_tests
[
i
].
width
,
&
stride
);
todo_wine_if
(
IsEqualGUID
(
stride_tests
[
i
].
subtype
,
&
MFVideoFormat_NV11
))
ok
(
hr
==
S_OK
,
"%u: failed to get stride, hr %#lx.
\n
"
,
i
,
hr
);
todo_wine_if
(
IsEqualGUID
(
stride_tests
[
i
].
subtype
,
&
MFVideoFormat_NV11
))
ok
(
stride
==
stride_tests
[
i
].
stride
,
"%u: format %s, unexpected stride %ld, expected %ld.
\n
"
,
i
,
wine_dbgstr_an
((
char
*
)
&
stride_tests
[
i
].
subtype
->
Data1
,
4
),
stride
,
stride_tests
[
i
].
stride
);
}
...
...
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