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
ac3c9d01
Commit
ac3c9d01
authored
Jun 25, 2010
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: remove VLA in ac3_downmix_sse
parent
ee6184a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dsputil_mmx.c
libavcodec/x86/dsputil_mmx.c
+2
-1
No files found.
libavcodec/x86/dsputil_mmx.c
View file @
ac3c9d01
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include "libavcodec/h264dsp.h"
#include "libavcodec/h264dsp.h"
#include "libavcodec/mpegvideo.h"
#include "libavcodec/mpegvideo.h"
#include "libavcodec/simple_idct.h"
#include "libavcodec/simple_idct.h"
#include "libavcodec/ac3dec.h"
#include "dsputil_mmx.h"
#include "dsputil_mmx.h"
#include "idct_xvid.h"
#include "idct_xvid.h"
...
@@ -2049,7 +2050,7 @@ static void ac3_downmix_sse(float (*samples)[256], float (*matrix)[2], int out_c
...
@@ -2049,7 +2050,7 @@ static void ac3_downmix_sse(float (*samples)[256], float (*matrix)[2], int out_c
}
else
if
(
in_ch
==
5
&&
out_ch
==
1
&&
matrix_cmp
[
0
][
0
]
==
matrix_cmp
[
2
][
0
]
&&
matrix_cmp
[
3
][
0
]
==
matrix_cmp
[
4
][
0
])
{
}
else
if
(
in_ch
==
5
&&
out_ch
==
1
&&
matrix_cmp
[
0
][
0
]
==
matrix_cmp
[
2
][
0
]
&&
matrix_cmp
[
3
][
0
]
==
matrix_cmp
[
4
][
0
])
{
MIX5
(
IF1
,
IF0
);
MIX5
(
IF1
,
IF0
);
}
else
{
}
else
{
DECLARE_ALIGNED
(
16
,
float
,
matrix_simd
)[
in_ch
][
2
][
4
];
DECLARE_ALIGNED
(
16
,
float
,
matrix_simd
)[
AC3_MAX_CHANNELS
][
2
][
4
];
j
=
2
*
in_ch
*
sizeof
(
float
);
j
=
2
*
in_ch
*
sizeof
(
float
);
__asm__
volatile
(
__asm__
volatile
(
"1:
\n
"
"1:
\n
"
...
...
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