]>
git.sesse.net Git - ffmpeg/log
James Almer [Sat, 21 Oct 2017 15:28:39 +0000 (12:28 -0300)]
Merge commit '
307eb1a8ee363db1fcf869e427a8deb6d9538881 '
* commit '
307eb1a8ee363db1fcf869e427a8deb6d9538881 ':
x86: vp8dsp: port FILTER_BILINEAR macro to cpuflags
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 21 Oct 2017 15:07:16 +0000 (12:07 -0300)]
James Almer [Sat, 21 Oct 2017 14:52:36 +0000 (11:52 -0300)]
Merge commit '
522d850e68ec4b77d3477b3c8f55b1ba00a9d69a '
* commit '
522d850e68ec4b77d3477b3c8f55b1ba00a9d69a ':
h264_cavlc: check the value of run_before
[10:00:09] <jamrial> michaelni: what do you think of libav commit
522d850e68 ?
[10:00:45] <jamrial> it applies, but i can't reproduce the invalid
reads with the sample from the ticket mentioned in it
[10:52:57] <michaelni> jamrial, if theres an issue it should be fixed
by enlarging the scantable (as its faster) or maybe you can even drop
the if/else and use vlcs that are never returning a out of range
value. Id say the FFMIN is wrong in all cases, it should be a error
return if a check is added not silently continuing
[11:22:11] <michaelni> jamrial, i think the mb_padding stuff we have
makes it unneeded but we can possibly improve it beyond what we have
This commit is a noop
Merged-by: James Almer <jamrial@gmail.com>
Dale Curtis [Mon, 16 Oct 2017 21:17:35 +0000 (14:17 -0700)]
avformat/mov: Set start_pad correctly in mov_fix_index()
Sets the correct start padding value when an edit list is present.
A new fate test is added, fate-mov-440hz-10ms, to ensure this is
handled correctly.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Sasi Inguva <isasi-at-google.com@ffmpeg.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Bradshaw [Wed, 18 Oct 2017 18:34:06 +0000 (11:34 -0700)]
lavc: drop support for OpenJPEG 1.3-2.0
We now require 2.1+ with pkg-config.
Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
James Almer [Fri, 20 Oct 2017 22:04:53 +0000 (19:04 -0300)]
Merge commit '
83b2b34d06e74cc8775ba3d833f9782505e17539 '
* commit '
83b2b34d06e74cc8775ba3d833f9782505e17539 ':
h2645_parse: use the bytestream2 API for packet splitting
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Fri, 20 Oct 2017 22:02:09 +0000 (19:02 -0300)]
Merge commit '
b76f6a76c6312dc551d7c37c6ded36bea7973c74 '
* commit '
b76f6a76c6312dc551d7c37c6ded36bea7973c74 ':
h264dec: initialize field_started to 0 on each decode call
This commit is a noop
Merged-by: James Almer <jamrial@gmail.com>
Daniel Kucera [Tue, 17 Oct 2017 08:29:30 +0000 (10:29 +0200)]
libavformat: not treat 0 as EOF
transfer_func variable passed to retry_transfer_wrapper
are h->prot->url_read and h->prot->url_write functions.
These need to return EOF or other error properly.
In case of returning >= 0, url_read/url_write is retried
until error is returned.
Signed-off-by: Daniel Kucera <daniel.kucera@gmail.com>
Marton Balint [Tue, 3 Oct 2017 22:43:30 +0000 (00:43 +0200)]
ffmpeg: always init output stream before reaping filters
Otherwise the frame size of the codec is not set in the buffersink.
Fixes ticket #6603 and the following simpler case:
ffmpeg -c aac -filter_complex "sine=d=0.1,asetnsamples=1025" out.aac
Signed-off-by: Marton Balint <cus@passwd.hu>
Dave Rice [Wed, 18 Oct 2017 19:21:46 +0000 (15:21 -0400)]
avdevice/decklink_dec: 32 bit audio support
Signed-off-by: Marton Balint <cus@passwd.hu>
Mark Thompson [Tue, 17 Oct 2017 21:25:46 +0000 (22:25 +0100)]
vorbis: Reorder conditions to avoid possible overread
This can trigger a single-byte overread if the codebook has the maximum
number of entries.
Fixes #6743.
Mark Thompson [Tue, 17 Oct 2017 20:47:03 +0000 (21:47 +0100)]
opusenc: Fix double-declaration of variable
Mark Thompson [Wed, 18 Oct 2017 18:46:53 +0000 (19:46 +0100)]
vaapi_h264: Do not use deprecated header type
SEI headers should be inserted as generic raw data (the old specific
type has been deprecated in libva2).
Mark Thompson [Wed, 18 Oct 2017 18:39:10 +0000 (19:39 +0100)]
vaapi_h264: Add missing return value check
Fixes CID
1419829 .
Mark Thompson [Wed, 18 Oct 2017 18:37:30 +0000 (19:37 +0100)]
cbs_h264: Fix memory leak in error case
Fixes CID
1419834 .
Mark Thompson [Wed, 18 Oct 2017 18:34:53 +0000 (19:34 +0100)]
h264_metadata: Fix clearing SEI payload in error case
Fixes CID
1419832 ,
1419835 .
Mark Thompson [Sat, 23 Sep 2017 15:46:11 +0000 (16:46 +0100)]
cbs_h264: Fix writing streams with auxiliary pictures
Tested with the alphaconformanceG sample.
Fixes CID
1419836 .
(cherry picked from commit
9ed18f302b09e444f5b1be01979cce62c4b2c04a )
Jan Ekström [Mon, 16 Oct 2017 19:28:00 +0000 (22:28 +0300)]
configure: add pkg-config check for alsa
Helps with use cases such as static linking, as the .pc file
does actually contain the necessary Libs.private entries for all
required dependencies.
James Almer [Wed, 18 Oct 2017 14:16:55 +0000 (11:16 -0300)]
Merge commit '
3a0d5e206d24d41d87a25ba16a79b2ea04c39d4c '
* commit '
3a0d5e206d24d41d87a25ba16a79b2ea04c39d4c ':
arm/aarch64: vp9itxfm: Skip loading the min_eob pointer when it won't be used
arm: vp9itxfm: Template the quarter/half idct32 function
This commit is a noop, see
b7a565fe71d16747209bd66955a54c9b54abc5dd
70317b25aa35c0907720e4d2b7686408588c07aa
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Wed, 18 Oct 2017 14:05:56 +0000 (11:05 -0300)]
Merge commit '
b57a95d0147beae746db1c1223d100447f42dced '
* commit '
b57a95d0147beae746db1c1223d100447f42dced ':
cfhd: Add FATE tests
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Wed, 18 Oct 2017 01:05:09 +0000 (22:05 -0300)]
avcodec/cfhd: support cropped height tag
Ported from libav. Authored by one of the following:
Anton Khirnov <anton@khirnov.net>
Diego Biurrun <diego@biurrun.de>
Vittorio Giovara <vittorio.giovara@gmail.com>
Reviewed-by: kierank
Signed-off-by: James Almer <jamrial@gmail.com>
Gyan Doshi [Mon, 9 Oct 2017 05:36:10 +0000 (11:06 +0530)]
doc/filters: add note on flite thread safety and update URL
Signed-off-by: Gyan Doshi <gyandoshi@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
James Almer [Tue, 17 Oct 2017 23:26:00 +0000 (20:26 -0300)]
Merge commit '
5f794aa1653aa04c1da7397e9ccacad947fadf5f '
* commit '
5f794aa1653aa04c1da7397e9ccacad947fadf5f ':
Add Cineform HD Decoder
See
3485332bf99602910fe8830b0230d02fc653135d .
Some cosmetics are merged. The refactoring is not merged at the
request of Kieran Kunhya.
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 17 Oct 2017 22:11:10 +0000 (19:11 -0300)]
Merge commit '
f6790b5e1075133ee39be91105f1135db7afd259 '
* commit '
f6790b5e1075133ee39be91105f1135db7afd259 ':
add initial QP value options
This commit is a noop, see
5f44a4a0a97e802479e6ce689d719e5277267f22
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 17 Oct 2017 21:49:36 +0000 (18:49 -0300)]
Merge commit '
8a60bba0aef77015111570058d5a72f0428dc748 '
* commit '
8a60bba0aef77015111570058d5a72f0428dc748 ':
avcodec: clarify some decoding/encoding API details
This commit is a noop, see
f940492bb241d1cf27175f40e580c51c20d6ebc3
Merged-by: James Almer <jamrial@gmail.com>
Carl Eugen Hoyos [Tue, 17 Oct 2017 21:00:07 +0000 (23:00 +0200)]
lavf/cafenc: Only allow mono and stereo for Opus.
Found-by: James Almer
Mark Thompson [Tue, 17 Oct 2017 20:15:23 +0000 (21:15 +0100)]
Changelog: Add metadata bitstream filters
This starts a new section - 3.4 has been released.
Mark Thompson [Tue, 15 Aug 2017 17:14:32 +0000 (18:14 +0100)]
cbs: Add some read/write tests
Use the appropriate metadata filter for each codec - in the absence of any
options to modify the stream, the output bitstream should be identical to
the input (though the output file may differ in padding).
All tests use conformance bitstreams, the MPEG-2 streams are newly added
from the conformance test streams
<http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_IEC_13818-4_2004_Conformance_Testing/Video/>
(cherry picked from commit
3cae7f8b9baaf43789490b676d8f5825f2e1bc2c )
(cherry picked from commit
fbd63170bcbc5cad8965edad7c357f6eb4132250 )
Mark Thompson [Fri, 23 Jun 2017 23:29:32 +0000 (00:29 +0100)]
vaapi_mpeg2: Convert to use coded bitstream infrastructure
(cherry picked from commit
10eb496d9ae94df6f792b0e1d8750738eb3a0952 )
Mark Thompson [Sun, 23 Jul 2017 22:22:54 +0000 (23:22 +0100)]
vaapi_h265: Add support for AUD NAL units
Matching the H.264 encoder.
(cherry picked from commit
e3e8eab359238486dc233f7aa89b7bb3cb19ec38 )
Mark Thompson [Sun, 14 May 2017 20:36:24 +0000 (21:36 +0100)]
vaapi_h265: Convert to use coded bitstream infrastructure
Also improves the metadata and generally makes the configuration
a bit cleaner.
(cherry picked from commit
ac12486714b48f9bd5d9167f90b77c936751d6ef )
Mark Thompson [Sat, 9 Sep 2017 21:49:14 +0000 (22:49 +0100)]
vaapi_h264: Fix CPB/DPB delays
This should be ticks, not time_scale steps - it was wrong for all
framerates not a multiple of 1/2.
(cherry picked from commit
30645174e333c7db1946ab09be769db9be9d7481 )
Mark Thompson [Sun, 7 May 2017 22:02:09 +0000 (23:02 +0100)]
vaapi_h264: Add support for SEI recovery points
Included by default with non-IDR intra frames.
(cherry picked from commit
a49ee60d5fdbdae1706a44cfbb814abb9793815f )
Mark Thompson [Sun, 7 May 2017 21:58:56 +0000 (22:58 +0100)]
vaapi_h264: Add support for AUD NAL units
Adds a new private option to enable them (off by default).
(cherry picked from commit
820a4483af13cf6fd51f13638e57bcd1c3f629d4 )
Mark Thompson [Sun, 7 May 2017 14:01:42 +0000 (15:01 +0100)]
vaapi_h264: Convert to use coded bitstream infrastructure
(cherry picked from commit
7a4fac5e91789b73e07bd4ad20493cfde028df76 )
Mark Thompson [Tue, 1 Aug 2017 14:35:14 +0000 (15:35 +0100)]
lavc: Add mpeg2_metadata bitstream filter
(cherry picked from commit
b78c30d7ec26af67c00ce2002709a189f6a87a7e )
Mark Thompson [Tue, 12 Sep 2017 21:11:56 +0000 (22:11 +0100)]
mpeg12: Add a common function to find the best frame rate
This will be used later in both the mpeg2_metadata filter and the
VAAPI MPEG-2 encoder. Also adds a unit test.
(cherry picked from commit
b5859e0b04bdbe12c97cb12ac10a45d51d2d73c9 )
Mark Thompson [Sun, 23 Jul 2017 15:23:51 +0000 (16:23 +0100)]
lavc: Add hevc_metadata bitstream filter
This is able to modify some header metadata found in the VPS/SPS/VUI,
and can also add/remove AUDs.
(cherry picked from commit
b31a9eae0233325c4b382c657f4b687d5d8b0812 )
Mark Thompson [Thu, 4 May 2017 22:10:19 +0000 (23:10 +0100)]
lavc: Add h264_redundant_pps bitstream filter
This applies a specific fixup to some Blu-ray streams which contain
redundant PPSs modifying irrelevant parameters of the stream which
confuse other transformations which require correct extradata.
A new single global PPS is created, and all of the redundant PPSs
within the stream are removed.
(cherry picked from commit
e6874bc3af2f09af39b5d91b9c5f9ded67459696 )
Mark Thompson [Thu, 4 May 2017 22:09:02 +0000 (23:09 +0100)]
lavc: Add h264_metadata bitstream filter
This is able to modify some header metadata found in the SPS/VUI,
and can also add/remove AUDs and insert user data in SEI NAL units.
(cherry picked from commit
9e93001b6135a23fe4e200196c08fb4fbffed6fc )
(cherry picked from commit
c42b62d1f9641f10ffc23cad9abbe47d8a4a165b )
Mark Thompson [Thu, 4 May 2017 22:06:20 +0000 (23:06 +0100)]
lavc: Add trace_headers bitstream filter
Supports all streams that the coded bitstream infrastructure does
(currently H.264, H.265 and MPEG-2).
(cherry picked from commit
f11d8a5e8b185340cc50fcbc8a1437b0fbe7e931 )
Mark Thompson [Thu, 4 May 2017 22:03:03 +0000 (23:03 +0100)]
lavc: Add coded bitstream read/write support for MPEG-2
(cherry picked from commit
2bc9ba8d3c41f3a8e56484bd67b05040c7909a01 )
(cherry picked from commit
a41b69b5eb950c10d8ede472bcc4e88ce4246db9 )
Mark Thompson [Sun, 14 May 2017 15:32:00 +0000 (16:32 +0100)]
lavc: Add coded bitstream read/write support for H.265
(cherry picked from commit
867381b8b51fa21fa2b8f071f508f3d39cc9c1f0 )
(cherry picked from commit
f763489364416bb6866adc4f4a96012dd2ca1bd0 )
(cherry picked from commit
067a9ddeb8feff1f724856f0054930c55219f76b )
Mark Thompson [Sun, 14 May 2017 15:18:25 +0000 (16:18 +0100)]
lavc: Add coded bitstream read/write support for H.264
(cherry picked from commit
acf06f45441be24c5cbae0920579cd69427326a1 )
(cherry picked from commit
768eb9182e94a94bc2ef46f565a0dac7afef3b57 )
(cherry picked from commit
e7f64191b27bcf37cbf7006606f0f439c6cdc24f )
Mark Thompson [Thu, 4 May 2017 22:01:51 +0000 (23:01 +0100)]
lavc: Add coded bitstream read/write API
(cherry picked from commit
18f1706f331bf5dd565774eae680508c8d3a97ad )
(cherry picked from commit
44cde38c8acbef7d5250e6d1b52b1020871e093b )
Mark Thompson [Fri, 23 Jun 2017 23:29:02 +0000 (00:29 +0100)]
hevc: Improve stream constraint values in common header
Add comments to describe the sources of the constraint values expressed here,
and add some more related values which will be used in following patches.
Fix the incorrect values for SPS and PPS count (they are not the same as those
used for H.264), and remove HEVC_MAX_CU_SIZE because it is not used anywhere.
(cherry picked from commit
b88da98b34809dedf8882d43ed543632ed233538 )
Mark Thompson [Fri, 23 Jun 2017 23:30:20 +0000 (00:30 +0100)]
h264: Add stream constraint values to the common header
With comments describing the derivation of each value.
(cherry picked from commit
aaf441465080b9bc57f5ca8dea656f9b2c5dc821 )
James Almer [Tue, 17 Oct 2017 19:48:33 +0000 (16:48 -0300)]
Merge commit '
0429f01e4722b8e0c3576a4810a16ca8f6dbc4d4 '
* commit '
0429f01e4722b8e0c3576a4810a16ca8f6dbc4d4 ':
mkv: Export bounds and padding from spherical metadata
This commit is a noop, see
bde96422686fdb4bf754e9d03c0c535572b02f30
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 17 Oct 2017 19:47:30 +0000 (16:47 -0300)]
Merge commit '
251849f06ce36ce8dc076e0fca2922119fa7e39e '
* commit '
251849f06ce36ce8dc076e0fca2922119fa7e39e ':
mkv: Add support for Spherical Video elements
See
445204cd5777e029a6674ed0739777817eda5646
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 17 Oct 2017 19:44:17 +0000 (16:44 -0300)]
Merge commit '
a825980f9f93af32c719497f9aab1e14248ab471 '
* commit '
a825980f9f93af32c719497f9aab1e14248ab471 ':
mov: Export bounds and padding from spherical metadata
spherical: Add tiled equirectangular type and projection-specific properties
mov: Validate cubemap layout
This commit is a noop, see
ac8c72f8f1f758ae7606db42eac83d04418aec48
1b7ffddb3a999f37443c58232b112534c0abcf28
022b4ea5837bb79b9fe32bf707c3117be8e6d730
Merged-by: James Almer <jamrial@gmail.com>
Carl Eugen Hoyos [Tue, 17 Oct 2017 19:35:28 +0000 (21:35 +0200)]
lavf/cafenc: Allow muxing opus.
QuickTime does not require the (unknown) kuki chunk for decoding.
James Almer [Tue, 17 Oct 2017 18:27:43 +0000 (15:27 -0300)]
Merge commit '
0f8512c4a87b89b4694053d8ffda48066ee1da62 '
* commit '
0f8512c4a87b89b4694053d8ffda48066ee1da62 ':
mov: Validate spherical metadata version
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 17 Oct 2017 18:26:27 +0000 (15:26 -0300)]
Merge commit '
236577230051ad61ec67fa2d68e817d54232d2a0 '
* commit '
236577230051ad61ec67fa2d68e817d54232d2a0 ':
mov: Ignore old spherical metadata when newer version is present
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 17 Oct 2017 18:18:12 +0000 (15:18 -0300)]
Merge commit '
17adcc40adf1f30cba55c9727dabc1365944d32b '
* commit '
17adcc40adf1f30cba55c9727dabc1365944d32b ':
mov: Fix spherical metadata_source parsing
This commit is a noop, see
b9f2f93261548f7cfdfc7a4040b23baed11e5554
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 17 Oct 2017 18:14:10 +0000 (15:14 -0300)]
Merge commit '
81bffae368f331b6cd386a814f225a58e3f32f40 '
* commit '
81bffae368f331b6cd386a814f225a58e3f32f40 ':
configure: Check for -no_weak_imports in ldflags on macOS
Merged-by: James Almer <jamrial@gmail.com>
Jacek Jendrzej [Thu, 5 Oct 2017 08:34:43 +0000 (10:34 +0200)]
avformat: fix build wihout dashenc
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 17 Oct 2017 04:17:32 +0000 (01:17 -0300)]
configure: add missing optional dep on libfribidi to the drawtext filter
Fixes ticket #6740
Signed-off-by: James Almer <jamrial@gmail.com>
Jun Zhao [Mon, 9 Oct 2017 06:13:14 +0000 (02:13 -0400)]
ffmpeg: remove hwaccel_lax_profile_check option
This has been unused for a long time, and the original purpose has been
replaced by the per-stream hwaccel_flags.
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
James Almer [Mon, 16 Oct 2017 20:47:01 +0000 (17:47 -0300)]
configure: add missing optional deps on gcrypt and openssl to the hls muxer
Should fix ticket #6738
Signed-off-by: James Almer <jamrial@gmail.com>
Martin Vignali [Thu, 28 Sep 2017 19:46:08 +0000 (21:46 +0200)]
libavcodec/texturedspenc : indent after add rgtc1u_alpha func
Signed-off-by: Tom Butterworth <bangnoise@gmail.com>
Martin Vignali [Thu, 28 Sep 2017 19:45:31 +0000 (21:45 +0200)]
libavcodec/texturedsp : indent after add rgtc1u_alpha func
Signed-off-by: Tom Butterworth <bangnoise@gmail.com>
Martin Vignali [Thu, 28 Sep 2017 19:37:46 +0000 (21:37 +0200)]
libavcodec/texturedspenc : add rgtc1_u_alpha encoding func
this func encode the alpha channel of the rgba input
to an rgtc1u block
Signed-off-by: Tom Butterworth <bangnoise@gmail.com>
Martin Vignali [Thu, 28 Sep 2017 19:36:58 +0000 (21:36 +0200)]
libavcodec/texturedsp : add rgtc1u_alpha decoding func
this func decode an rgtc1 texture and overwrite only the alpha channel
of the dest RGBA picture
Signed-off-by: Tom Butterworth <bangnoise@gmail.com>
James Almer [Sun, 15 Oct 2017 00:20:27 +0000 (21:20 -0300)]
configure: add pkg-config checks for libcdio/cdparanoia
Should be more complete than the now fallback checks.
Signed-off-by: James Almer <jamrial@gmail.com>
Michael Niedermayer [Sun, 1 Oct 2017 16:10:36 +0000 (18:10 +0200)]
avcodec/dvbsubdec: Split best score computation out of loop in compute_default_clut()
3% faster
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Sun, 1 Oct 2017 16:10:35 +0000 (18:10 +0200)]
avcodec/dvbsubdec: Factor a few expressions out of compute_default_clut()
32% faster loop
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 13 Oct 2017 01:06:54 +0000 (03:06 +0200)]
avcodec/snowdec: Check mv_scale
Fixes: runtime error: signed integer overflow: 2 * -1094995530 cannot be represented in type 'int'
Fixes: 3512/clusterfuzz-testcase-minimized-4812747210489856
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 13 Oct 2017 01:06:53 +0000 (03:06 +0200)]
avcodec/pafvideo: Check for bitstream end in decode_0()
Fixes: Timeout
Fixes: 3529/clusterfuzz-testcase-5057068371279872
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
James Almer [Fri, 13 Oct 2017 15:34:34 +0000 (12:34 -0300)]
configure: force erroring out in check_disable_warning() if an option doesn't exists
Should prevent some options from being added to cflags when they
don't exist and the compiler only warns about it.
Reviewd-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Reino Wijnsma [Fri, 13 Oct 2017 22:52:27 +0000 (19:52 -0300)]
configure: switch the libzvbi check to pkg-config
The library has several dependencies that vary between systems.
Their pkg-config properly lists them all.
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Fri, 13 Oct 2017 22:50:37 +0000 (19:50 -0300)]
configure: add missing pthreads extralib to the libilbc check
Debugged with the help of Reino Wijnsma.
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Fri, 13 Oct 2017 18:16:55 +0000 (15:16 -0300)]
configure: add a -lstdc++ flag to the some external library checks
Two of them are missing it in their pkg-config file, so adding it
here is a workaround until said pkg-config files are fixed.
Debugged with the help of Reino Wijnsma.
Signed-off-by: James Almer <jamrial@gmail.com>
Daniel Kucera [Mon, 5 Jun 2017 18:28:30 +0000 (20:28 +0200)]
libavformat/wtvdec: return AVERROR_EOF on EOF
Signed-off-by: Daniel Kucera <daniel.kucera@gmail.com>
Signed-off-by: wm4 <nfxjfg@googlemail.com>
James Almer [Fri, 13 Oct 2017 14:22:44 +0000 (11:22 -0300)]
configure: add missing zlib extralibs to the libmysofa check
Should fix checks with static builds.
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 12 Oct 2017 22:36:19 +0000 (19:36 -0300)]
configure: list libv4l2 as an optional library for v4l2
Fixes regression since
6dfcbd80ad446ff163b47f2bf432bbf706436ea8
and
734ed38931103c523c42333633a315a0ce1b5eb2 .
Signed-off-by: James Almer <jamrial@gmail.com>
Gyan Doshi [Thu, 12 Oct 2017 13:16:06 +0000 (18:46 +0530)]
doc/filters: correct typo and incomplete desc.
Correct typo in signalstats filter section and qualify description for variable
in select filter.
Signed-off-by: Gyan Doshi <gyandoshi@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Kaustubh Raste [Wed, 11 Oct 2017 08:51:09 +0000 (14:21 +0530)]
avcodec/mips: Improve hevc uni weighted vert mc msa functions
Pack the data to half word before clipping.
Use immediate unsigned saturation for clip to max saving one vector register.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Kaustubh Raste [Wed, 11 Oct 2017 08:50:28 +0000 (14:20 +0530)]
avcodec/mips: Improve hevc uni horiz mc msa functions
Update macros to remove adds.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Kaustubh Raste [Wed, 11 Oct 2017 08:49:27 +0000 (14:19 +0530)]
avcodec/mips: Improve hevc bi copy mc msa functions
Load the specific destination bytes instead of MSA load and pack.
Use immediate unsigned saturation for clip to max saving one vector register.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Kaustubh Raste [Wed, 11 Oct 2017 08:47:21 +0000 (14:17 +0530)]
avcodec/mips: Improve avc put mc 12, 32 and 22 msa functions
Remove loops and unroll as block sizes are known.
Removed unused functions.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Kaustubh Raste [Wed, 11 Oct 2017 08:13:30 +0000 (13:43 +0530)]
avcodec/mips: Improve avc chroma avg horiz mc msa functions
Replace generic with block size specific function.
Load the specific destination bytes instead of MSA load and pack.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
James Almer [Fri, 13 Oct 2017 00:04:26 +0000 (21:04 -0300)]
configure: explicitly list videotoolbox deps for avutil
There's a bug in configure where they are not being resolved right,
so make them explicit deps for avutil for now.
Luca Barbato [Thu, 12 Oct 2017 22:20:28 +0000 (19:20 -0300)]
configure: Fix sem_timedwait probe
(cherry-picked from libav commit
41262498ff89ef48e5ce4823b2fc2dc514a3eb0c )
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 12 Oct 2017 23:24:36 +0000 (20:24 -0300)]
configure: fix pthread_cancel check
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 12 Oct 2017 23:05:39 +0000 (20:05 -0300)]
configure: fix CoreGraphics module name
Signed-off-by: James Almer <jamrial@gmail.com>
Clément Bœsch [Thu, 12 Oct 2017 22:21:11 +0000 (00:21 +0200)]
lavc/pixlet: remove unecessary intermediate nb_levels variable
This is a change imported from Libav.
Clément Bœsch [Thu, 12 Oct 2017 18:45:53 +0000 (20:45 +0200)]
lavc/pixlet: reduce diff with Libav (cosmetics only)
James Almer [Thu, 12 Oct 2017 20:32:10 +0000 (17:32 -0300)]
build: fix builds configured with a suffix
Regression since
6dfcbd80ad446ff163b47f2bf432bbf706436ea8
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Ivan Kalvachev [Sun, 8 Oct 2017 23:40:26 +0000 (02:40 +0300)]
Fix crash if av_vdpau_bind_context() is not used.
The public functions av_alloc_vdpaucontext() and
av_vdpau_alloc_context() are allocating AVVDPAUContext
structure that is supposed to be placed in avctx->hwaccel_context.
However the rest of libavcodec/vdpau.c uses avctx->hwaccel_context
as struct VDPAUHWContext, that is bigger and does contain
AVVDPAUContext as first member.
The usage includes write to the new variables in the bigger stuct,
without checking for block size.
Fix by always allocating the bigger structure.
Signed-off-by: Ivan Kalvachev <ikalvachev@gmail.com>
Carl Eugen Hoyos [Thu, 12 Oct 2017 21:14:55 +0000 (23:14 +0200)]
lavc/ppc/fft_init: Fix compilation on ppc64le with --disable-vsx.
James Almer [Thu, 12 Oct 2017 21:09:11 +0000 (18:09 -0300)]
Merge commit '
57b753b445e23363c997a8ec1c556e0b0f6e9da3 '
* commit '
57b753b445e23363c997a8ec1c556e0b0f6e9da3 ':
build: Prefer NASM assembler over YASM
build: Make x86 assembler commandline-selectable
build: Special-case handling of SDL CFLAGS
This commit is a noop, see
fde3bb16f90ac456709c7305b9e230e8327d8625
3cc73d3d6d2a98cd0da3deda90760729c82cdeeb
4f9297ac3b39098547863d28fbc8d2a906d5be49
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 12 Oct 2017 20:44:06 +0000 (17:44 -0300)]
Merge commit '
003124ebf4a05f1347c74104216887ddd2e5aad4 '
* commit '
003124ebf4a05f1347c74104216887ddd2e5aad4 ':
build: Fix logic of clock_gettime() check
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 12 Oct 2017 17:17:43 +0000 (14:17 -0300)]
configure: add missing libfontconfig and libfreetype dependencies to showcqt filter
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 12 Oct 2017 18:03:23 +0000 (15:03 -0300)]
Merge commit '
b44bd7ee7f7d834c1e22b5f33674393e5c0267c5 '
* commit '
b44bd7ee7f7d834c1e22b5f33674393e5c0267c5 ':
pixlet: Fix architecture-dependent code and values
This commit is a noop, see
a6b1180e390925c0ceb78fd223fd18f8c1e39c94
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 12 Oct 2017 17:58:34 +0000 (14:58 -0300)]
Merge commit '
808ef43597b1e3d6e69a5b9abe2237c8ddb97b44 '
* commit '
808ef43597b1e3d6e69a5b9abe2237c8ddb97b44 ':
build: Explicitly set 32-bit/64-bit object formats for nasm/yasm
See
d44935cbf4e42e842c11b1eeeaa28377dc8fd6d2
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 12 Oct 2017 01:28:29 +0000 (22:28 -0300)]
configure: fix libxavs check
libxavs may require pthreads and libm at link time, and without
said ldflags available as global extralibs, the check will fail.
Regression since
6dfcbd80ad446ff163b47f2bf432bbf706436ea8 .
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 12 Oct 2017 16:48:08 +0000 (13:48 -0300)]
Merge commit '
6eef263aca281fb582e1fa3d841ac20ef747a252 '
* commit '
6eef263aca281fb582e1fa3d841ac20ef747a252 ':
x86: Merge align directives into SECTION_RODATA declarations where possible
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 12 Oct 2017 16:39:39 +0000 (13:39 -0300)]
Merge commit '
3303f86467efa99f23c670707f5be094cc9ce547 '
* commit '
3303f86467efa99f23c670707f5be094cc9ce547 ':
nvenc: Remove qmin and qmax constraints for nvenc vbr
[10:06:59 CEST] <BtbN> jamrial,
3303f86467 is a no-op. NV_ENC_PARAMS_RC_2_PASS_VBR is a deprecated rc mode(http://git.videolan.org/?p=ffmpeg.git;a=blob;f=compat/nvenc/nvEncodeAPI.h;h=
c3a829421282d5f22f82fc285723f13eb660f053 ;hb=HEAD#l268).
[10:07:14 CEST] <BtbN> And the first hunk with qmin/qmax was applied to ffmpeg quite a while ago already.
[10:07:49 CEST] <BtbN> In a slightly different fashion, but with the same effect
[10:07:58 CEST] <BtbN> Came as a patch from nvidia iirc
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 12 Oct 2017 15:27:48 +0000 (12:27 -0300)]
configure: add missing OpenCL dependency to libavutil
Tested-by: wm4
Signed-off-by: James Almer <jamrial@gmail.com>
Carl Eugen Hoyos [Thu, 12 Oct 2017 10:43:09 +0000 (12:43 +0200)]
lavc/proresdec2: Do not mix variable declaration and statement.
Fixes ticket #6728.