OSDN Git Service
Anton Khirnov [Thu, 19 Feb 2015 16:35:34 +0000 (17:35 +0100)]
qsv_api: fix building with libmfx disabled
Anton Khirnov [Thu, 19 Feb 2015 16:32:55 +0000 (17:32 +0100)]
configure: add missing h264_qsv hwaccel deps
Anton Khirnov [Tue, 10 Feb 2015 09:40:59 +0000 (10:40 +0100)]
lavc: add an Intel libmfx-based H.264 decoder
Based on the code by Luca Barbato <lu_zero@gentoo.org> and Yukinori
Yamazoe <drocon11@gmail.com>.
Anton Khirnov [Mon, 9 Feb 2015 13:41:50 +0000 (14:41 +0100)]
h264_parser: export video format and dimensions
Anton Khirnov [Sat, 7 Feb 2015 11:14:45 +0000 (12:14 +0100)]
pixfmt: add a pixel format for QSV hwaccel
Himangi Saraogi [Thu, 19 Feb 2015 07:14:19 +0000 (12:44 +0530)]
rv40: Return more meaningful error codes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Derek Buitenhuis [Tue, 17 Feb 2015 22:04:53 +0000 (17:04 -0500)]
libx265: Add crf private option
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Tue, 17 Feb 2015 22:04:51 +0000 (17:04 -0500)]
libx265: Reduce the scope of some variables
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Vittorio Giovara [Thu, 12 Feb 2015 16:04:58 +0000 (11:04 -0500)]
riff: Support QT RLE Animation in avi ('rle ' FourCC)
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Vittorio Giovara [Tue, 10 Feb 2015 19:33:24 +0000 (14:33 -0500)]
riff: Support ProRes in avi (APCH fourcc)
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Himangi Saraogi [Sun, 15 Feb 2015 23:41:08 +0000 (05:11 +0530)]
wmv2: Return meaningful error codes
Himangi Saraogi [Sun, 15 Feb 2015 23:58:45 +0000 (05:28 +0530)]
qdm2: Return meaningful error codes
Himangi Saraogi [Tue, 10 Feb 2015 18:57:35 +0000 (00:27 +0530)]
libxvid: Return meaningful error messages
Himangi Saraogi [Tue, 10 Feb 2015 22:07:40 +0000 (03:37 +0530)]
aac_adtstoasc_bsf: Check extradata memory allocation
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Vittorio Giovara [Mon, 2 Feb 2015 19:53:51 +0000 (20:53 +0100)]
avpacket: Check buffer reference
CC: libav-stable@libav.org
Bug-Id: CID
1267889
Vittorio Giovara [Mon, 2 Feb 2015 00:57:15 +0000 (01:57 +0100)]
vorbisdec: Check memory allocations
Vittorio Giovara [Mon, 2 Feb 2015 00:57:14 +0000 (01:57 +0100)]
dvdsubdec: Check memory allocations
Federico Tomassetti [Sun, 15 Feb 2015 19:44:51 +0000 (19:44 +0000)]
swscale: Check memory allocations
CC: libav-stable@libav.org
Bug-Id: CID
1267888 / CID
1267890
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Hugo Beauzée-Luyssen [Sun, 1 Feb 2015 18:19:47 +0000 (19:19 +0100)]
nutdec: Check memory allocations
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Hugo Beauzée-Luyssen [Sun, 1 Feb 2015 18:19:45 +0000 (19:19 +0100)]
movenc: Check memory allocations
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Hugo Beauzée-Luyssen [Sun, 1 Feb 2015 18:19:46 +0000 (19:19 +0100)]
rmdec: Check memory allocations from ff_rm_alloc_rmstream()
Bug-Id: CID
1257835
Vittorio Giovara [Fri, 6 Feb 2015 18:38:44 +0000 (18:38 +0000)]
dct-test: Fix initialization syntax
Related to "warning: suggest braces around initialization of subobject".
Vittorio Giovara [Thu, 4 Dec 2014 19:09:40 +0000 (19:09 +0000)]
lavf: Document the codec context initialization
During remuxing avcodec_copy_context() is discouraged as certain fields
(such as codec_tag) could reflect invalid values between input and
output contextes.
Vittorio Giovara [Thu, 4 Dec 2014 19:56:38 +0000 (19:56 +0000)]
lavc: Document interaction between avcodec_open2() and decoding routines
Vittorio Giovara [Wed, 4 Feb 2015 14:21:01 +0000 (14:21 +0000)]
avplay: Check format allocation inside decode_thread()
CC: libav-stable@libav.org
Bug-Id: CID
1265718
Vittorio Giovara [Wed, 4 Feb 2015 14:20:59 +0000 (14:20 +0000)]
avplay: Check frame allocation inside video_thread()
CC: libav-stable@libav.org
Bug-Id: CID
1267893
Vittorio Giovara [Wed, 4 Feb 2015 14:21:00 +0000 (14:21 +0000)]
avconv: Check rc_override memory allocation
CC: libav-stable@libav.org
Bug-Id: CID
1265719
Vittorio Giovara [Wed, 4 Feb 2015 14:20:58 +0000 (14:20 +0000)]
graphparser: Check av_get_token() memory error
CC: libav-stable@libav.org
Bug-Id: CID
1267891
Vittorio Giovara [Tue, 3 Feb 2015 15:40:34 +0000 (15:40 +0000)]
matroskaenc: Validate chapter start and end times
CC: libav-stable@libav.org
Bug-Id: CID
1265717
Diego Biurrun [Mon, 16 Feb 2015 09:43:07 +0000 (10:43 +0100)]
dca: Remove separate header for DCA ExSS
There is no point in having a separate header for a single declaration.
Himangi Saraogi [Tue, 10 Feb 2015 14:06:51 +0000 (19:36 +0530)]
bktr: Use av_strerror and propagate error codes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diego Biurrun [Sun, 15 Feb 2015 19:03:03 +0000 (20:03 +0100)]
dca: Move data tables from a header to an object file
This allows sharing them with the DCA XLL extension w/o duplication.
Diego Biurrun [Sun, 15 Feb 2015 19:03:02 +0000 (20:03 +0100)]
dca: Add array sizes to array declarations
Peter Meerwald [Sun, 15 Feb 2015 11:21:25 +0000 (12:21 +0100)]
g722: Add ARM NEON implementation for g722_apply_qmf()
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
Peter Meerwald [Sun, 15 Feb 2015 11:21:24 +0000 (12:21 +0100)]
g722: Split out computation of band->s_zero and unroll code
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
Peter Meerwald [Sun, 15 Feb 2015 11:21:23 +0000 (12:21 +0100)]
g722: Unroll g722_apply_qmf()
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
Peter Meerwald [Sun, 15 Feb 2015 11:21:22 +0000 (12:21 +0100)]
g722: Reduce number of pointers passed to g722_apply_qmf() function
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
Peter Meerwald [Sun, 15 Feb 2015 11:21:21 +0000 (12:21 +0100)]
g722: Split out g722_qmf_apply() function into g722dsp.c
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
Yusuke Nakamura [Tue, 27 Jan 2015 10:15:37 +0000 (19:15 +0900)]
mov: Change DTS-based seek into CTS-based seek.
CTS-based seek is reasonable since player requests frames in output order
not coded order.
This change fixes seek to a keyframe within consecutive keyframes.
Let's say P[0|-1] and P[1|0], here x and y inside [x|y] are PTS and DTS
respectively, and both two frames are a keyframe. If you try to seek on
PTS=0, i.e. P[0|-1], you'll get P[1|0] if the demuxer is DTS based. This
is obviously undesirable.
Signed-off-by: Martin Storsjö <martin@martin.st>
Daniel Moran [Wed, 4 Feb 2015 03:57:49 +0000 (22:57 -0500)]
xcbgrab: Use the correct geometry for the region highlight
The feature is implemented using a transparent window and drawing
inside it a rectangle filling the whole window to highlight it.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Luca Barbato [Sat, 14 Feb 2015 15:15:37 +0000 (16:15 +0100)]
ape: Use the proper variable type
Avoid an unsigned underflow.
Bug-Id:
1041122
CC: libav-stable@libav.org
Federico Tomassetti [Sat, 14 Feb 2015 16:14:51 +0000 (16:14 +0000)]
ogg: check memory allocations
Bug-Id: CID
1257795
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Luca Barbato [Sat, 14 Feb 2015 00:45:31 +0000 (01:45 +0100)]
rtp: h264: Drop the asserts
Luca Barbato [Fri, 13 Feb 2015 22:38:14 +0000 (23:38 +0100)]
rtp: h264: Move FU-A NAL parsing to a function
Luca Barbato [Fri, 13 Feb 2015 22:38:14 +0000 (23:38 +0100)]
rtp: h264: Move STAP-A NAL parsing to a function
Luca Barbato [Fri, 13 Feb 2015 22:38:14 +0000 (23:38 +0100)]
rtp: h264: Move parse_sprop_parameter_sets parsing to a function
Luca Barbato [Fri, 13 Feb 2015 22:38:14 +0000 (23:38 +0100)]
rtp: h264: Move profile_level_id parsing to a function
Luca Barbato [Tue, 25 Nov 2014 22:38:43 +0000 (23:38 +0100)]
xcbgrab: Correctly make shm optional
The segment field in the struct has to be conditionally build
as well.
Luca Barbato [Tue, 25 Nov 2014 22:38:17 +0000 (23:38 +0100)]
xcbgrab: Check for xcb-shape
It is required.
Anton Khirnov [Thu, 12 Feb 2015 20:00:04 +0000 (21:00 +0100)]
FATE: add a test for the SVQ1 header byte swapping
Anton Khirnov [Thu, 12 Feb 2015 20:10:19 +0000 (21:10 +0100)]
changelog: mention DXVA/HEVC and AAC ELD480
Diego Biurrun [Thu, 5 Feb 2015 16:39:44 +0000 (17:39 +0100)]
vdpau: Adjust necessary #includes for vdpau_internal.h
Diego Biurrun [Fri, 6 Feb 2015 11:03:46 +0000 (12:03 +0100)]
mov: Fix compilation with DEBUG enabled
Diego Biurrun [Mon, 22 Sep 2014 16:05:40 +0000 (18:05 +0200)]
dca: Move all tables into dcadata.h
Diego Biurrun [Mon, 22 Sep 2014 09:37:34 +0000 (11:37 +0200)]
dca: Remove trace debugging code
Diego Biurrun [Mon, 22 Sep 2014 09:24:07 +0000 (11:24 +0200)]
dca: Return more informative error codes
Diego Biurrun [Mon, 22 Sep 2014 05:36:08 +0000 (07:36 +0200)]
dca: Split code for handling the EXSS extension off into a separate file
Diego Biurrun [Mon, 22 Sep 2014 09:02:13 +0000 (11:02 +0200)]
Don't anonymously typedef structs
Diego Biurrun [Mon, 22 Sep 2014 09:01:31 +0000 (11:01 +0200)]
avcodec: Don't anonymously typedef structs
Diego Biurrun [Mon, 22 Sep 2014 07:19:33 +0000 (09:19 +0200)]
avformat: Don't anonymously typedef structs
Himangi Saraogi [Fri, 13 Feb 2015 18:40:49 +0000 (00:10 +0530)]
vp56: Return meaningful error codes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Peter Meerwald [Mon, 9 Feb 2015 09:44:24 +0000 (10:44 +0100)]
hevc: Use generic av_clip function, not C implementation
hevc seems to be the only place where the C implementation
of the av_clip function is explicitly selected, precluding
platform-specific optimizations
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Thu, 12 Feb 2015 20:20:46 +0000 (21:20 +0100)]
doc/APIchanges: fill in missing dates and hashes
Also, move a misplaced block to the right position.
wm4 [Fri, 6 Feb 2015 13:53:40 +0000 (14:53 +0100)]
lavf: move internal fields from public to internal context
This is not an API change; the fields were explicitly declared private
before.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Wed, 4 Feb 2015 11:37:01 +0000 (12:37 +0100)]
mpegts: relax restrictions on matching the packet start in read_header
analyze() is currently called both when probing and from read_header().
It determines the packet start by looking for the sync byte, followed by
unset Transport Error Indicator and valid adaptation_field_control.
This makes sense to do when probing, but once we already know the format
is MPEG-TS, it is counterproductive to be so strict -- e.g. in some
files the TEI might be set and analyze() might get called with a smaller
buffer than the one used for probing, resulting in a failure.
wm4 [Fri, 6 Feb 2015 13:53:39 +0000 (14:53 +0100)]
lavf: remove unused code
Nothing uses it, and it provides no public API.
Archeological finds:
Commit
101036adb9 added the API.
Commit
a8dd8dc6e9 made mpegts.c use it.
Commit
af8aae3fa3 disabled it by default in mpegts.c.
Commit
ae2bb52cd2 removed all uses of this from mpegts.c.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Fri, 14 Nov 2014 10:41:15 +0000 (11:41 +0100)]
frame: clarify buf documentation
Mention explicitly that the array must be filled contiguously.
Luca Barbato [Thu, 29 Jan 2015 00:17:43 +0000 (01:17 +0100)]
oma: Report a timestamp
Reported-By: jb@videolan.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Hendrik Leppkes [Tue, 3 Feb 2015 21:39:45 +0000 (22:39 +0100)]
dxva2_hevc: properly fill the scaling list structure
The scaling list can be specified in either the SPS or PPS.
Additionally, compensate for the diagonal scan permutation applied
in the decoder.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Alex Converse [Wed, 28 Jan 2015 01:54:03 +0000 (17:54 -0800)]
fate: Add a test for AAC ELD480.
The source is er_eld_2100np_48_ep0.mp4 from the official test set.
Reimar Döffinger [Mon, 9 Apr 2012 19:19:30 +0000 (21:19 +0200)]
aacsbr: silence message for SBR extension "padding".
Some files contain a few additional, all-0 bits.
Check for that case and don't print incorrect "not supported"
message.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Alex Converse <alex.converse@gmail.com>
Alex Converse [Thu, 22 Jan 2015 05:51:54 +0000 (21:51 -0800)]
aacdec: Support for ER AAC ELD 480.
Based in part on work from Niel van der Westhuizen <espes@pequalsnp.com>.
Niel van der Westhuizen [Thu, 22 Jan 2015 05:25:27 +0000 (21:25 -0800)]
aacdec: Tables for length 480 AAC ELD.
Niel van der Westhuizen [Thu, 22 Jan 2015 05:24:23 +0000 (21:24 -0800)]
aacdec: Support for ER AAC in LATM
Alex Converse [Thu, 22 Jan 2015 05:49:29 +0000 (21:49 -0800)]
aacdec: Refactor aac_er_decode_frame.
Alex Converse [Thu, 22 Jan 2015 05:35:53 +0000 (21:35 -0800)]
aacdec: Refactor decode_ics_info.
Luca Barbato [Mon, 2 Feb 2015 01:39:00 +0000 (02:39 +0100)]
r3d: Fix pos type
avio_tell can return a negative number.
Bug-Id: CID
1265715
CC: libav-stable@libav.org
Vittorio Giovara [Mon, 2 Feb 2015 06:21:30 +0000 (07:21 +0100)]
tta: Fix framepos and start_offset types
Also propagate errors.
CC: libav-stable@libav.org
Bug-Id: CID
1238812
Luca Barbato [Sun, 1 Feb 2015 01:02:05 +0000 (02:02 +0100)]
libopencv: Check kernel_str life cycle
The string might or might not be set depending if there
are args and in case of error it must be freed nonetheless.
CC: libav-stable@libav.org
Bug-Id: CID 739878 / CID 739882
Luca Barbato [Mon, 2 Feb 2015 01:22:34 +0000 (02:22 +0100)]
svq1dec: Validate the stages value strictly
It can be less than -1.
Bug-Id: CID
1194397 / CID
1194398
CC: libav-stable@libav.org
Michael Niedermayer [Tue, 27 Jan 2015 15:32:54 +0000 (15:32 +0000)]
svq1enc: correctly handle memory error and allocations
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Carl Eugen Hoyos [Tue, 27 Jan 2015 15:32:56 +0000 (15:32 +0000)]
isom: Decode Prores 4444 XQ with the existing Prores decoder
The frames seem to contain a higher bitrate which our decoder is
able to handle.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Hendrik Leppkes [Tue, 3 Feb 2015 14:58:50 +0000 (14:58 +0000)]
mov: Implement parsing of the "HandlerName" from the MP4 HDLR atom
This atom typically is used for a track title. The handler name is stored
as a Pascal string in the QT specs (first byte is the length of the string),
so do not export it.
A second length check based on the first character is added to avoid
overwriting an already specified handler_name (it happens with YouTube
videos for instance, the handler_name get masked), or specifying an
empty string metadata.
The Pascal string fix and the second length check are written
by Clément Bœsch <clement.boesch@smartjog.com>.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diego Biurrun [Tue, 3 Feb 2015 08:53:00 +0000 (09:53 +0100)]
siff: Return more meaningful error values
Diego Biurrun [Tue, 3 Feb 2015 08:52:59 +0000 (09:52 +0100)]
siff: K&R formatting cosmetics
Diego Biurrun [Mon, 19 Jan 2015 10:12:23 +0000 (11:12 +0100)]
Ignore generated file tools/sidxindex.
Diego Biurrun [Sun, 1 Feb 2015 10:08:17 +0000 (11:08 +0100)]
opus: Factor out imdct15 into a standalone component
It will be reused by the AAC decoder.
Martin Storsjö [Sun, 1 Feb 2015 15:24:35 +0000 (17:24 +0200)]
configure: Add a dependency on vc1_decoder from vc1_parser
This fixes builds with vc1_parser enabled without vc1_decoder. All
the vc1_decoder object files were included in the vc1_parser line
in libavcodec/Makefile before, but architecture specific object files
for vc1_decoder were not.
Signed-off-by: Martin Storsjö <martin@martin.st>
Rémi Denis-Courmont [Mon, 26 Jan 2015 19:17:31 +0000 (21:17 +0200)]
mem: fix pointer pointer aliasing violations
This uses explicit memory copying to read and write pointer to pointers
of arbitrary object types. This works provided that the architecture
uses the same representation for all pointer types (the previous code
made that assumption already anyway).
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Luca Barbato [Fri, 30 Jan 2015 16:29:22 +0000 (17:29 +0100)]
ogg: Provide an option to offset the serial number
The ogg serial number doubles as codec id and sequence
value for concatenated samples.
Vittorio Giovara [Thu, 29 Jan 2015 15:55:19 +0000 (15:55 +0000)]
hqdn3d: check memory allocations and propagate errors
Vittorio Giovara [Wed, 28 Jan 2015 14:41:02 +0000 (14:41 +0000)]
flacenc: initialize sums matrix
CC: libav-stable@libav.org
Bug-Id: CID 703821
Vittorio Giovara [Wed, 28 Jan 2015 15:42:50 +0000 (15:42 +0000)]
ituh263dec: use macro instead of #if
Vittorio Giovara [Wed, 28 Jan 2015 14:41:00 +0000 (14:41 +0000)]
yuv4mpegdec: initialize field_order in yuv4_read_header()
CC: libav-stable@libav.org
Bug-Id: CID
1265721
Vittorio Giovara [Wed, 28 Jan 2015 14:41:01 +0000 (14:41 +0000)]
mpegvideo_enc: initialize the encoding context
This prevents several uninitialized variable uses that take
place towards the end of encoding.
CC: libav-stable@libav.org
Bug-Id: CID 700760
Vittorio Giovara [Tue, 27 Jan 2015 20:56:20 +0000 (20:56 +0000)]
DNxHD: Add support for id 1258 (DNx100 960x720@8)
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Vittorio Giovara [Tue, 27 Jan 2015 20:56:19 +0000 (20:56 +0000)]
DNxHD: Simplify pixel format detection
Error out in case of unknown values.
Vittorio Giovara [Tue, 27 Jan 2015 20:56:18 +0000 (20:56 +0000)]
DNxHD: More verbose error messages
Luca Barbato [Tue, 16 Dec 2014 13:21:20 +0000 (14:21 +0100)]
lavu: Check av_dict_set allocations
Bug-Id: CID
1257772
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Martin Storsjö [Wed, 28 Jan 2015 20:17:29 +0000 (22:17 +0200)]
libopenh264: Log debug messages to a non-null context
Signed-off-by: Martin Storsjö <martin@martin.st>