Paul B Mahol
3977746036
doc/filters: add one more silenceremove example
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
47aaebd63e
avfilter/af_silenceremove: make size of window user configurable
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
b841fe002a
avfilter/af_silenceremove: lower number of operations in for loop
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Hendrik Leppkes
50401f5fb7
avcodec: properly check pkt_timebase for validity
...
Unset/invalid timebases have a zero numerator.
This makes the checks consistent with other timebase checks and fixes an
integer division by 0.
9 years ago
Michael Niedermayer
3c6781b48a
Revert "ffplay: Fix auto insertion point of rotation filter"
...
Revert requested by Balint Marton <cus@passwd.hu>
See: [FFmpeg-devel] ffplay: insertion point of the auto rotation filter - Github ticket #141
This reverts commit 9cc1e644f3
.
9 years ago
Michael Niedermayer
ca9e3cb3ce
avformat/qtpalette: Move ff_get_qtpalette() doxy to header
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Mats Peterson
7973603843
avformat/matroskadec: palettized QuickTime video in Matroska
...
Palettized QuickTime video in Matroska has hitherto not been recognized
whatsoever, and the "palette" used has been completely random.
The patch for matroskadec.c fixes this issue by adding a palette side
data packet in matroska_deliver_packet(), much in the same way as it's
done in mov.c.
Video samples for testing are available at
https://drive.google.com/open?id=0B3_pEBoLs0faWElmM2FnLTZYNlk .
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Mats Peterson
57631f1851
avformat: factor ff_get_qtpalette() out of mov.c
...
This consists mainly of moving the palette handling from
the mov_parse_stsd_video() function to a new ff_get_qtpalette() function
in the new file qtpalette.c, which will be shared by both matroskadec.c and
mov.c.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Joel Holdsworth
c48122d731
avformat/hls: Added http_proxy support
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Joel Holdsworth
9cdccd404b
avformat/hls: Remember to free HLSContext::headers
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Joel Holdsworth
b4eb1f29eb
avformat/http: Added http_proxy option
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
1809894b2a
avfilter/af_silenceremove: add peak detector
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
3215342121
avcodec/on2avc: Fix stability issues with scale_tab generation
...
This also simplifies the code
the resulting values are binary identical to what pow(10, i/10.0) produces
9 years ago
Reynaldo H. Verdejo Pinochet
baf4c489e5
avio: add detail to avio_printf() size warning
...
Previous "currently size is limited" didn't give away
much in terms of useful info.
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years ago
Reynaldo H. Verdejo Pinochet
b25ac3c999
ffserver: add a doctype heading to our HTML pages
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years ago
Reynaldo H. Verdejo Pinochet
daaa535867
ffserver: HTML encode msgs instead of blindly stripping chars out
...
Fixes weirdness like our "??filename? not found" 404.
None of the chars being used from the previously blacklisted
list needs to be scaped on an UTF-8 document context
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years ago
Reynaldo H. Verdejo Pinochet
0e5c1dc9a3
ffserver: make our 404 explicitly HTML5/UTF-8
...
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
9 years ago
Ganesh Ajjanagadde
c5b3c4c741
lavc/snowenc: replace rint by lrint
...
avoids float to int cast.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
5979c740f5
lavc/dds: replace rint by lrint
...
avoids float to int cast.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
e09edc62cd
lavc/texturedsp: replace rint by lrint
...
avoids float to int cast.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
3e2e303e4b
lavfi/avf_showspectrum: replace rint by lrint
...
avoids float to int cast.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
4e7cfefa16
lavfi/vf_hue: replace rint by lrint
...
avoids float to int cast.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Lou Logan
0779d54a21
doc/filters: note NetCDF dependency for sofalizer
...
Also add @url for link.
Signed-off-by: Lou Logan <lou@lrcd.com>
9 years ago
Ganesh Ajjanagadde
71af38954b
avcodec/on2avc: fix regression on icc since 5495c7f
...
Should fix the regression, and also speeds up table generation.
Tables tested on GNU/Linux+clang: they are identical to the ones prior
to 5495c7f
. ff_exp10 caused one slight change in one entry, 50000 became
50001 due to somewhat incorrect rounding.
Untested on ICC; passes FATE on GNU/Linux+gcc.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Michael Niedermayer
e70d56b8ad
avformat/img2dec: Reuse main IO context instead of reopening a single file
...
Fixes part of Ticket4849
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
e9e8782202
avformat/img2dec: Skip checking the input files existence if it has already been opened
...
Avoids a unneeded open
Fixes part of Ticket4849
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Ganesh Ajjanagadde
f16e4a0857
ffplay: replace rint by lrint
...
avoids the float to integer cast, and is slightly superior in terms of
rounding ("Dutch/Gauss rounding").
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
0abdcae5a9
lavc/acelp_pitch_delay: replace exp2f(M_LOG2_10 *x) by ff_exp10f(x)
...
Suggested-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
25ae086db2
lavc/wmaprodec: replace pow(10,x) by ff_exp10(x)
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
3343e4e607
lavc/wmaenc: replace pow(10,x) by ff_exp10(x)
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
62765c0014
lavc/wmadec: replace pow(10,x) by ff_exp10(x)
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
a0ea801dc3
lavc/opus: replace pow(10,x) by ff_exp10(x)
...
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
5495c7f2a3
lavc/on2avc: replace pow(10,x) by ff_exp10(x)
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
26ac80d235
lavc/imc: replace pow(10,x) by ff_exp10(x)
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
717eeb77e1
lavc/dcaenc: replace pow(10,x) by ff_exp10(x)
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
b0e28da37c
lavc/cngdec: replace pow(10,x) by ff_exp10(x)
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
cb3a994bb1
lavc/aacpsy: replace pow(10,x) by ff_exp10(x)
...
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
421679dbf7
lavfi/af_compand: replace pow(10,x) by ff_exp10(x)
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
6c360ca8a1
lavfi/af_volume: replace pow(10,x) by ff_exp10(x)
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
e0024b9e5f
lavfi/f_ebur128: replace pow(10,x) by ff_exp10(x)
...
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
86aa2e9f76
lavfi/vsrc_testsrc: replace pow(10,x) by ff_exp10(x)
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
0e9fe3e3c9
lavu/eval: replace pow(10,x) by ff_exp10(x)
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
48cd3d233b
lavc/libopusdec: replace pow(10,x) by ff_exp10(x)
...
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
11388b5a8f
lavu/internal: add ff_exp10
...
Fast, reasonably accurate 10^x. Alternative of detection of libm exp10 at configure
time is not worth the trouble, since it is anyway not POSIX or ISO C,
and currently only the GNU libm has it. Furthermore, GNU libm's variant
is ~ 2x slower, and is ironically not correctly rounded (2 ulp off) to justify all
that slowdown.
Reviewed-by: James Almer <jamrial@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
73616b1f21
lavu/libm,configure: remove exp10, exp10f detection
...
Subsequent commit introduces ff_exp10 instead.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Ganesh Ajjanagadde
5630ed5be6
lavu/libm: misc, minor changes
...
Addition of comments marking the end of ifdef blocks, correction of an
incorrect (at double precision) M_LN2, removal of an unnecessary undef.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Reto Kromer
b218ad4628
tools/bookmarklets: HTML code fixes
...
Minor HTML5 code changes.
Closes #167
9 years ago
Paul B Mahol
c9b99494be
avfilter/af_anequalizer: make cliping filter type actually useful
...
Previously result was ignored.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
c6e3b6a819
avfilter/af_anequalizer: use pow instead of exp10
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
56c7d2b4da
avfilter: add high-order parametric multiband equalizer filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago