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
97508af2
Commit
97508af2
authored
Jun 06, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: add fminf() emulation
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a80342fe
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
configure
configure
+2
-0
libm.h
libavutil/libm.h
+5
-0
No files found.
configure
View file @
97508af2
...
...
@@ -1645,6 +1645,7 @@ MATH_FUNCS="
exp2
exp2f
expf
fminf
isinf
isnan
ldexpf
...
...
@@ -4635,6 +4636,7 @@ disabled crystalhd || check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersi
atan2f_args
=
2
ldexpf_args
=
2
powf_args
=
2
fminf_args
=
2
for
func
in
$MATH_FUNCS
;
do
eval
check_mathfunc
$func
\$
{
${
func
}
_args:-1
}
...
...
libavutil/libm.h
View file @
97508af2
...
...
@@ -82,6 +82,11 @@ static av_always_inline float cbrtf(float x)
#define exp2f(x) ((float)exp2(x))
#endif
/* HAVE_EXP2F */
#if !HAVE_FMINF
#undef fminf
#define fminf(x, y) ((float)fminf(x,y))
#endif
#if !HAVE_ISINF
static
av_always_inline
av_const
int
isinf
(
float
x
)
{
...
...
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