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
03e5d611
Commit
03e5d611
authored
Oct 29, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ra288: use memcpy() to copy decoded samples to output
parent
f50b6be5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ra288.c
libavcodec/ra288.c
+3
-3
No files found.
libavcodec/ra288.c
View file @
03e5d611
...
@@ -168,7 +168,7 @@ static int ra288_decode_frame(AVCodecContext * avctx, void *data,
...
@@ -168,7 +168,7 @@ static int ra288_decode_frame(AVCodecContext * avctx, void *data,
const
uint8_t
*
buf
=
avpkt
->
data
;
const
uint8_t
*
buf
=
avpkt
->
data
;
int
buf_size
=
avpkt
->
size
;
int
buf_size
=
avpkt
->
size
;
float
*
out
=
data
;
float
*
out
=
data
;
int
i
,
j
,
out_size
;
int
i
,
out_size
;
RA288Context
*
ractx
=
avctx
->
priv_data
;
RA288Context
*
ractx
=
avctx
->
priv_data
;
GetBitContext
gb
;
GetBitContext
gb
;
...
@@ -194,8 +194,8 @@ static int ra288_decode_frame(AVCodecContext * avctx, void *data,
...
@@ -194,8 +194,8 @@ static int ra288_decode_frame(AVCodecContext * avctx, void *data,
decode
(
ractx
,
gain
,
cb_coef
);
decode
(
ractx
,
gain
,
cb_coef
);
for
(
j
=
0
;
j
<
RA288_BLOCK_SIZE
;
j
++
)
memcpy
(
out
,
&
ractx
->
sp_hist
[
70
+
36
],
RA288_BLOCK_SIZE
*
sizeof
(
*
out
));
*
(
out
++
)
=
ractx
->
sp_hist
[
70
+
36
+
j
]
;
out
+=
RA288_BLOCK_SIZE
;
if
((
i
&
7
)
==
3
)
{
if
((
i
&
7
)
==
3
)
{
backward_filter
(
ractx
->
sp_hist
,
ractx
->
sp_rec
,
syn_window
,
backward_filter
(
ractx
->
sp_hist
,
ractx
->
sp_rec
,
syn_window
,
...
...
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