Mark Thompson
fbec157ea0
lavc/hevc: Allow arbitrary garbage in bytestream as long as at least one NAL unit is found.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-19 12:25:24 +01:00
Benjamin Steffes
c411e90bc3
Fix start_frame handling in detelecine filter
...
Signed-off-by: Benjamin Steffes <benjaminst123@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-19 03:58:47 +01:00
Benjamin Steffes
be482e5165
Fix detelecine filter for patterns containing 1
...
Signed-off-by: Benjamin Steffes <benjaminst123@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-19 03:58:47 +01:00
Clément Bœsch
7af3f27008
lavf/srtdec: do not be strict wrt timing digit lengths
...
Fixes a sample with 3-length digits for the seconds reported by wm4.
2016-03-18 16:42:07 +01:00
Ganesh Ajjanagadde
bccc81dfa0
lavc/aacenc_utils: replace powf(x,y) by expf(logf(x), y)
...
This is ~2x faster for y not an integer on Haswell+GCC, and should
generally be faster due to the fact that anyway powf essentially does
this under the hood. Made an inline function in lavu/internal.h for this
purpose.
Note that there are some accuracy differences, that should generally be
negligible. In particular, FATE still passes on this platform.
Results in ~ 7% speedup in aac encoding with -march=native, Haswell+GCC.
before:
ffmpeg -i sin.flac -acodec aac -y sin_new.aac 6.05s user 0.06s system 104% cpu 5.821 total
after:
ffmpeg -i sin.flac -acodec aac -y sin_new.aac 5.67s user 0.03s system 105% cpu 5.416 total
This is also faster than an alternative approach that pulls in powf, gets rid of
the crufty NaN checks and other special cases, exploits knowledge about the intervals, etc.
This of course does not exclude smarter approaches; just suggests that
there would need to be significant work on this front of lower utility than
searches for hotspots elsewhere.
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
2016-03-18 07:47:25 -07:00
Rostislav Pehlivanov
d6e76dd132
vc2enc_dwt: remove outdated comment
...
Support for Haar was added a month or so ago.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-03-18 14:42:33 +00:00
Mats Peterson
d8a1633ee4
lavf/avidec: Add blurb regarding the skipping of xxpc entries in the index
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-18 13:47:43 +01:00
Rostislav Pehlivanov
f4b30beac0
vc2enc: increase the starting value of the size scaler
...
In some cases this caused the slice size rounding to generate invalid
slice sizes and overwrite some slices.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-03-18 11:55:48 +00:00
Paul B Mahol
93c6c52ad7
avfilter/vf_waveform: add subsampled input support for (a)color filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-18 11:08:32 +01:00
Michael Niedermayer
a7b8a6e704
avcodec/error_resilience: remove unneeded and disabled code
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-18 03:11:16 +01:00
Michael Niedermayer
5694b28211
avcodec/error_resilience: wait for previous frame to be available
...
This is possibly redundant but its more correct
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-18 03:10:16 +01:00
James Almer
488e6409df
libwebpenc_animencoder: add missing braces to struct initialization
...
The first member of the WebPAnimEncoderOptions struct is non scalar
Signed-off-by: James Almer <jamrial@gmail.com>
2016-03-17 21:46:06 -03:00
Michael Niedermayer
83df0a84a9
avcodec/motion_est_template: Fix map cache use in qpel_motion_search()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-17 16:59:37 +01:00
Michael Niedermayer
7660c135a3
avformat/segment: Fix "occured" typo
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-17 16:50:15 +01:00
James Almer
f875ba4873
libwebpenc_animencoder: print library messages in verbose log levels
...
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-03-17 11:15:09 -03:00
James Almer
626b6b769c
libwebpenc_animencoder: zero initialize the WebPAnimEncoderOptions struct
...
This zeroes the WebPAnimEncoderOptions.verbose field, silencing library info messages
printed to stderr.
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-03-17 11:13:59 -03:00
Michael Niedermayer
6b7ce0ea0d
avformat/avio: Fix unknown protocol handling
...
Fixes regression since bb8cc89b29
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-17 02:09:39 +01:00
Benjamin Steffes
06267afe1c
Fix detelecine filter for patterns like 3444 or 33333334.
...
Signed-off-by: Benjamin Steffes <benjaminst123@gmail.com>
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
2016-03-16 19:58:14 +01:00
Michael Niedermayer
50ef7361cb
avcodec/resample: Remove disabled and faulty code
...
Fixes Ticket5345
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-16 19:52:01 +01:00
Hendrik Leppkes
7d9e064cc1
configure: check for SEC_I_CONTEXT_EXPIRED before enabling SChannel
...
Fixes build on mingw32, which lacks this constant.
2016-03-16 15:31:21 +01:00
Hendrik Leppkes
c198295ded
dxva2_h264: fix size alignment asserts
...
Convert them to av_assert0 in the process
2016-03-16 13:14:24 +01:00
Hendrik Leppkes
c43d485811
matroskaenc: set the actual PCM bitdepth in the header
...
The actual bitdepth can be different to the storage format (ie. sample format).
Fixes the stored bitdepth for 24-bit formats like FLAC.
2016-03-16 12:52:35 +01:00
Matt Oliver
109dfed7fc
lavc/dxva2_h264: Fix incorrect assert statement.
...
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
2016-03-16 22:30:56 +11:00
Luca Barbato
73f3c8f73e
indeo2: Fix banding artefacts
...
Rename luma table to delta table and change how it is used.
CC: libav-stable@libav.org
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
(cherry picked from commit f8c34f4b8d
)
2016-03-16 11:32:51 +01:00
Luca Barbato
522ab0b9a9
indeo2data: K&R formatting cosmetics
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
(cherry picked from commit d4066a7024
)
2016-03-16 11:32:49 +01:00
Hendrik Leppkes
eae2d89bf7
hls: handle crypto in the protocol checks
...
Fixes issue 5248
2016-03-16 10:31:41 +01:00
Hendrik Leppkes
0d4b8a2c16
hls: read protocol options through the AVIOContext
...
This reverts commit 9f9ed79d4c
.
The hlsopts member was never set anywhere and always NULL, furthermore
the HLS demuxer needs to retrieve the proper options from the underlying
http protocol (cookies, user-agent, etc), so a dummy context won't help.
Instead, use the AVIOContext directly to access the options.
2016-03-16 10:31:36 +01:00
İsmail Dönmez
fa3eecf9ab
configure: Use lowercase includes/library names for schannel check.
...
Fixes cross-build on Linux with mingw-w64.
Reviewed-by: Reimar Döffinger
Reviewed-by: Hendrik Leppkes
2016-03-16 09:20:39 +01:00
Thomas Mundt
d0a9114f99
avfilter/vf_bwdif: Add yadif base information to copyright header
...
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-03-16 00:05:45 -03:00
Stefano Sabatini
7725210e71
lavf/segment: change type of increment_tc to BOOL
2016-03-15 17:50:00 +01:00
Martin Vignali
69638517d1
lavf/segment: add increment_tc option
...
For example you can split a file, keeping a continuous timecode between
each segment:
ffmpeg -i src.mov -timecode 10:00:00:00 -vcodec copy -f segment \
-segment_time 2 -reset_timestamps 1 -increment_tc 1 target_%03d.mov
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
2016-03-15 17:44:13 +01:00
Michael Niedermayer
7eedad946c
avcodec/mediacodec_sw_buffer: remove redundant article
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-15 15:11:57 +01:00
Matthieu Bouron
03a6ed83b0
lavc/mediacodec: remove stray empty lines
2016-03-15 10:33:16 +01:00
Matthieu Bouron
31fe3c4d23
lavc/mediacodec: fix codec_name leak
2016-03-15 10:30:51 +01:00
Paul B Mahol
a68d4bf235
avfilter/vf_waveform: add forgotten color and acolor filter to switch case
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-15 09:16:18 +01:00
Marton Balint
c3c7a879ba
avutil/dict: add warning to docs about invalidating existing entries when adding a new entry
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-03-15 00:55:16 +01:00
Marton Balint
a740263d7e
avutil/dict: do not realloc entries when deleting a non-existing item
...
Deleting a non-existing item should not invalidate existing entries returned
with av_dict_get.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-03-15 00:55:16 +01:00
Michael Niedermayer
652173f63f
avcodec/pthread_frame: Remove unused variable
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-15 00:51:58 +01:00
Marton Balint
67bef4cffa
avcodec/aactab: do not use floats for constants
...
This may improve the precision of the fixed point encoder/decoder for some
compilers and architectures.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-03-15 00:47:38 +01:00
Paul B Mahol
af5559ab67
avfilter/vf_waveform: add graticule for chroma and flat filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-14 23:12:43 +01:00
Michael Niedermayer
c34250178b
avfilter/af_sofalizer: Fix "warning: ISO C90 forbids mixed declarations and code"
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-03-14 22:40:38 +01:00
Carl Eugen Hoyos
f1a3677c0f
lavf/mxfdec: Fix Canopus essence element size.
2016-03-14 16:37:48 +01:00
Carl Eugen Hoyos
58fa694978
lavf/http: Add httpproxy to the default protocol whitelist.
2016-03-14 16:33:57 +01:00
Hendrik Leppkes
a38627be6d
avcodec/cbrt_data: include avutil/libm.h to unbreak compilation on systems without cbrt
2016-03-14 15:49:34 +01:00
Paul B Mahol
29d106e751
avfilter/vf_waveform: remove mirroring from chroma filter
...
It is not really useful.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-14 13:25:10 +01:00
Paul B Mahol
9f6e63f6f2
avfilter/vf_waveform: add >8 bit support for other filters
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-14 13:25:10 +01:00
Matthieu Bouron
33d69a9008
lavc/ffjni: remove use of private JniInvocation API to retreive the Java VM
...
Android N will prevent users from loading non-public APIs.
Users should only rely on the av_jni_set_java_vm function to set the
Java VM.
2016-03-14 10:05:33 +01:00
Paul B Mahol
370cecc1e8
avfilter/vf_vectorscope: less aggressive memory allocation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-13 20:07:18 +01:00
Paul B Mahol
55c872146d
avfilter/vf_vectorscope: process alpha at end
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-13 19:54:25 +01:00
Paul B Mahol
8097455929
avfilter/vf_vectorscope: copy frame props, mainly for bench filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-13 19:23:44 +01:00