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
5ce5dbc5
Commit
5ce5dbc5
authored
Jan 28, 2011
by
Alex Converse
Committed by
Mans Rullgard
Jan 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make ff_float_to_int16*_c() static.
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
e6288640
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
dsputil.c
libavcodec/dsputil.c
+2
-2
dsputil.h
libavcodec/dsputil.h
+0
-2
No files found.
libavcodec/dsputil.c
View file @
5ce5dbc5
...
...
@@ -3913,13 +3913,13 @@ static av_always_inline int float_to_int16_one(const float *src){
return
av_clip_int16
(
lrintf
(
*
src
));
}
void
ff_float_to_int16_c
(
int16_t
*
dst
,
const
float
*
src
,
long
len
){
static
void
ff_float_to_int16_c
(
int16_t
*
dst
,
const
float
*
src
,
long
len
){
int
i
;
for
(
i
=
0
;
i
<
len
;
i
++
)
dst
[
i
]
=
float_to_int16_one
(
src
+
i
);
}
void
ff_float_to_int16_interleave_c
(
int16_t
*
dst
,
const
float
**
src
,
long
len
,
int
channels
){
static
void
ff_float_to_int16_interleave_c
(
int16_t
*
dst
,
const
float
**
src
,
long
len
,
int
channels
){
int
i
,
j
,
c
;
if
(
channels
==
2
){
for
(
i
=
0
;
i
<
len
;
i
++
){
...
...
libavcodec/dsputil.h
View file @
5ce5dbc5
...
...
@@ -70,8 +70,6 @@ void ff_svq3_add_idct_c(uint8_t *dst, DCTELEM *block, int stride, int qp, int dc
void
ff_vector_fmul_window_c
(
float
*
dst
,
const
float
*
src0
,
const
float
*
src1
,
const
float
*
win
,
float
add_bias
,
int
len
);
void
ff_float_to_int16_c
(
int16_t
*
dst
,
const
float
*
src
,
long
len
);
void
ff_float_to_int16_interleave_c
(
int16_t
*
dst
,
const
float
**
src
,
long
len
,
int
channels
);
/* encoding scans */
extern
const
uint8_t
ff_alternate_horizontal_scan
[
64
];
...
...
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