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
746ad4e0
Commit
746ad4e0
authored
Feb 18, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dct-test: Improve CPU flags struct member name
parent
cb44b21d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dct-test.c
libavcodec/dct-test.c
+2
-2
No files found.
libavcodec/dct-test.c
View file @
746ad4e0
...
@@ -62,7 +62,7 @@ struct algo {
...
@@ -62,7 +62,7 @@ struct algo {
void
(
*
func
)(
int16_t
*
block
);
void
(
*
func
)(
int16_t
*
block
);
enum
formattag
{
NO_PERM
,
MMX_PERM
,
MMX_SIMPLE_PERM
,
SCALE_PERM
,
enum
formattag
{
NO_PERM
,
MMX_PERM
,
MMX_SIMPLE_PERM
,
SCALE_PERM
,
SSE2_PERM
,
PARTTRANS_PERM
}
format
;
SSE2_PERM
,
PARTTRANS_PERM
}
format
;
int
mm_support
;
int
cpu_flag
;
int
nonspec
;
int
nonspec
;
};
};
...
@@ -503,7 +503,7 @@ int main(int argc, char **argv)
...
@@ -503,7 +503,7 @@ int main(int argc, char **argv)
const
int
cpu_flags
=
av_get_cpu_flags
();
const
int
cpu_flags
=
av_get_cpu_flags
();
const
struct
algo
*
algos
=
test_idct
?
idct_tab
:
fdct_tab
;
const
struct
algo
*
algos
=
test_idct
?
idct_tab
:
fdct_tab
;
for
(
i
=
0
;
algos
[
i
].
name
;
i
++
)
for
(
i
=
0
;
algos
[
i
].
name
;
i
++
)
if
(
!
(
~
cpu_flags
&
algos
[
i
].
mm_support
))
{
if
(
!
(
~
cpu_flags
&
algos
[
i
].
cpu_flag
))
{
err
|=
dct_error
(
&
algos
[
i
],
test
,
test_idct
,
speed
);
err
|=
dct_error
(
&
algos
[
i
],
test
,
test_idct
,
speed
);
}
}
}
}
...
...
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