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
dd1b9f7c
Commit
dd1b9f7c
authored
Nov 19, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adx: rename struct PREV to ADXChannelState
parent
3a83b246
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
adx.h
libavcodec/adx.h
+2
-2
adxdec.c
libavcodec/adxdec.c
+4
-2
adxenc.c
libavcodec/adxenc.c
+2
-1
No files found.
libavcodec/adx.h
View file @
dd1b9f7c
...
...
@@ -33,10 +33,10 @@
typedef
struct
{
int
s1
,
s2
;
}
PREV
;
}
ADXChannelState
;
typedef
struct
{
PREV
prev
[
2
];
ADXChannelState
prev
[
2
];
int
header_parsed
;
unsigned
char
dec_temp
[
18
*
2
];
int
in_temp
;
...
...
libavcodec/adxdec.c
View file @
dd1b9f7c
...
...
@@ -40,7 +40,8 @@ static av_cold int adx_decode_init(AVCodecContext *avctx)
/* 18 bytes <-> 32 samples */
static
void
adx_decode
(
short
*
out
,
const
unsigned
char
*
in
,
PREV
*
prev
)
static
void
adx_decode
(
short
*
out
,
const
unsigned
char
*
in
,
ADXChannelState
*
prev
)
{
int
scale
=
AV_RB16
(
in
);
int
i
;
...
...
@@ -73,7 +74,8 @@ static void adx_decode(short *out,const unsigned char *in,PREV *prev)
}
static
void
adx_decode_stereo
(
short
*
out
,
const
unsigned
char
*
in
,
PREV
*
prev
)
static
void
adx_decode_stereo
(
short
*
out
,
const
unsigned
char
*
in
,
ADXChannelState
*
prev
)
{
short
tmp
[
32
*
2
];
int
i
;
...
...
libavcodec/adxenc.c
View file @
dd1b9f7c
...
...
@@ -34,7 +34,8 @@
/* 18 bytes <-> 32 samples */
static
void
adx_encode
(
unsigned
char
*
adx
,
const
short
*
wav
,
PREV
*
prev
)
static
void
adx_encode
(
unsigned
char
*
adx
,
const
short
*
wav
,
ADXChannelState
*
prev
)
{
int
scale
;
int
i
;
...
...
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