Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
60008c0f
Commit
60008c0f
authored
Jul 25, 2017
by
Tobias Rapp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fate: update pixfmt_best test to check for endianness
Signed-off-by:
Tobias Rapp
<
t.rapp@noa-archive.com
>
parent
296debd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
pixfmt_best.c
libavutil/tests/pixfmt_best.c
+14
-0
pixfmt_best
tests/ref/fate/pixfmt_best
+1
-1
No files found.
libavutil/tests/pixfmt_best.c
View file @
60008c0f
...
...
@@ -117,6 +117,20 @@ int main(void)
TEST
(
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_RGB48
);
TEST
(
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_RGB48
);
// Formats containing the same data in different endianness.
TEST
(
AV_PIX_FMT_GRAY10BE
,
AV_PIX_FMT_GRAY10
);
TEST
(
AV_PIX_FMT_GRAY10LE
,
AV_PIX_FMT_GRAY10
);
TEST
(
AV_PIX_FMT_GRAY16BE
,
AV_PIX_FMT_GRAY16
);
TEST
(
AV_PIX_FMT_GRAY16LE
,
AV_PIX_FMT_GRAY16
);
TEST
(
AV_PIX_FMT_YUV422P10BE
,
AV_PIX_FMT_YUV422P10
);
TEST
(
AV_PIX_FMT_YUV422P10LE
,
AV_PIX_FMT_YUV422P10
);
TEST
(
AV_PIX_FMT_YUV444P16BE
,
AV_PIX_FMT_YUV444P16
);
TEST
(
AV_PIX_FMT_YUV444P16LE
,
AV_PIX_FMT_YUV444P16
);
TEST
(
AV_PIX_FMT_RGB565BE
,
AV_PIX_FMT_RGB565
);
TEST
(
AV_PIX_FMT_RGB565LE
,
AV_PIX_FMT_RGB565
);
TEST
(
AV_PIX_FMT_RGB48BE
,
AV_PIX_FMT_RGB48
);
TEST
(
AV_PIX_FMT_RGB48LE
,
AV_PIX_FMT_RGB48
);
// Opaque formats are least unlike each other.
TEST
(
AV_PIX_FMT_DXVA2_VLD
,
AV_PIX_FMT_VDPAU
);
...
...
tests/ref/fate/pixfmt_best
View file @
60008c0f
60
tests passed, 0 tests failed.
72
tests passed, 0 tests failed.
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