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
96b0ddee
Commit
96b0ddee
authored
Oct 12, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dct-test: Test ff_prores_idct_put_10_sse2()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
dfeeb85b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
dct-test.c
libavcodec/dct-test.c
+17
-0
No files found.
libavcodec/dct-test.c
View file @
96b0ddee
...
...
@@ -107,6 +107,22 @@ static const struct algo fdct_tab[] = {
{
0
}
};
#if HAVE_MMX
void
ff_prores_idct_put_10_sse2
(
uint16_t
*
dst
,
int
linesize
,
DCTELEM
*
block
,
int16_t
*
qmat
);
static
void
ff_prores_idct_put_10_sse2_wrap
(
uint16_t
*
dst
){
int16_t
qmat
[
64
];
int
i
;
int16_t
tmp
[
64
];
for
(
i
=
0
;
i
<
64
;
i
++
){
qmat
[
i
]
=
4
;
tmp
[
i
]
=
dst
[
i
];
}
ff_prores_idct_put_10_sse2
(
dst
,
16
,
tmp
,
qmat
);
}
#endif
static
const
struct
algo
idct_tab
[]
=
{
{
"FAANI"
,
ff_faanidct
,
NO_PERM
},
{
"REF-DBL"
,
ff_ref_idct
,
NO_PERM
},
...
...
@@ -122,6 +138,7 @@ static const struct algo idct_tab[] = {
{
"XVID-MMX"
,
ff_idct_xvid_mmx
,
NO_PERM
,
AV_CPU_FLAG_MMX
,
1
},
{
"XVID-MMX2"
,
ff_idct_xvid_mmx2
,
NO_PERM
,
AV_CPU_FLAG_MMX2
,
1
},
{
"XVID-SSE2"
,
ff_idct_xvid_sse2
,
SSE2_PERM
,
AV_CPU_FLAG_SSE2
,
1
},
{
"PR-SSE2"
,
ff_prores_idct_put_10_sse2_wrap
,
TRANSPOSE_PERM
,
AV_CPU_FLAG_SSE2
,
1
},
#endif
#if ARCH_BFIN
...
...
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