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
b8a5f621
Commit
b8a5f621
authored
Sep 07, 2008
by
Vitor Sessak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics: s/short/int16_t/
Originally committed as revision 15253 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b1547a78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mace.c
libavcodec/mace.c
+5
-5
No files found.
libavcodec/mace.c
View file @
b8a5f621
...
...
@@ -237,7 +237,7 @@ static const int16_t MACEtab4[][4] = {
#define QT_8S_2_16S(x) (((x) & 0xFF00) | (((x) >> 8) & 0xFF))
typedef
struct
ChannelData
{
shor
t
index
,
lev
,
factor
,
prev2
,
previous
,
level
;
int16_
t
index
,
lev
,
factor
,
prev2
,
previous
,
level
;
}
ChannelData
;
typedef
struct
MACEContext
{
...
...
@@ -263,7 +263,7 @@ static void chomp3(ChannelData *ctx, int16_t *output, uint8_t val,
const
int16_t
*
tab2
,
int
tab2_stride
,
uint32_t
numChannels
)
{
shor
t
current
;
int16_
t
current
;
current
=
tab2
[((
ctx
->
index
&
0x7f0
)
>>
4
)
*
tab2_stride
+
val
];
...
...
@@ -280,7 +280,7 @@ static void chomp6(ChannelData *ctx, int16_t *output, uint8_t val,
const
int16_t
*
tab2
,
int
tab2_stride
,
uint32_t
numChannels
)
{
shor
t
current
;
int16_
t
current
;
current
=
tab2
[((
ctx
->
index
&
0x7f0
)
>>
4
)
*
tab2_stride
+
val
];
...
...
@@ -321,7 +321,7 @@ static int mace3_decode_frame(AVCodecContext *avctx,
void
*
data
,
int
*
data_size
,
const
uint8_t
*
buf
,
int
buf_size
)
{
shor
t
*
samples
=
data
;
int16_
t
*
samples
=
data
;
MACEContext
*
ctx
=
avctx
->
priv_data
;
int
i
,
j
,
k
;
...
...
@@ -352,7 +352,7 @@ static int mace6_decode_frame(AVCodecContext *avctx,
void
*
data
,
int
*
data_size
,
const
uint8_t
*
buf
,
int
buf_size
)
{
shor
t
*
samples
=
data
;
int16_
t
*
samples
=
data
;
MACEContext
*
ctx
=
avctx
->
priv_data
;
int
i
,
j
;
...
...
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