Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
8d9fe002
Commit
8d9fe002
authored
Aug 22, 2015
by
Timothy Gu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmtconvert: Remove float_interleave*
They were not public or used anywhere.
parent
0aa9bbbc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
35 deletions
+0
-35
fmtconvert.c
libavcodec/fmtconvert.c
+0
-31
fmtconvert.h
libavcodec/fmtconvert.h
+0
-4
No files found.
libavcodec/fmtconvert.c
View file @
8d9fe002
...
@@ -51,34 +51,3 @@ av_cold void ff_fmt_convert_init(FmtConvertContext *c, AVCodecContext *avctx)
...
@@ -51,34 +51,3 @@ av_cold void ff_fmt_convert_init(FmtConvertContext *c, AVCodecContext *avctx)
if
(
ARCH_X86
)
ff_fmt_convert_init_x86
(
c
,
avctx
);
if
(
ARCH_X86
)
ff_fmt_convert_init_x86
(
c
,
avctx
);
if
(
HAVE_MIPSFPU
)
ff_fmt_convert_init_mips
(
c
);
if
(
HAVE_MIPSFPU
)
ff_fmt_convert_init_mips
(
c
);
}
}
/* ffdshow custom code */
void
float_interleave
(
float
*
dst
,
const
float
**
src
,
long
len
,
int
channels
)
{
int
i
,
j
,
c
;
if
(
channels
==
2
){
for
(
i
=
0
;
i
<
len
;
i
++
){
dst
[
2
*
i
]
=
src
[
0
][
i
]
/
32768
.
0
f
;
dst
[
2
*
i
+
1
]
=
src
[
1
][
i
]
/
32768
.
0
f
;
}
}
else
{
for
(
c
=
0
;
c
<
channels
;
c
++
)
for
(
i
=
0
,
j
=
c
;
i
<
len
;
i
++
,
j
+=
channels
)
dst
[
j
]
=
src
[
c
][
i
]
/
32768
.
0
f
;
}
}
void
float_interleave_noscale
(
float
*
dst
,
const
float
**
src
,
long
len
,
int
channels
)
{
int
i
,
j
,
c
;
if
(
channels
==
2
){
for
(
i
=
0
;
i
<
len
;
i
++
){
dst
[
2
*
i
]
=
src
[
0
][
i
];
dst
[
2
*
i
+
1
]
=
src
[
1
][
i
];
}
}
else
{
for
(
c
=
0
;
c
<
channels
;
c
++
)
for
(
i
=
0
,
j
=
c
;
i
<
len
;
i
++
,
j
+=
channels
)
dst
[
j
]
=
src
[
c
][
i
];
}
}
libavcodec/fmtconvert.h
View file @
8d9fe002
...
@@ -63,8 +63,4 @@ void ff_fmt_convert_init_ppc(FmtConvertContext *c, AVCodecContext *avctx);
...
@@ -63,8 +63,4 @@ void ff_fmt_convert_init_ppc(FmtConvertContext *c, AVCodecContext *avctx);
void
ff_fmt_convert_init_x86
(
FmtConvertContext
*
c
,
AVCodecContext
*
avctx
);
void
ff_fmt_convert_init_x86
(
FmtConvertContext
*
c
,
AVCodecContext
*
avctx
);
void
ff_fmt_convert_init_mips
(
FmtConvertContext
*
c
);
void
ff_fmt_convert_init_mips
(
FmtConvertContext
*
c
);
/* ffdshow custom code */
void
float_interleave
(
float
*
dst
,
const
float
**
src
,
long
len
,
int
channels
);
void
float_interleave_noscale
(
float
*
dst
,
const
float
**
src
,
long
len
,
int
channels
);
#endif
/* AVCODEC_FMTCONVERT_H */
#endif
/* AVCODEC_FMTCONVERT_H */
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