]>
git.sesse.net Git - ffmpeg/log
Derek Buitenhuis [Wed, 27 Jan 2016 18:29:21 +0000 (18:29 +0000)]
Merge commit '
09f4822e4eaf61513b9092414450f3ae920ccd9d '
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 18:27:19 +0000 (18:27 +0000)]
Merge commit '
03ef89faf23c4851848208c9fe004cd9ef690cec '
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 18:23:31 +0000 (18:23 +0000)]
Merge commit '
4f22b138886e29f7fffa8c715673951e51be9f32 '
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 18:21:20 +0000 (18:21 +0000)]
Merge commit '
b06cb15b9d7928bf54b639c9f9f7658c2c38bfb9 '
One big NOOP.
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 17:45:50 +0000 (17:45 +0000)]
Merge commit '
c59fec783d6540dd96540b079d753ee4a6ad2e58 '
This is a NOOP.
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 17:20:21 +0000 (17:20 +0000)]
Merge commit '
39571e86cb0d55536f649210a025c54e440c632b '
This is a NOOP.
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 16:57:24 +0000 (16:57 +0000)]
Merge commit '
9cce011b1d2f66366f5d75a024c2a2f93dc2b589 '
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 16:56:22 +0000 (16:56 +0000)]
Merge commit '
521dc78366c6ea54b7b69426dab302a57231f81e '
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 16:54:57 +0000 (16:54 +0000)]
Merge commit '
fa66237b69c27befa788b100e73783e0f47fe1b7 '
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 16:53:23 +0000 (16:53 +0000)]
Merge commit '
62825236dba31a2240e25974a3ba41c1303e4edc '
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 16:48:47 +0000 (16:48 +0000)]
Merge commit '
81737f42c28858dad76a40284a35f7a64faa2fc7 '
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 16:47:46 +0000 (16:47 +0000)]
Merge commit '
46350db737a15910f468d30cf7beda16a4cc8332 '
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 16:46:11 +0000 (16:46 +0000)]
Merge commit '
e8bc642202c10beda1ea4e93ec8492b1e39805e5 '
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Wed, 27 Jan 2016 15:19:38 +0000 (15:19 +0000)]
avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT
Libav, for some reason, merged this as a public API function. This will
aid in future merges.
A define is left for backwards compat, just in case some person
used it, since it is in a public header.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Michael Niedermayer [Wed, 27 Jan 2016 16:13:10 +0000 (17:13 +0100)]
avcodec/jpeg2000dec: More completely check cdef
Fixes out of array read
Fixes: j2k-poc.bin
Found-by: Lucas Leong <wmliang.tw@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Wed, 27 Jan 2016 12:58:25 +0000 (13:58 +0100)]
avcodec/dvaudiodec: support cases when codec_tag is not set but block_align is
Support packets larger than block size, return single block size.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Wed, 27 Jan 2016 10:19:58 +0000 (11:19 +0100)]
avcodec/dvaudiodec: set channel layout
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Tue, 26 Jan 2016 22:27:04 +0000 (23:27 +0100)]
avfilter/af_afade: do not duplicate curve option
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Carl Eugen Hoyos [Wed, 27 Jan 2016 09:23:37 +0000 (10:23 +0100)]
lavc/mjpegdec: Set SAR even if no resolution is available.
Fixes ticket #4479.
Carl Eugen Hoyos [Wed, 27 Jan 2016 09:11:46 +0000 (10:11 +0100)]
lavc/h264: Show "Increasing reorder buffer" message with loglevel info.
See ticket #5138 for a sample.
Matt Oliver [Wed, 27 Jan 2016 06:16:43 +0000 (17:16 +1100)]
avformat/mux: Fix error when writing uncoded frames.
commit "avpacket: Deprecate av_dup_packet" broke the use
av_interleaved_write_uncoded_frame as any input uncoded frame has an
invalid packet size that will crash when av_packet_ref tries to allocate
'size' new memory. Since the packet is a temporary created within mux.c
itself it can be used directly without needing a new ref.
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
Andreas Cadhalpun [Thu, 21 Jan 2016 21:36:36 +0000 (22:36 +0100)]
svq1enc: fix out of bounds reads
level can be 5, but there are only four codebooks.
Fixes ubsan runtime error: index 5 out of bounds for type 'int8_t
[4][96]'
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Paul B Mahol [Tue, 26 Jan 2016 22:33:55 +0000 (23:33 +0100)]
avcodec/dvaudiodec: only stereo makes sense
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Mon, 25 Jan 2016 20:54:17 +0000 (21:54 +0100)]
avcodec: add Ulead DV audio decoder
Fixes #1564.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Tue, 26 Jan 2016 22:07:07 +0000 (23:07 +0100)]
avfilter/vf_zscale: make it possible to override input frame parameters
Mostly useful when there is no such parameters present at all.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Ivan [Mon, 25 Jan 2016 12:43:40 +0000 (14:43 +0200)]
avformat/flvenc: copyts in FLV muxer
The purpose of this patch is to preserve timestamps when using ffmpeg for publishing RTMP streams, e.g. ffmpeg -i rtmp://source/stream -f flv rtmp://target/stream.
There is a setting "copyts" for that purpose. Unfortunately it doesn't work with FLV muxer because it has its own timestamp correction which makes global setting "copyts" ineffective.
This patch removes timestamp correction in FLV muxer. This means FLV will rely on ffmpeg timestamp correction which makes it possible to use copyts.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Vittorio Gambaletta (VittGam) [Tue, 26 Jan 2016 14:13:09 +0000 (15:13 +0100)]
ffmpeg_opt: Allow -metadata option to set metadata on programs.
Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Vittorio Gambaletta (VittGam) [Tue, 26 Jan 2016 14:13:08 +0000 (15:13 +0100)]
ffmpeg_opt: Move the 'process manually set programs' block above 'process manually set metadata' in open_output_file().
Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Sun, 24 Jan 2016 02:42:46 +0000 (03:42 +0100)]
avutil/opt: check for and handle errors in av_opt_set_dict2()
Previously errors could result in random entries to be lost.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Hendrik Leppkes [Tue, 8 Dec 2015 10:53:54 +0000 (11:53 +0100)]
swscale: add P010 input support
Hendrik Leppkes [Tue, 8 Dec 2015 10:17:01 +0000 (11:17 +0100)]
avutil: add P010 pixel format
P010 is the 10-bit variant of NV12 (planar luma, packed chroma), using two
bytes per component to store 10-bit data plus 6-bit zeroes in the LSBs.
Andreas Cadhalpun [Thu, 21 Jan 2016 22:17:47 +0000 (23:17 +0100)]
vf_libopencv: add support for opencv 3
It dropped the old headers, but the replacements are already available
with opencv 2.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Marton Balint [Thu, 21 Jan 2016 22:57:50 +0000 (23:57 +0100)]
lavc/libzvbi-teletextdec: add support for setting background opacity
Signed-off-by: Marton Balint <cus@passwd.hu>
Marton Balint [Thu, 21 Jan 2016 21:50:46 +0000 (22:50 +0100)]
lavc/libzvbi-teletextdec: remove cmax variable
Use VBI_NB_COLORS instead.
Signed-off-by: Marton Balint <cus@passwd.hu>
Marton Balint [Thu, 21 Jan 2016 21:49:12 +0000 (22:49 +0100)]
lavc/libzvbi-teletextdec: use the built-in transparent color for transparent background
Signed-off-by: Marton Balint <cus@passwd.hu>
Andreas Cadhalpun [Mon, 25 Jan 2016 00:42:23 +0000 (01:42 +0100)]
build: use a link instead of changing current directory when compiling
If links don't work, fall back to using the full source path as was
previously done.
This should fix build failures with MSVC.
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Vittorio Gambaletta (VittGam) [Sun, 24 Jan 2016 05:06:36 +0000 (06:06 +0100)]
avformat/mpegtsenc: Fix multi program so that it supports adding the same stream to multiple programs.
Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Mats Peterson [Mon, 25 Jan 2016 17:09:18 +0000 (18:09 +0100)]
lavc/rawdec: Use 16-byte line alignment for AV_PIX_FMT_MONOWHITE
The line alignment for 1 bpp raw AV_PIX_FMT_MONOWHITE video (currently
used for AVI) was previously 4 bytes, which generated alignment warning
messages, not only for odd-width files. The alignment is now 16 bytes.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
James Almer [Mon, 25 Jan 2016 02:52:19 +0000 (23:52 -0300)]
avcodec/synth_filter: split off remaining code from dcadec files
Signed-off-by: James Almer <jamrial@gmail.com>
Paul B Mahol [Mon, 25 Jan 2016 15:54:53 +0000 (16:54 +0100)]
avcodec/dcaenc: do not change user requested bitrate
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Mon, 25 Jan 2016 15:03:17 +0000 (16:03 +0100)]
avcodec/dcaenc: return correct number of bytes in output packet
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Mon, 25 Jan 2016 15:06:03 +0000 (16:06 +0100)]
avcodec/utils: run ff_frame_thread_encoder_init() only for encoders
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Mon, 25 Jan 2016 02:42:45 +0000 (03:42 +0100)]
avcodec/rawdec: Check height and packet size
Avoids potential division by 0
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Mats Peterson [Mon, 25 Jan 2016 02:59:49 +0000 (03:59 +0100)]
lavc/rawdec: Use 16-byte line alignment for 1, 2, 4 and 8 bpp
This patch aligns the lines of 1 bpp depth for QuickTime, and 2, 4 and 8
bpp depths for AVI and QuickTime, on 16-byte boundaries. At the same
time, the packet row stride is properly catered for.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Mats Peterson [Tue, 19 Jan 2016 17:48:06 +0000 (18:48 +0100)]
avcodec/rawdec: initialize palette for mono
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
James Almer [Sun, 24 Jan 2016 23:30:33 +0000 (20:30 -0300)]
avcodec/webp: fix decoder dependencies
Signed-off-by: James Almer <jamrial@gmail.com>
Michael Niedermayer [Sun, 24 Jan 2016 19:07:48 +0000 (20:07 +0100)]
avformat/hls: Check that filename is not "" in probe before checking its extension
Possibly the check as a whole causes more problems than it helps, if so dont
hesitate to remove it
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Sun, 24 Jan 2016 19:47:49 +0000 (20:47 +0100)]
avcodec/flacenc: fix calculation of bits required in case of custom sample rate
Sample rate of 11025 takes 16 bits but previous code would pick only 8.
Fixes assertion failure.
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Timothy Gu [Sun, 24 Jan 2016 20:42:39 +0000 (12:42 -0800)]
Revert "decklink: Header cleanup"
This reverts commit
61fb70c3866b19dccf473ad4e5ede79d117e8e1c .
Reported in #5183 to break the build. Further investigation needed.
Paul B Mahol [Sun, 24 Jan 2016 18:57:56 +0000 (19:57 +0100)]
avfilter/vf_zoompan: fix pts handling
Now output pts have some sense.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sun, 24 Jan 2016 18:12:33 +0000 (19:12 +0100)]
avfilter/vf_zoompan: unbreak filtering with video input
Inserting fifo appears to be working solution to not get
filter_frame request we do not want.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Timothy Gu [Sun, 24 Jan 2016 17:45:11 +0000 (09:45 -0800)]
Changelog: Add entry on libquvi being removed
Timothy Gu [Sun, 24 Jan 2016 17:28:55 +0000 (09:28 -0800)]
configure: Maintain alphabetical order of components
This is not "pure" alphabetical order since some components are
intentionally kept together.
Paul B Mahol [Sun, 24 Jan 2016 10:38:15 +0000 (11:38 +0100)]
avfilter/vf_zoompan: rewrite so it doesn't cache all output frames
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Ronald S. Bultje [Thu, 21 Jan 2016 14:28:30 +0000 (09:28 -0500)]
lavfi: recognize GBR9-14P as RGB in ff_fill_rgba_map().
Kieran Kunhya [Sun, 24 Jan 2016 15:54:00 +0000 (15:54 +0000)]
avformat: Remove support for libquvi
libquvi has not been updated since 2013.
It also has a number of security issues.
Michael Niedermayer [Sun, 24 Jan 2016 15:15:24 +0000 (16:15 +0100)]
Print the whitelists if entities are not found on them
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 22 Jan 2016 23:35:46 +0000 (00:35 +0100)]
avformat: Document urls a bit
Spell-checked-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Timothy Gu [Wed, 2 Dec 2015 04:58:51 +0000 (20:58 -0800)]
decklink: Header cleanup
This commit cleans up the decklink files' header usage so that they pass
checkheaders.
Timothy Gu [Wed, 2 Dec 2015 04:55:37 +0000 (20:55 -0800)]
common.mak: Use CCFLAGS for assembly generation as well
CCFLAGS is equivalent to CPPFLAGS + CFLAGS, and it is already being used
by other make rules like %.i and %.o. Simplifies common.mak.
Timothy Gu [Wed, 2 Dec 2015 05:44:50 +0000 (21:44 -0800)]
avdevice: Mark decklink_common.h as unconditional SKIPHEADER
It is a C++ file, incompatible with the checkheaders infrastructure.
Clément Bœsch [Sun, 24 Jan 2016 13:41:00 +0000 (14:41 +0100)]
lavfi/pthread: fix perameters/parameters typo
Paul B Mahol [Sun, 24 Jan 2016 12:14:26 +0000 (13:14 +0100)]
avfilter: update some comments
start_frame is no more, samplesref argument is now frame argument.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Charlie Arnold [Sat, 23 Jan 2016 21:11:59 +0000 (13:11 -0800)]
build: fix msvc build
Fix configure to set DST_PATH to the Windows style path when building with MSVC
Fixes ticket #5180.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Andreas Cadhalpun [Sat, 23 Jan 2016 10:55:54 +0000 (11:55 +0100)]
build: fix make checkheaders in out-of-tree builds
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Michael Niedermayer [Sat, 23 Jan 2016 19:30:02 +0000 (20:30 +0100)]
fate/cabac: replace uninitialized bytes by random bytes
Fixes valgrind warning
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Sat, 23 Jan 2016 17:29:48 +0000 (18:29 +0100)]
avfilter/vf_convolution: Use av_clip_uint8()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Sat, 23 Jan 2016 17:28:47 +0000 (18:28 +0100)]
fate/ffmpeg: Fix colorkey test failure without samples
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Hendrik Leppkes [Fri, 22 Jan 2016 12:50:42 +0000 (13:50 +0100)]
dxva2_h264: fix reference field marking in long slice struct
Fixes artifacts in interlaced decoding on old Intel GPUs.
Michael Niedermayer [Sat, 23 Jan 2016 00:49:21 +0000 (01:49 +0100)]
avcodec/mpeg4videoenc: Use 64bit for time variables
Fixes assertion failure and integer overflow
Fixes: fc677bbea2c6f901763eb637b61fa5e2/signal_sigabrt_7ffff6ae7cb7_9556_dfd95f040a69f725d1b2f861bd491725.ivf
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Wed, 20 Jan 2016 14:25:32 +0000 (15:25 +0100)]
avformat/libquvi: Set default demuxer and protocol limitations
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Wed, 20 Jan 2016 10:10:27 +0000 (11:10 +0100)]
avformat/concat: Check protocol prefix
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Wed, 20 Jan 2016 15:49:43 +0000 (16:49 +0100)]
doc/demuxers: Document enable_drefs and use_absolute_path
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Fri, 22 Jan 2016 20:41:11 +0000 (21:41 +0100)]
avfilter/af_ladspa: accepts ' ' as command separator too
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Rostislav Pehlivanov [Fri, 22 Jan 2016 17:07:16 +0000 (17:07 +0000)]
diracdec: fix full range videos
Full range video had been broken by the introduction of the < 2U check
at the following line. The bitstream format kind of implies that the full
and limited ranges use different pix_fmts but that's incorrect since we
have the avctx->color_range flag. So adjust the pixel range index to
be mapped to the same pix_fmts as limited range index.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Paul B Mahol [Fri, 22 Jan 2016 16:54:44 +0000 (17:54 +0100)]
avfilter/vf_convolution: add timeline support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Fri, 22 Jan 2016 14:59:31 +0000 (15:59 +0100)]
fate: Add a small number of rawvideo in mov tests
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Perette Barella [Tue, 19 Jan 2016 18:22:13 +0000 (13:22 -0500)]
libavformat/tcp.c : add send_buffer_size and recv_buffer_size options
adds two new options that may be set via the dictionary:
- send_buffer_size
- recv_buffer_size
When present, setsockopt() is used with SO_SNDBUF and SO_RCVBUF to set
socket buffer sizes. I chose to make send and receive independent
because buffering requirements are often asymmetric.
Errors in setting the buffer size mean the socket will use its
default, so they are ignored.
There is no sanity checking on values, as the kernel/socket layers
already impose reasonable limits if asked for something crazy.
Rationale for enlarging receive buffers is to reduce susceptibility
to intermittent network delays/congestion. I added setting the send
buffer for symmetry.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Ganesh Ajjanagadde [Fri, 15 Jan 2016 18:51:03 +0000 (13:51 -0500)]
lavc/wmadec: replace pow by faster functions
Further speedups possible by getting rid of exp2f...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Ganesh Ajjanagadde [Fri, 15 Jan 2016 18:45:30 +0000 (13:45 -0500)]
lavc/opus_celt: replace pow(2,x) by exp2f(x)
Faster methods possible; since exponent is always a multiple of 1/8.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Ganesh Ajjanagadde [Fri, 15 Jan 2016 18:38:43 +0000 (13:38 -0500)]
lavc/atrac3plusdsp: change pow(2,x) to exp2f(x)
Much faster generation possible; but array is small so don't want to bloat
the binary.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Ganesh Ajjanagadde [Thu, 21 Jan 2016 02:52:40 +0000 (08:22 +0530)]
lavc/wma: add av_warn_unused_result to ff_wma_init
May help to prevent incidents like
19e456d48c90a1e3ceeb9e6241383384cc73dfdf .
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Michael Niedermayer [Fri, 22 Jan 2016 12:06:46 +0000 (13:06 +0100)]
fate: add 1 and 15BPP rawvideo in avi tests
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Fri, 22 Jan 2016 10:52:58 +0000 (11:52 +0100)]
avfilter: add convolution filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 21 Jan 2016 19:07:12 +0000 (20:07 +0100)]
avfilter/avf_showwaves: add logarithmic amplitude scaler
Signed-off-by: Paul B Mahol <onemda@gmail.com>
John Cox [Wed, 20 Jan 2016 17:59:30 +0000 (17:59 +0000)]
cabac_functions: Allow more functions to be overridden
Allow more of the cabac functions to be overridden and avoid generating any
code for unwanted refill functions.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
John Cox [Wed, 20 Jan 2016 17:56:30 +0000 (17:56 +0000)]
cabac_functions: Count zeros with ctz if it is fast
When refilling the low bit buffer after get_cabac count the bits with ctz
if the processor has a fast version.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
John Cox [Wed, 20 Jan 2016 17:48:30 +0000 (17:48 +0000)]
cabac: Ensure 2-byte cabac loads are on 2-byte boundry
Ensure that cabac init sets the bitstream pointer to an even value.
It is often faster to load from an aligned boundry
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Neil Birkbeck [Thu, 21 Jan 2016 18:34:29 +0000 (10:34 -0800)]
Add missing conversions from side data enum to name
Add names for recently added enums to av_frame_side_data_name.
Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Andreas Cadhalpun [Mon, 28 Dec 2015 21:00:39 +0000 (22:00 +0100)]
build: make out-of-tree builds bit-identical to in-tree builds
Previously the full source path was embedded inconsistently in the debug
information between in-tree/out-of-tree builds.
The 'vpath %.inc' becomes necessary for finding
libavfilter/all_channel_layouts.inc in out-of-tree builds.
The full source path is still embedded in the debug information, but
it's now independent of whether building in-tree or out-of-tree.
The biggest improvement of this patch is that gdb now always searches
for the path relative to the source directory. It still also searches
for the full path.
Previously it searched only for the full path in out-of-tree builds,
making the debug information generated by Debian's buildds rather hard
to use.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Michael Niedermayer [Thu, 21 Jan 2016 20:01:47 +0000 (21:01 +0100)]
avcodec/mjpegdec: Check for end for both bytes in unescaping
Fixes assertion failure
Fixes: c40c779601b77dc6e19aaea0b04b9751/signal_sigabrt_7ffff6ae7cb7_5769_b94f6ec70caecb2d3d76b4771b109ac1.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Geza Lore [Mon, 12 Oct 2015 12:13:00 +0000 (13:13 +0100)]
x86inc: Add debug symbols indicating sizes of compiled functions
Some debuggers/profilers use this metadata to determine which function a
given instruction is in; without it they get can confused by local labels
(if you haven't stripped those). On the other hand, some tools are still
confused even with this metadata. e.g. this fixes `gdb`, but not `perf`.
Currently only implemented for ELF.
Henrik Gramner [Fri, 16 Oct 2015 19:28:49 +0000 (21:28 +0200)]
x86inc: Avoid creating unnecessary local labels
The REP_RET workaround is only needed on old AMD cpus, and the labels clutter
up the symbol table and confuse debugging/profiling tools, so use EQU to
create SHN_ABS symbols instead of creating local labels. Furthermore, skip
the workaround completely in functions that definitely won't run on such cpus.
Note that EQU is just creating a local label when using nasm instead of yasm.
This is probably a bug, but at least it doesn't break anything.
Henrik Gramner [Thu, 15 Oct 2015 15:42:49 +0000 (17:42 +0200)]
x86inc: Simplify AUTO_REP_RET
cpuflags is never undefined any more, it's set to 0 instead.
Also fix an incorrect comment.
Henrik Gramner [Mon, 12 Oct 2015 19:55:11 +0000 (21:55 +0200)]
x86inc: Use more consistent indentation
Henrik Gramner [Mon, 12 Oct 2015 18:15:18 +0000 (20:15 +0200)]
x86inc: Preserve arguments when allocating stack space
When allocating stack space with a larger alignment than the known stack
alignment a temporary register is used for storing the stack pointer.
Ensure that this isn't one of the registers used for passing arguments.
Henrik Gramner [Sat, 16 Jan 2016 23:25:47 +0000 (00:25 +0100)]
x86inc: Improve FMA instruction handling
* Correctly handle FMA instructions with memory operands.
* Print a warning if FMA instructions are used without the correct cpuflag.
* Simplify the instantiation code.
* Clarify documentation.
Only the last operand in FMA3 instructions can be a memory operand. When
converting FMA4 instructions to FMA3 instructions we can utilize the fact
that multiply is a commutative operation and reorder operands if necessary
to ensure that a memory operand is used only as the last operand.
Henrik Gramner [Sun, 11 Oct 2015 20:31:53 +0000 (22:31 +0200)]
x86inc: Be more verbose in assertion failures
James Almer [Thu, 21 Jan 2016 03:02:09 +0000 (00:02 -0300)]
x86/intmath: disable sse av_clip functions when using ICC
It seems to miscompile them
Should fix fate-ra-288 and fate-twinvq
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Paul B Mahol [Tue, 19 Jan 2016 21:09:55 +0000 (22:09 +0100)]
avfilter/avf_showwaves: color support
Signed-off-by: Paul B Mahol <onemda@gmail.com>