]>
git.sesse.net Git - ffmpeg/log
Luca Barbato [Sat, 15 Apr 2017 12:55:33 +0000 (14:55 +0200)]
swscale: Convert the check check_image_pointers helper to a macro
Avoid warnings about types mismatch and make the code a little simpler.
Luca Barbato [Sat, 15 Apr 2017 12:39:45 +0000 (14:39 +0200)]
swscale: Do not shift negative values directly
It is undefined in C as reported:
warning: shifting a negative signed value is undefined
Paul B Mahol [Fri, 7 Apr 2017 18:09:22 +0000 (20:09 +0200)]
utvideodec: Support for gradient prediction
Introduced with utvideo 18.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Paul B Mahol [Fri, 23 Dec 2016 14:41:51 +0000 (15:41 +0100)]
utvideodec: Reuse the huffyuv add_left
~10% faster when simd is available.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Paul B Mahol [Sat, 3 Sep 2016 23:56:02 +0000 (01:56 +0200)]
utvideodec: Support ULY4 and ULH4
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Paul B Mahol [Mon, 10 Apr 2017 09:35:00 +0000 (11:35 +0200)]
utvideodec: Support UQRA and UQRG
Michael Niedermayer [Wed, 9 Nov 2016 23:02:50 +0000 (00:02 +0100)]
swscale: Add gbrap10 output
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Paul B Mahol [Fri, 10 Jun 2016 11:01:26 +0000 (13:01 +0200)]
swscale: Add input support for gbrap10 pixel format
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Fri, 10 Jun 2016 10:48:09 +0000 (12:48 +0200)]
pixfmt: Add gbrap10 pixel format
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Paul B Mahol [Mon, 10 Apr 2017 09:08:44 +0000 (11:08 +0200)]
utvideodec: Support UQY2
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Luca Barbato [Tue, 11 Apr 2017 23:46:30 +0000 (01:46 +0200)]
avformat: Free the internal codec context at the end
Avoid a use after free in avformat_find_stream_info.
CC: libav-stable@libav.org
Luca Barbato [Tue, 11 Apr 2017 10:11:59 +0000 (12:11 +0200)]
golomb: Simplify get_ur_golomb_jpegls
The loop always consumes the bit read and the new bitstream reader
can read 0 bits just fine.
Ganesh Ajjanagadde [Tue, 23 Feb 2016 04:21:58 +0000 (23:21 -0500)]
utvideodec: Prevent possible signed overflow
Doing slice_end - slice_start is unsafe and can lead to undefined behavior
until slice_end has been properly sanitized.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diego Biurrun [Tue, 21 Mar 2017 11:16:00 +0000 (12:16 +0100)]
fmvc: Add FATE tests
Paul B Mahol [Mon, 6 Feb 2017 08:17:29 +0000 (09:17 +0100)]
Add FM Screen Capture Codec decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Alexandra Hájková [Wed, 12 Apr 2017 07:29:44 +0000 (09:29 +0200)]
hevc: Add NEON 16x16 IDCT
The speedup vs C code is around 6-13x.
Signed-off-by: Martin Storsjö <martin@martin.st>
Anton Khirnov [Thu, 30 Mar 2017 14:56:28 +0000 (16:56 +0200)]
ac3_parser: add a public function for parsing the data required by the demuxer
Make the current semi-public avpriv_ac3_parse_header() private to lavc.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Fri, 31 Mar 2017 17:04:56 +0000 (19:04 +0200)]
thread: Define ff_mutex_* macros as stub functions when threads are disabled
Silences a bunch of "statement with no effect" warnings with threads disabled.
Andreas Unterweger [Mon, 10 Apr 2017 11:06:18 +0000 (13:06 +0200)]
examples: Fixed and extended Doxygen documentation
Added parameter descriptions for all functions
and converted in-function comments into regular
(non-Doxygen) comments.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Vittorio Giovara [Mon, 3 Apr 2017 19:58:15 +0000 (21:58 +0200)]
decode: Initialize ret before using it
libavcodec/decode.c:608:9: warning: variable 'ret' is
used uninitialized whenever 'if' condition is false
Vittorio Giovara [Tue, 4 Apr 2017 15:56:34 +0000 (17:56 +0200)]
filtfmts-test: Mark filter as const
libavfilter/tests/filtfmts.c:57:18: warning:
assigning to 'AVFilter *' (aka 'struct AVFilter *') from
'const AVFilter *' (aka 'const struct AVFilter *') discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
Vittorio Giovara [Wed, 5 Apr 2017 13:35:26 +0000 (15:35 +0200)]
lavfi: Drop unused and empty header file
This header was public but deprecated on 2013-04-11 (lavfi 3.8.0).
Luca Barbato [Fri, 7 Apr 2017 09:41:27 +0000 (11:41 +0200)]
matroska: Read only the data written in the scratch buffer
The private buffer is 20bytes but depending on the type only 12 bytes
are actually filled.
Sean McGovern [Thu, 30 Mar 2017 20:21:38 +0000 (16:21 -0400)]
mpeg4videodec: raise an error if sprite_trajectory.table is NULL
CC: libav-stable@libav.org
Bug-Id: 1012
Diego Biurrun [Tue, 21 Mar 2017 11:22:23 +0000 (12:22 +0100)]
configure: Better names for functions that sanitize input
Diego Biurrun [Tue, 14 Mar 2017 15:43:29 +0000 (16:43 +0100)]
mov: Move code shared with CAF to a separate file
Mark Thompson [Sat, 4 Mar 2017 23:57:37 +0000 (23:57 +0000)]
qsvenc: Allow use of hw_device_ctx to make the internal session
Mark Thompson [Sat, 4 Mar 2017 23:57:36 +0000 (23:57 +0000)]
qsvdec: Allow use of hw_device_ctx to make the internal session
Mark Thompson [Sat, 4 Mar 2017 23:57:35 +0000 (23:57 +0000)]
qsv: Add ability to create a session from a device
Mark Thompson [Sun, 19 Mar 2017 17:30:52 +0000 (17:30 +0000)]
doc: Add VAAPI encoders
Mark Thompson [Mon, 28 Nov 2016 23:54:57 +0000 (23:54 +0000)]
vaapi_encode: Add VP9 support
Mark Thompson [Mon, 9 Jan 2017 23:08:49 +0000 (23:08 +0000)]
vp9: Add bsf to fix reordering in raw streams
Takes a raw input stream containing frames with correct timestamps but
possibly out of order and inserts additional show-existing-frame
packets to correct the ordering.
Ronald S. Bultje [Mon, 29 Feb 2016 14:43:07 +0000 (09:43 -0500)]
vp9: Add bsf to merge superframes
From ffmpeg commit
2e6636aa87303d37b112e79f093ca39500f92364 .
Mark Thompson [Tue, 14 Mar 2017 00:39:57 +0000 (00:39 +0000)]
avconv: Flush output BSFs when encode reaches EOF
Before this, output bitstream filters would never see EOF and
therefore would not be able to flush any delayed packets.
Mark Thompson [Mon, 27 Feb 2017 21:29:46 +0000 (21:29 +0000)]
vf_deinterlace_vaapi: Add support for field rate output
In order to work correctly with the i965 driver, this also fixes the
direction of forward/backward references - forward references are
intended to be those from the past to the current frame, not from the
current frame to the future.
Mark Thompson [Thu, 30 Mar 2017 21:58:59 +0000 (22:58 +0100)]
pthread_frame: Propagate sw_pix_fmt across threads
Martin Storsjö [Wed, 29 Mar 2017 10:44:28 +0000 (13:44 +0300)]
libavutil: Make LOCAL_ALIGNED(xx be equal to LOCAL_ALIGNED_xx(
Previously, the former form always produced a manually aligned,
padded buffer, while the latter can use DECLARE_ALIGNED, if that
amount of stack alignment is supported.
libavutil/internal.h needs to include mem.h, since it uses
the DECLARE_ALIGNED macro.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Wed, 29 Mar 2017 10:43:40 +0000 (13:43 +0300)]
hevc: Avoid using LOCAL_ALIGNED for 4 byte alignment
The data types within the MvField struct themselves imply 4 byte alignment.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Fri, 24 Mar 2017 16:35:06 +0000 (17:35 +0100)]
takdec: Use ISO C printf conversion specifiers where appropriate
libavformat/takdec.c:144:20: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t'
Anton Khirnov [Wed, 29 Mar 2017 10:04:46 +0000 (12:04 +0200)]
dcadec: remove extra indirection
num_core_channels is always equal to s->audio_header.prim_channels,
neither one of those variables ever get changed.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Martin Storsjö [Tue, 28 Mar 2017 09:53:58 +0000 (12:53 +0300)]
hevcdec: Use LOCAL_ALIGNED_* for declaring local variables with alignment
Not all compilers can do alignment larger than the normal stack alignment
for variables on the stack. In these cases, the LOCAL_ALIGNED_* macros
produce the workaround alignment wrapper consisting of a padded array
and a pointer variable.
This fixes the hevc fate tests on RVCT/ARMCC after adding IDCT assembly
that actually assumes/relies on this alignment.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Tue, 28 Mar 2017 08:05:53 +0000 (11:05 +0300)]
arm: Always build the hevcdsp_init_arm.c file
The main hevcdsp.c file calls this init function if HAVE_ARM is set,
regardless of whether neon support is available or not.
This fixes builds where neon isn't supported by the build tools at all.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Tue, 21 Mar 2017 11:10:40 +0000 (12:10 +0100)]
jack: Drop support for old (2012) JACK versions
Mark Thompson [Thu, 23 Mar 2017 19:49:39 +0000 (19:49 +0000)]
hwcontext: Move NONE to the be the first member of AVHWDeviceType
Also use that to fix a warning in av_hwdevice_get_type_name().
Alexandra Hájková [Mon, 27 Mar 2017 07:52:55 +0000 (09:52 +0200)]
hevc: Add NEON 4x4 and 8x8 IDCT
Optimized by Martin Storsjö <martin@martin.st>.
The speedup vs C code is around 3.2-4.4x.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Fri, 24 Mar 2017 19:30:22 +0000 (20:30 +0100)]
configure: Disable inline assembly for PathScale compilers
These compilers pass the inline assembly check, but fail to compile
our inline assembly in various ways.
Sean McGovern [Fri, 24 Mar 2017 17:36:51 +0000 (13:36 -0400)]
nsvdec: don't ignore the return value of av_get_packet()
Fixes invalid reads with corrupted files.
CC: libav-stable@libav.org
Bug-Id: 1039
Ricardo Constantino [Mon, 20 Mar 2017 20:28:09 +0000 (20:28 +0000)]
rtmpproto: send swfverify value as swfurl if latter is unused
Replicates lavf/librtmp.c behavior in L145-152 and rtmpdump's
behavior with "--swfVfy <url>" passing the url to swfUrl.
Fixes bug 943.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diego Biurrun [Fri, 24 Mar 2017 19:24:08 +0000 (20:24 +0100)]
configure: Skip check for inline assembly capabilities when explicitly disabled
Otherwise inline assembly may get enabled when disabled on the command line.
Vittorio Giovara [Thu, 23 Mar 2017 09:39:11 +0000 (10:39 +0100)]
APIchanges: Update bump dates
Luca Barbato [Thu, 23 Mar 2017 11:20:50 +0000 (12:20 +0100)]
avplay: Use the named syntax for buffersrc arguments
Avoid confusion.
Vittorio Giovara [Wed, 15 Mar 2017 21:55:18 +0000 (17:55 -0400)]
vf_showinfo: Display spherical properties
Vittorio Giovara [Wed, 15 Mar 2017 21:39:53 +0000 (17:39 -0400)]
vf_showinfo: Simplify reporting stereo3d information
Vittorio Giovara [Tue, 14 Mar 2017 21:50:48 +0000 (17:50 -0400)]
spherical: Change types of bounding and pad to uint32_t
These values are defined to be 32bit in the specification,
so it makes more sense to store them as fixed width.
Based on a patch by Micahel Niedermayer <michael@niedermayer.cc>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Vittorio Giovara [Thu, 16 Mar 2017 19:30:58 +0000 (15:30 -0400)]
lavu: Drop deprecated av_dlog macro
Deprecated in 05/2015.
Vittorio Giovara [Mon, 5 Dec 2016 22:22:49 +0000 (17:22 -0500)]
lavu: Drop deprecated option type
Deprecated in 02/2014.
Vittorio Giovara [Mon, 5 Dec 2016 22:13:33 +0000 (17:13 -0500)]
lavu: Drop deprecated VDPAU pixel formats
Deprecated in 07/2013.
Vittorio Giovara [Thu, 16 Mar 2017 20:21:54 +0000 (16:21 -0400)]
lavc: Drop deprecated stream codec tag
Deprecated in 07/2015.
Vittorio Giovara [Thu, 16 Mar 2017 20:03:38 +0000 (16:03 -0400)]
lavc: Drop deprecated options moved to private contexts
Deprecated in 10/2014 and 07/2015.
Vittorio Giovara [Thu, 16 Mar 2017 19:56:59 +0000 (15:56 -0400)]
lavc: Drop deprecated time_base variable for decoding
Deprecated in 10/2015.
Vittorio Giovara [Thu, 16 Mar 2017 19:55:18 +0000 (15:55 -0400)]
lavc: Drop deprecated way of setting audio delay on encode
Deprecated in 08/2014.
Vittorio Giovara [Thu, 16 Mar 2017 19:51:56 +0000 (15:51 -0400)]
lavc: Drop deprecated global afd field
Deprecated in 08/2014.
Vittorio Giovara [Mon, 5 Dec 2016 22:08:15 +0000 (17:08 -0500)]
lavc: Drop deprecated avctx codec name
Deprecated in 04/2014.
Vittorio Giovara [Mon, 5 Dec 2016 20:57:18 +0000 (15:57 -0500)]
lavc: Drop deprecated codec flags
Deprecated between 04/2014 - 05/2015.
Vittorio Giovara [Mon, 5 Dec 2016 20:55:32 +0000 (15:55 -0500)]
lavc: Drop deprecated unused public members
Deprecated in 07/2014.
Vittorio Giovara [Mon, 5 Dec 2016 20:47:35 +0000 (15:47 -0500)]
lavc: Drop deprecated emu edge functionality
Deprecated in 01/2014.
Vittorio Giovara [Mon, 5 Dec 2016 20:45:20 +0000 (15:45 -0500)]
lavc: Drop deprecated av_fast_malloc() compatibility
Deprecated in 10/2013.
Vittorio Giovara [Mon, 5 Dec 2016 20:43:14 +0000 (15:43 -0500)]
lavc: Drop deprecated macroblock type symbols
Deprecated in 10/2013.
Vittorio Giovara [Mon, 5 Dec 2016 20:42:00 +0000 (15:42 -0500)]
lavc: Drop deprecated public symbols
qscale types and maximum number of bframes deprecated in 10/2013.
Negative linesizes deprecated in 11/2013.
xvidmmx deprecated in 08/2014.
Vittorio Giovara [Mon, 5 Dec 2016 20:41:20 +0000 (15:41 -0500)]
lavc: Drop deprecated error rate option
Deprecated in 10/2013.
Diego Biurrun [Wed, 7 Dec 2016 07:18:41 +0000 (08:18 +0100)]
lavc: Remove deprecated XvMC support hacks
Deprecated in 11/2013.
Vittorio Giovara [Mon, 5 Dec 2016 20:27:16 +0000 (15:27 -0500)]
lavc: Drop deprecated architectures symbols
Alpha deprecated in 11/2013.
Sh4 and sparc deprecated in 01/2014.
Vittorio Giovara [Mon, 5 Dec 2016 20:22:05 +0000 (15:22 -0500)]
lavc: Drop deprecated extended aspect ratio symbol
Deprecated in 10/2013.
Vittorio Giovara [Mon, 5 Dec 2016 20:19:58 +0000 (15:19 -0500)]
lavc: Drop deprecated workaround bugs options
Illegal ac_vlc and old msmpeg4 detection deprecated in 10/2013.
Vittorio Giovara [Mon, 5 Dec 2016 20:13:43 +0000 (15:13 -0500)]
lavc: Drop deprecated debug mv functionality
Deprecated in 10/2013.
Vittorio Giovara [Mon, 5 Dec 2016 20:11:06 +0000 (15:11 -0500)]
lavc: Drop deprecated way of setting codec dimensions
Deprecated in 10/2013.
Vittorio Giovara [Mon, 5 Dec 2016 19:33:00 +0000 (14:33 -0500)]
lavc: Drop deprecated voxware codec entry
Deprecated in 08/2013.
Vittorio Giovara [Mon, 5 Dec 2016 19:31:25 +0000 (14:31 -0500)]
lavc: Drop deprecated VDPAU buffer fields
Deprecated in 07/2013.
Vittorio Giovara [Mon, 5 Dec 2016 19:30:09 +0000 (14:30 -0500)]
lavc: Drop deprecated VDPAU codec capability
Deprecated in 07/2013.
Vittorio Giovara [Mon, 5 Dec 2016 19:28:30 +0000 (14:28 -0500)]
lavc: Drop deprecated lowres option
Deprecated in 04/2013.
Vittorio Giovara [Mon, 5 Dec 2016 19:27:30 +0000 (14:27 -0500)]
lavc: Drop deprecated missing sample log function
Deprecated in 01/2013.
Vittorio Giovara [Mon, 5 Dec 2016 19:24:57 +0000 (14:24 -0500)]
lavc: Drop deprecated chroma subsample function
Deprecated in 11/2012.
Vittorio Giovara [Mon, 5 Dec 2016 19:16:21 +0000 (14:16 -0500)]
lavf: Drop deprecated hint to set muxer timebase
Deprecated in 05/2014.
Vittorio Giovara [Mon, 5 Dec 2016 19:13:58 +0000 (14:13 -0500)]
lavf: Drop deprecated AVFract type and related field
Deprecated in 05/2014.
Vittorio Giovara [Mon, 5 Dec 2016 19:11:14 +0000 (14:11 -0500)]
lavf: Drop deprecated bitexact functionality
Deprecated in 05/2014.
Vittorio Giovara [Mon, 5 Dec 2016 18:58:30 +0000 (13:58 -0500)]
lavfi: Drop deprecated non-const filter retrieval
Deprecated in 10/2013.
Vittorio Giovara [Mon, 5 Dec 2016 18:42:27 +0000 (13:42 -0500)]
lavfi: Drop deprecated filter registration
Deprecated in 04/2013.
Vittorio Giovara [Mon, 5 Dec 2016 17:43:19 +0000 (12:43 -0500)]
lavfi: Drop deprecated filter initialization
Deprecated in 03/2013.
Vittorio Giovara [Mon, 5 Dec 2016 17:41:49 +0000 (12:41 -0500)]
lavfi: Drop deprecated functions to open a filter or a filterchain
Deprecated in 03/2013.
Vittorio Giovara [Mon, 5 Dec 2016 17:38:32 +0000 (12:38 -0500)]
lavfi: Drop deprecated way of passing options for a few filters
Deprecated in 02/2013.
Vittorio Giovara [Thu, 16 Mar 2017 19:37:51 +0000 (15:37 -0400)]
Bump major versions of all libraries
This disables everything that was deprecated at least 18 months ago.
Readjust the minimum API version as needed, postponing any
API-incompatible changes until the next bump.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Carl Eugen Hoyos [Fri, 25 Nov 2016 10:06:14 +0000 (11:06 +0100)]
flvdec: Set avg_frame_rate for video streams
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Tue, 21 Mar 2017 12:36:33 +0000 (14:36 +0200)]
libavutil: Hook up the rest of the gcc specific attributes to clang as well
Hook up all attributes that don't have a MSVC specific version at the
moment.
See
f637046d313 for details.
These don't seem to be critical for building with clang in MSVC mode
though, and thus haven't been hooked up until now.
These seem to build fine with as old clang as 3.3 at least.
(clang 3.3 disguises itself as gcc 4.2 normally, so all of these
have been used for clang before, except for av_cold.)
The clang version numbers themselves are useless for detecting what
attributes are available, since Apple's clang builds use a completely
different versioning (presenting itself as e.g. clang 8.0 instead
of 3.8).
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Tue, 21 Mar 2017 12:26:27 +0000 (14:26 +0200)]
libavutil: Define the noreturn attribute for clang in MSVC mode as well
This is a follow-up to
f637046d313 .
Without the noreturn attribute set, avconv_opt.c fails to build after
d2e6dd32a44 with the error "control may reach end of non-void function".
By making sure the noreturn attribute is set properly, this compiles
as intended.
Signed-off-by: Martin Storsjö <martin@martin.st>
Luca Barbato [Tue, 14 Mar 2017 09:15:30 +0000 (09:15 +0000)]
dca: Refactor dca_filter_channels() a little
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Luca Barbato [Tue, 14 Mar 2017 09:15:29 +0000 (09:15 +0000)]
dca: Validate the channel map
Having a mismatch between the number of channels in the stream and those
in the channel map will lead to a segfault or worse.
Bug-Id: 1016
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Konda Raju [Fri, 17 Mar 2017 04:10:05 +0000 (09:40 +0530)]
nvenc: Allow different const qps for I, P and B frames
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Luca Barbato [Tue, 14 Mar 2017 16:44:45 +0000 (17:44 +0100)]
rtsp: Move message parsing to a separate function
Make easier to handle the polling function before we implement
full threading support.
Luca Barbato [Tue, 14 Mar 2017 22:42:37 +0000 (23:42 +0100)]
configure: Do not treat JACK as a system library
JACK is not commonly installed and should not be picked up as a
dependency unless specifically requested.
Mark Thompson [Sun, 19 Mar 2017 16:25:37 +0000 (16:25 +0000)]
avconv: Document the -init_hw_device option