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
b35a02d5
Commit
b35a02d5
authored
Jan 07, 2003
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
align fixes for sse/altivec
Originally committed as revision 1414 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
bbbb6d6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
wmadec.c
libavcodec/wmadec.c
+6
-6
No files found.
libavcodec/wmadec.c
View file @
b35a02d5
...
...
@@ -87,15 +87,15 @@ typedef struct WMADecodeContext {
int
block_pos
;
/* current position in frame */
uint8_t
ms_stereo
;
/* true if mid/side stereo mode */
uint8_t
channel_coded
[
MAX_CHANNELS
];
/* true if channel is coded */
float
exponents
[
MAX_CHANNELS
][
BLOCK_MAX_SIZE
];
float
exponents
[
MAX_CHANNELS
][
BLOCK_MAX_SIZE
]
__attribute__
((
aligned
(
16
)))
;
float
max_exponent
[
MAX_CHANNELS
];
int16_t
coefs1
[
MAX_CHANNELS
][
BLOCK_MAX_SIZE
];
float
coefs
[
MAX_CHANNELS
][
BLOCK_MAX_SIZE
];
float
coefs
[
MAX_CHANNELS
][
BLOCK_MAX_SIZE
]
__attribute__
((
aligned
(
16
)))
;
MDCTContext
mdct_ctx
[
BLOCK_NB_SIZES
];
float
*
windows
[
BLOCK_NB_SIZES
];
FFTSample
mdct_tmp
[
BLOCK_MAX_SIZE
];
/* temporary storage for imdct */
float
*
windows
[
BLOCK_NB_SIZES
]
__attribute__
((
aligned
(
16
)))
;
FFTSample
mdct_tmp
[
BLOCK_MAX_SIZE
]
__attribute__
((
aligned
(
16
)))
;
/* temporary storage for imdct */
/* output buffer for one frame and the last for IMDCT windowing */
float
frame_out
[
MAX_CHANNELS
][
BLOCK_MAX_SIZE
*
2
];
float
frame_out
[
MAX_CHANNELS
][
BLOCK_MAX_SIZE
*
2
]
__attribute__
((
aligned
(
16
)))
;
/* last frame info */
uint8_t
last_superframe
[
MAX_CODED_SUPERFRAME_SIZE
+
4
];
/* padding added */
int
last_bitoffset
;
...
...
@@ -1118,7 +1118,7 @@ static int wma_decode_block(WMADecodeContext *s)
for
(
ch
=
0
;
ch
<
s
->
nb_channels
;
ch
++
)
{
if
(
s
->
channel_coded
[
ch
])
{
FFTSample
output
[
BLOCK_MAX_SIZE
*
2
];
FFTSample
output
[
BLOCK_MAX_SIZE
*
2
]
__attribute__
((
aligned
(
16
)))
;
float
*
ptr
;
int
i
,
n4
,
index
,
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