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
b76ee469
Commit
b76ee469
authored
May 23, 2003
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
Originally committed as revision 10174 to
svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent
27161c06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
cs_test.c
postproc/cs_test.c
+10
-0
No files found.
postproc/cs_test.c
View file @
b76ee469
...
...
@@ -20,6 +20,7 @@
#include <stdlib.h>
#include <inttypes.h>
#include "swscale.h"
#include "rgb2rgb.h"
#include "../cpudetect.h"
...
...
@@ -27,6 +28,13 @@
#define srcByte 0x55
#define dstByte 0xBB
static
int
get_sws_cpuflags
()
{
return
(
gCpuCaps
.
hasMMX
?
SWS_CPU_CAPS_MMX
:
0
)
|
(
gCpuCaps
.
hasMMX2
?
SWS_CPU_CAPS_MMX2
:
0
)
|
(
gCpuCaps
.
has3DNow
?
SWS_CPU_CAPS_3DNOW
:
0
);
}
main
(
int
argc
,
char
**
argv
)
{
int
i
,
funcNum
;
...
...
@@ -42,6 +50,8 @@ main(int argc, char **argv)
printf
(
"testing mmx
\n
"
);
}
sws_rgb2rgb_init
(
get_sws_cpuflags
());
for
(
funcNum
=
0
;
funcNum
<
100
;
funcNum
++
){
int
width
;
int
failed
=
0
;
...
...
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