Anton Khirnov [Sun, 27 Oct 2013 11:22:52 +0000 (12:22 +0100)]
lavc: split slice and frame threading functions into separate files
Anton Khirnov [Sun, 27 Oct 2013 11:03:05 +0000 (12:03 +0100)]
pthread: drop avcodec_ prefixes from static functions
Mikulas Patocka [Sun, 3 Nov 2013 19:37:11 +0000 (20:37 +0100)]
x86: hpeldsp: Use PAVGB instruction macro where necessary
Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Sat, 2 Nov 2013 14:53:43 +0000 (15:53 +0100)]
build: Remove redundant OBJS declaration intended for programs
Vittorio Giovara [Sun, 3 Nov 2013 09:50:00 +0000 (10:50 +0100)]
rtmpproto: Reorder conditions to help dead code elimination
This makes sure that these branches are eliminated properly
with clang with optimizations disabled.
Vittorio Giovara [Sun, 27 Oct 2013 17:14:02 +0000 (18:14 +0100)]
ansi: fix possible use of uninitialized variables
Vittorio Giovara [Sun, 27 Oct 2013 17:05:19 +0000 (18:05 +0100)]
wtv: fix variable sign in format
Vittorio Giovara [Sat, 26 Oct 2013 23:45:18 +0000 (01:45 +0200)]
attributes: disable flatten on llvm/clang
Rudolf Polzer [Sat, 2 Nov 2013 10:57:25 +0000 (11:57 +0100)]
vf_scale: make the dar variable return the DAR.
Before, it just returned width/height. Correct is width/height*sar.
That way it is consistent with DAR as in probe output and setdar.
Signed-off-by: Rudolf Polzer <divverent@xonotic.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Rudolf Polzer [Sat, 2 Nov 2013 10:57:24 +0000 (11:57 +0100)]
vf_aspect: support variables in evaluating the aspect ratios
Example: -vf setsar=sar="sar*9/10"
Signed-off-by: Rudolf Polzer <divverent@xonotic.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diego Biurrun [Sat, 2 Nov 2013 11:00:42 +0000 (12:00 +0100)]
os_support: Add #endif comments for better readability
Vittorio Giovara [Mon, 28 Oct 2013 17:31:10 +0000 (18:31 +0100)]
mpeg4video_parser: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Martin Storsjö [Thu, 15 Aug 2013 13:06:52 +0000 (16:06 +0300)]
Add an HDS live fragmenting muxer
HDS fragments basically are FLV fragments wrapped in an ISO
media mdat atom.
Signed-off-by: Martin Storsjö <martin@martin.st>
Vittorio Giovara [Mon, 28 Oct 2013 17:31:07 +0000 (18:31 +0100)]
mpeg4video: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Luca Barbato [Thu, 31 Oct 2013 09:27:02 +0000 (10:27 +0100)]
flashsv: K&R formatting cosmetics
Also improve some log message wording/spelling.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Tue, 29 Oct 2013 13:45:48 +0000 (14:45 +0100)]
x86: vp8dsp: Split loopfilter code into a separate file
Diego Biurrun [Thu, 31 Oct 2013 19:14:37 +0000 (20:14 +0100)]
configure: Properly check for availability of -Wno-foo warning flags
For some weird reason gcc does not check if the -Wno disabling variants
of warning flags match existing warning flags. Instead it swallows them
silently. That is, unless other warning or error messages are generated,
because then - for some even more bizarre reason - a complaint about the
unknown disable warning flag is issued along with the error or warning
message.
Thus to check for the availability of a warning disabling option, one
needs to check for the enabling variant instead and then add the
disabling variant to CFLAGS.
Diego Biurrun [Thu, 31 Oct 2013 18:48:59 +0000 (19:48 +0100)]
configure: Split test_cflags function off from check_cflags
This is useful to test flags without directly adding them to CFLAGS.
Anton Khirnov [Thu, 31 Oct 2013 21:40:33 +0000 (22:40 +0100)]
lavf: do not use int to store an int64
Michael Niedermayer [Tue, 20 Aug 2013 21:18:48 +0000 (23:18 +0200)]
flashsv: Check diff_start diff_height values
Fix out of array accesses.
Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Luca Barbato [Tue, 29 Oct 2013 16:02:42 +0000 (17:02 +0100)]
flashsv: Refactor a little
Martin Storsjö [Wed, 30 Oct 2013 17:12:45 +0000 (19:12 +0200)]
rtspenc: Make sure BYE packets are sent before TEARDOWN
Also make sure the BYE packets are sent at all when using
TCP interleaved transport.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Wed, 30 Oct 2013 17:12:27 +0000 (19:12 +0200)]
rtpenc: Add a rtpflag option for sending BYE packets when finishing
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Wed, 30 Oct 2013 17:11:29 +0000 (19:11 +0200)]
rtpenc: Remove some superfluous parentheses
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Wed, 30 Oct 2013 17:09:30 +0000 (19:09 +0200)]
aviobuf: Handle a NULL buffer in avio_close_dyn_buf
This simplifies proper error handling in rtsp.c/rtspdec.c. When
broadcasting over RTSP in TCP mode, the AVIOContext is closed and
recreated for each sent packet, and if the recreation fails, we might
try to close a NULL buffer when freeing things at the end.
Previously, if recreating the buffer in rtspdec.c failed, this would
crash later due to trying to close a NULL buffer.
Signed-off-by: Martin Storsjö <martin@martin.st>
Anton Khirnov [Sun, 27 Oct 2013 10:54:34 +0000 (11:54 +0100)]
lavc: move FF_ASPECT_EXTENDED from avcodec.h to h263.h
It's for internal use only.
Anton Khirnov [Sun, 27 Oct 2013 10:42:05 +0000 (11:42 +0100)]
lavc: deprecate unused FF_BUG_OLD_MSMPEG4
Anton Khirnov [Sun, 27 Oct 2013 10:35:55 +0000 (11:35 +0100)]
lavc: schedule FF_BUG_AC_VLC for removal on the next major bump.
It has been deprecated/unused for about 10 years.
Anton Khirnov [Sun, 27 Oct 2013 10:28:51 +0000 (11:28 +0100)]
lavc: deprecate FF_DEBUG_VIS_*
Those flags have no effect since
37045e422903695e610cca6ecb753df643ab9380.
Anton Khirnov [Sun, 27 Oct 2013 10:26:17 +0000 (11:26 +0100)]
lavc: deprecate AVCodecContext.debug_mv
It has been unused since
37045e422903695e610cca6ecb753df643ab9380.
Anton Khirnov [Sun, 27 Oct 2013 10:22:56 +0000 (11:22 +0100)]
avplay: drop -vismv option which does not do anything anymore
Anton Khirnov [Sun, 27 Oct 2013 10:19:52 +0000 (11:19 +0100)]
lavc: deprecate FF_DEBUG_MV and remove all traces of its use
It has not been actually used since
37045e422903695e610cca6ecb753df643ab9380, when the broken vismv code was
removed.
Mickaël Raulet [Fri, 11 Oct 2013 19:43:58 +0000 (21:43 +0200)]
mpegts: Support HEVC demuxing
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Yusuke Nakamura [Thu, 3 Oct 2013 05:34:53 +0000 (14:34 +0900)]
matroskadec: Support HEVC demuxing
Yusuke Nakamura [Thu, 3 Oct 2013 05:03:53 +0000 (14:03 +0900)]
mov: Support HEVC demuxing
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Dirk Farin [Thu, 12 Sep 2013 07:14:45 +0000 (09:14 +0200)]
Add raw HEVC demuxer
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Guillaume Martres [Sun, 11 Aug 2013 10:53:01 +0000 (12:53 +0200)]
FATE: Add HEVC tests
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Guillaume Martres [Sun, 11 Aug 2013 07:02:07 +0000 (09:02 +0200)]
Add HEVC decoder
Initially written by Guillaume Martres <smarter@ubuntu.com> as a GSoC
project. Further contributions by the OpenHEVC project and other
developers, namely:
Mickaël Raulet <mraulet@insa-rennes.fr>
Seppo Tomperi <seppo.tomperi@vtt.fi>
Gildas Cocherel <gildas.cocherel@laposte.net>
Khaled Jerbi <khaled_jerbi@yahoo.fr>
Wassim Hamidouche <wassim.hamidouche@insa-rennes.fr>
Vittorio Giovara <vittorio.giovara@gmail.com>
Jan Ekström <jeebjp@gmail.com>
Anton Khirnov <anton@khirnov.net>
Martin Storsjö <martin@martin.st>
Luca Barbato <lu_zero@gentoo.org>
Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diego Biurrun <diego@biurrun.de>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
webp: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
vp8: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
vp56: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
vp3: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
txd: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
truemotion1: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
tiff: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
targa: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
svq1dec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
sunrast: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
sgidec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
rv34: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
rv10: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
ptx: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
pictordec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
pgssubdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
pcx: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
mpegvideo_parser: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
mpeg4video_parser: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
mpeg12dec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
mjpegdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
libvpxdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
libopenjpegdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
kgv1dec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
ivi_common: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
indeo3: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
h26[13]dec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
gifdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
g2meet: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
eatqi: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
eatgv: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
eatgq: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
eamad: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
eacmv: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
dvdsubdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
dvdec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
dpx: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
dnxhddec: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
dirac: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
cdxl: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
avs: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
ansi: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 09:02:26 +0000 (10:02 +0100)]
lavc/utils: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 08:39:14 +0000 (09:39 +0100)]
oggparsetheora: stop using deprecated avcodec_set_dimensions
Anton Khirnov [Sun, 27 Oct 2013 08:24:22 +0000 (09:24 +0100)]
lavc: replace avcodec_set_dimensions with ff_set_dimensions
avcodec_set_dimensions() is supposed to be an internal utility function,
there is no reason whatsoever for it to be public. Therefore deprecate
it.
John Stebbins [Fri, 11 Oct 2013 16:51:50 +0000 (09:51 -0700)]
h264: wait for initial complete frame before outputing frames
This can be optionally disabled whith the "output_corrupt" flags
option. When in "output_corrupt" mode, incomplete frames are
signalled through AVFrame.flags FRAME_FLAG_INCOMPLETE_FRAME.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
David Kment [Mon, 28 Oct 2013 00:38:02 +0000 (01:38 +0100)]
HNM4/HNM4A demuxer & video decoder
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Thu, 24 Oct 2013 00:24:05 +0000 (02:24 +0200)]
gradfun: x86: Factor out common code for some gradfun_filter_line() variants
Diego Biurrun [Wed, 23 Oct 2013 12:51:23 +0000 (14:51 +0200)]
avfilter: x86: K&R formatting cosmetics
Diego Biurrun [Tue, 29 Oct 2013 14:46:02 +0000 (15:46 +0100)]
build: Ensure that strip commands are run silently
Martin Storsjö [Tue, 29 Oct 2013 20:52:09 +0000 (22:52 +0200)]
lavf: Remove a now useless parameter to ffurl_register_protocol
This was added in
9b07a2dc02e9 as an ABI hack to allow older
code built with lavf 52 to register protocols even if the size
of the URLProtocol struct was increased. Later, registering
protocols from outside of lavf was removed and this workaround
isn't needed any longer since lavf 53.
This removes an unchecked malloc and a memory leak for the cases
when this workaround actually was used - which it hasn't since
lavf 53.
Signed-off-by: Martin Storsjö <martin@martin.st>
Anton Khirnov [Sun, 27 Oct 2013 08:36:12 +0000 (09:36 +0100)]
oggparsetheora: check av_mallocz result
Anton Khirnov [Sun, 27 Oct 2013 08:35:30 +0000 (09:35 +0100)]
oggparsetheora: return meaningful error codes
Anton Khirnov [Mon, 28 Oct 2013 09:50:53 +0000 (10:50 +0100)]
oggparsetheora: K&R cosmetics, reformat
Also typedef the private data struct and make its name consistent with
the rest of Libav.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Sun, 27 Oct 2013 08:56:00 +0000 (09:56 +0100)]
lavc: add error checking to apply_param_change.
Anton Khirnov [Sun, 27 Oct 2013 09:28:45 +0000 (10:28 +0100)]
libopenjpegdec: return meaningful error codes
Ingo Brückl [Thu, 24 Oct 2013 00:18:19 +0000 (02:18 +0200)]
build: remove pointless condition
$(STRIP) always expands to something, because it is one of the commands
in the BRIEF list. This renders the condition pointless.
Signed-off-by: Ingo Brückl <ib@wupperonline.de>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Tue, 22 Oct 2013 19:46:09 +0000 (20:46 +0100)]
h264: Check all allocations
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diego Biurrun [Fri, 25 Oct 2013 13:21:44 +0000 (15:21 +0200)]
fate.sh: Allow non-fast-forwards when updating sources
Anton Khirnov [Mon, 28 Oct 2013 14:10:21 +0000 (15:10 +0100)]
avconv: stop accessing AVStream.parser
It is private and must not be touched from outside of lavf.
Anton Khirnov [Mon, 28 Oct 2013 13:59:20 +0000 (14:59 +0100)]
lavc: add a dummy field to AVStream to preserve ABI compatibility for avconv
avconv abuses the API by accessing AVStream.parser (which is private).
Removing AVStream.reference_dts in
2ba68dd044ca8fc591139c05563840f546a9c0c0 breaks ABI compatibility for an
old avconv using a newer lavf. Fix this by adding a dummy field until
the next bump.
Derek Buitenhuis [Tue, 22 Oct 2013 19:22:13 +0000 (20:22 +0100)]
avio: Check for memory allocation failure of private data
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>