OSDN Git Service

android-x86/external-ffmpeg.git
8 years agoconfigure: build fix for P5600 with mips code restructuring
Shivraj Patil [Mon, 7 Mar 2016 14:19:10 +0000 (19:49 +0530)]
configure: build fix for P5600 with mips code restructuring

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoconfigure: add check_inline_asm_flags()
Shivraj Patil [Mon, 7 Mar 2016 14:19:10 +0000 (19:49 +0530)]
configure: add check_inline_asm_flags()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/mp3dec: avoid printing useless message in default log level
Moritz Barsnick [Tue, 8 Mar 2016 15:54:42 +0000 (16:54 +0100)]
lavf/mp3dec: avoid printing useless message in default log level

"Skipping 0 bytes of junk" is useless to the user, and essentially
indicates a NOP. At 0 bytes, this message is now pushed back to
the verbose log level.

Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
8 years agolavc/mjpegdec: avoid printing useless message in default log level
Moritz Barsnick [Tue, 8 Mar 2016 14:36:27 +0000 (15:36 +0100)]
lavc/mjpegdec: avoid printing useless message in default log level

The change of bps from 0 doesn't contain any info useful to the
user. This message is now at info log level only if the original
value is !=0, otherwise pushed back to debug log level. The
original value is displayed additionally.

Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/avienc: Palette changing code only concerns AV_PIX_FMT_PAL8
Mats Peterson [Tue, 8 Mar 2016 10:26:32 +0000 (11:26 +0100)]
lavf/avienc: Palette changing code only concerns AV_PIX_FMT_PAL8

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/avf_showcqt: add performance debugging log
Muhammad Faiz [Sun, 6 Mar 2016 05:54:32 +0000 (12:54 +0700)]
avfilter/avf_showcqt: add performance debugging log

for easier development

Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years agoavfilter/vf_vectorscope: short for Magenta is Mg
Paul B Mahol [Tue, 8 Mar 2016 11:11:12 +0000 (12:11 +0100)]
avfilter/vf_vectorscope: short for Magenta is Mg

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoffserver: Fixed ffserver to support large ffm files
Lior Mualem [Mon, 7 Mar 2016 16:08:19 +0000 (18:08 +0200)]
ffserver: Fixed ffserver to support large ffm files

ffm_read_write_index returns a 64bit value,

Github: Closes #185

8 years agoavcodec/nvenc: Fix typo and preset error message
Timo Rothenpieler [Tue, 8 Mar 2016 10:18:16 +0000 (11:18 +0100)]
avcodec/nvenc: Fix typo and preset error message

8 years agoavcodec/nvenc: Add encoder stats
Lucas Cooper [Mon, 7 Mar 2016 23:47:56 +0000 (15:47 -0800)]
avcodec/nvenc: Add encoder stats

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
8 years agofate: Add test similar to ticket 1242
Michael Niedermayer [Mon, 7 Mar 2016 22:19:24 +0000 (23:19 +0100)]
fate: Add test similar to ticket 1242

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/utils: fix dts from pts code in compute_pkt_fields() during ascending delay
Michael Niedermayer [Tue, 8 Mar 2016 01:42:10 +0000 (02:42 +0100)]
avformat/utils: fix dts from pts code in compute_pkt_fields() during ascending delay

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/riff: Add fourcc GTM4 from Telefactor digital audio for ASP.
Carl Eugen Hoyos [Mon, 7 Mar 2016 22:57:14 +0000 (23:57 +0100)]
lavf/riff: Add fourcc GTM4 from Telefactor digital audio for ASP.

8 years agoavcodec: try to document timebase a bit more
Michael Niedermayer [Sat, 5 Mar 2016 12:29:16 +0000 (13:29 +0100)]
avcodec: try to document timebase a bit more

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_vectorscope: draw color points names
Paul B Mahol [Mon, 7 Mar 2016 13:18:09 +0000 (14:18 +0100)]
avfilter/vf_vectorscope: draw color points names

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolavc/utils: fix extra ASS sanity check in convert_sub_to_old_ass_form()
Clément Bœsch [Mon, 7 Mar 2016 20:47:47 +0000 (21:47 +0100)]
lavc/utils: fix extra ASS sanity check in convert_sub_to_old_ass_form()

8 years agolavc/mediacodec: fix chroma width for yuv420p
Matthieu Bouron [Mon, 7 Mar 2016 13:31:25 +0000 (14:31 +0100)]
lavc/mediacodec: fix chroma width for yuv420p

8 years agoavfilter/vf_waveform: draw graticule for color filter too
Paul B Mahol [Mon, 7 Mar 2016 12:27:32 +0000 (13:27 +0100)]
avfilter/vf_waveform: draw graticule for color filter too

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolavf/vplayerdec: support time durations with no ms specified
Clément Bœsch [Mon, 7 Mar 2016 11:43:42 +0000 (12:43 +0100)]
lavf/vplayerdec: support time durations with no ms specified

Example found in the wild:

0:00:03:25.000
0:01:47:A legend is sung
0:01:50:Of when England was young
0:01:53:And knights|were brave and bold
0:01:59:The good king had died

Reported-by: wm4
8 years agolavc/mjpegdec: avoid unneeded allocation if the frame is to be skipped
Matthieu Bouron [Tue, 1 Mar 2016 17:15:48 +0000 (18:15 +0100)]
lavc/mjpegdec: avoid unneeded allocation if the frame is to be skipped

8 years agolavfi/extractplanes: Add RGB0 and friends as supported pix_fmts.
Carl Eugen Hoyos [Mon, 7 Mar 2016 11:05:42 +0000 (12:05 +0100)]
lavfi/extractplanes: Add RGB0 and friends as supported pix_fmts.

8 years agolavfi/extractplanes: Fix in_pixfmts.
Carl Eugen Hoyos [Mon, 7 Mar 2016 10:59:36 +0000 (11:59 +0100)]
lavfi/extractplanes: Fix in_pixfmts.

If the original pix_fmt was >8 bit and not supported by the filter,
the filter system could choose a pix_fmt with different endianness
as input for extractplanes which broke the output because the output
always used the endianness of the original pix_fmt.

8 years agolavfi/extractplanes: Move endianness calculation up.
Carl Eugen Hoyos [Mon, 7 Mar 2016 10:54:37 +0000 (11:54 +0100)]
lavfi/extractplanes: Move endianness calculation up.

Needed for next commit.

8 years agolavc: add h264 mediacodec decoder
Matthieu Bouron [Thu, 21 Jan 2016 08:29:39 +0000 (09:29 +0100)]
lavc: add h264 mediacodec decoder

8 years agolavc: add JNI support
Matthieu Bouron [Mon, 28 Sep 2015 13:18:56 +0000 (15:18 +0200)]
lavc: add JNI support

8 years agortp: Fix play multiple multicast streams with the same port
Zhao Zhili [Thu, 7 Jan 2016 10:55:50 +0000 (18:55 +0800)]
rtp: Fix play multiple multicast streams with the same port

We cannot play multiple multicast streams with the same port at the
same time. This is because both rtp and rtcp port are opened in
read-write mode, so they will not bind to the multicast address. Try
to make rtp port as read-only by default to solve this bug.

Signed-off-by: Zhao Zhili <wantlamy@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/ftp: Support response code 125 for STOR and RETR commands
Raymond Hilseth [Thu, 7 Jan 2016 09:38:06 +0000 (10:38 +0100)]
avformat/ftp: Support response code 125 for STOR and RETR commands

This fixes a problem where ffmpeg would hang if there is already an open
data connection, and the server sends a 125 response code in reply to a
STOR or RETR command.

Signed-off-by: Raymond Hilseth <rhi@vizrt.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/img2dec: Use jpeg constants in jpeg_probe().
Carl Eugen Hoyos [Sun, 6 Mar 2016 21:28:22 +0000 (22:28 +0100)]
lavf/img2dec: Use jpeg constants in jpeg_probe().

8 years agolavf/riffdec: Remove \n from avpriv_report_missing_feature().
Carl Eugen Hoyos [Sun, 6 Mar 2016 20:39:57 +0000 (21:39 +0100)]
lavf/riffdec: Remove \n from avpriv_report_missing_feature().

Found-by: Clément Bœsch
8 years agolavc/cfhd: Remove one more \n from avpriv_report_missing_feature().
Carl Eugen Hoyos [Sun, 6 Mar 2016 20:38:41 +0000 (21:38 +0100)]
lavc/cfhd: Remove one more \n from avpriv_report_missing_feature().

8 years agolavc/cfhd: Sanitize avpriv_report_missing_feature() usage.
Carl Eugen Hoyos [Sun, 6 Mar 2016 20:21:44 +0000 (21:21 +0100)]
lavc/cfhd: Sanitize avpriv_report_missing_feature() usage.

8 years agoavformat/rtpenc: Fix integer overflow in NTP_TO_RTP_FORMAT
Boris Nagels [Sun, 6 Mar 2016 15:31:36 +0000 (16:31 +0100)]
avformat/rtpenc: Fix integer overflow in NTP_TO_RTP_FORMAT

RTCP synchronization packet was broken since commit in ffmpeg version > 2.8.3
(commit: e04b039b1528f4c7df5c2b93865651bfea168a19) Since this commit (2e814d0329aded98c811d0502839618f08642685)
"rtpenc: Simplify code by introducing a macro for rescaling NTP timestamps", NTP_TO_RTP_FORMAT
uses av_rescale_rnd() function to add the data to the packet.

This causes an overflow in the av_rescale_rnd() function and it will return INT64_MIN.
Causing the NTP stamp in the RTCP packet to have an invalid value.

Github: Closes #182

Reverting commit '2e814d0329aded98c811d0502839618f08642685' solves the problem.

8 years agoavfilter/vf_vectorscope: add 12bit depth support
Paul B Mahol [Sun, 6 Mar 2016 19:29:23 +0000 (20:29 +0100)]
avfilter/vf_vectorscope: add 12bit depth support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/vf_histogram: add 12bit depth support
Paul B Mahol [Sun, 6 Mar 2016 18:55:02 +0000 (19:55 +0100)]
avfilter/vf_histogram: add 12bit depth support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/dca: clear X96 channels if nothing was decoded
foo86 [Wed, 2 Mar 2016 19:31:10 +0000 (22:31 +0300)]
avcodec/dca: clear X96 channels if nothing was decoded

The first X96 channel set can have more channels than core, causing X96
decoding to be skipped. Clear the number of decoded X96 channels to zero
in this rudimentary case.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agomov - support seek in encrypted mp4
erankor [Mon, 22 Feb 2016 14:41:06 +0000 (16:41 +0200)]
mov - support seek in encrypted mp4

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_waveform: add text to graticule
Paul B Mahol [Sun, 6 Mar 2016 08:46:34 +0000 (09:46 +0100)]
avfilter/vf_waveform: add text to graticule

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/vf_waveform: use nonsubsampled yuv output format for lowpass filter
Paul B Mahol [Sun, 6 Mar 2016 11:01:20 +0000 (12:01 +0100)]
avfilter/vf_waveform: use nonsubsampled yuv output format for lowpass filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/cfhd: Fixes cfhd_odd.mov which has a resolution of 496x241
Kieran Kunhya [Sat, 5 Mar 2016 18:06:16 +0000 (18:06 +0000)]
avcodec/cfhd: Fixes cfhd_odd.mov which has a resolution of 496x241

In this case container width/height is better however.
Thanks to koda for the sample

8 years agoavcodec/alsdec: treat quant_cof as a signed value
Umair Khan [Sat, 5 Mar 2016 21:36:18 +0000 (03:06 +0530)]
avcodec/alsdec: treat quant_cof as a signed value

Signed-off-by: Umair Khan <omerjerk@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agobitstream.c: improve init_vlc error messages.
Reimar Döffinger [Sun, 6 Mar 2016 10:45:35 +0000 (11:45 +0100)]
bitstream.c: improve init_vlc error messages.

Makes it far easier to spot the issue if e.g.
caused by a typo in the code table.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
8 years agoavformat/avienc: Remove unneeded seekable tests
Michael Niedermayer [Sat, 5 Mar 2016 17:38:40 +0000 (18:38 +0100)]
avformat/avienc: Remove unneeded seekable tests

Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoaacenc: avoid double in quantize_bands.
Reimar Döffinger [Tue, 1 Mar 2016 21:53:18 +0000 (22:53 +0100)]
aacenc: avoid double in quantize_bands.

I cannot see any point whatsoever to use
double here instead of float, the results
are likely identical in all cases..
Using float allows for much more
efficient use of SIMD.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
8 years agoavfilter/avf_showcqt: remove CoeffsType
Muhammad Faiz [Tue, 1 Mar 2016 02:18:06 +0000 (09:18 +0700)]
avfilter/avf_showcqt: remove CoeffsType

seems not useful

Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years agoavformat/dump: Fix context/level for payload dump
Mark Harris [Sat, 5 Mar 2016 17:10:00 +0000 (09:10 -0800)]
avformat/dump: Fix context/level for payload dump

Use the context and level specified to av_pkt_dump_log2(),
instead of panic level (0), for dumping packet payload.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agofate/aac: Increase fuzz from of fate-aac-pns-encode from 72 to 74 for Loongson
Michael Niedermayer [Sat, 5 Mar 2016 20:58:16 +0000 (21:58 +0100)]
fate/aac: Increase fuzz from of fate-aac-pns-encode from 72 to 74 for Loongson

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_waveform: add graticule support
Paul B Mahol [Thu, 3 Mar 2016 18:44:00 +0000 (19:44 +0100)]
avfilter/vf_waveform: add graticule support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/vf_waveform: only use available components
Paul B Mahol [Sat, 5 Mar 2016 19:22:35 +0000 (20:22 +0100)]
avfilter/vf_waveform: only use available components

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavformat/avienc: assert that bits_per_coded_sample is within the supported range...
Michael Niedermayer [Sat, 5 Mar 2016 17:18:07 +0000 (18:18 +0100)]
avformat/avienc: assert that bits_per_coded_sample is within the supported range (out of array access otherwise)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agofate: Add pal8 copy test for avi
Michael Niedermayer [Sat, 5 Mar 2016 16:39:48 +0000 (17:39 +0100)]
fate: Add pal8 copy test for avi

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/avienc: Add support for palette side data
Mats Peterson [Sat, 5 Mar 2016 11:16:57 +0000 (12:16 +0100)]
lavf/avienc: Add support for palette side data

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/riffenc: Handle palette for non-raw codecs
Mats Peterson [Wed, 2 Mar 2016 23:28:23 +0000 (00:28 +0100)]
lavf/riffenc: Handle palette for non-raw codecs

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavc: restore ABI compatibility with 3.x (sub_text_format)
Clément Bœsch [Sat, 5 Mar 2016 09:15:30 +0000 (10:15 +0100)]
lavc: restore ABI compatibility with 3.x (sub_text_format)

Regression introduced in 2941282.

Reported-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/cos_tablegen: extend table generation to 17bits
James Almer [Sat, 5 Mar 2016 02:35:54 +0000 (23:35 -0300)]
avcodec/cos_tablegen: extend table generation to 17bits

Fixes compilation of fft with hardcoded tables

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavfilter/f_bench: Fix comparission condition
Michael Niedermayer [Sat, 5 Mar 2016 00:55:44 +0000 (01:55 +0100)]
avfilter/f_bench: Fix comparission condition

Fixes: CID1355115

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/utils: Fix memleak on error in convert_sub_to_old_ass_form()
Michael Niedermayer [Sat, 5 Mar 2016 00:38:58 +0000 (01:38 +0100)]
avcodec/utils: Fix memleak on error in convert_sub_to_old_ass_form()

Fixes CID1355116

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agovc2enc: minor cosmetic changes
Rostislav Pehlivanov [Wed, 2 Mar 2016 12:52:15 +0000 (12:52 +0000)]
vc2enc: minor cosmetic changes

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agovc2enc: remove useless alignment on slice encoding
Rostislav Pehlivanov [Wed, 2 Mar 2016 12:50:54 +0000 (12:50 +0000)]
vc2enc: remove useless alignment on slice encoding

This was a leftover from before the slices were encoded in parallel.
Since the put_bits context is initialized per slice aligning it
aferwards is pointless.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agovc2enc: do not allocate packet until exact frame size is known
Rostislav Pehlivanov [Wed, 2 Mar 2016 12:37:09 +0000 (12:37 +0000)]
vc2enc: do not allocate packet until exact frame size is known

This commit solves most of the crashes and issues with the encoder and
the bitrate setting. Now the encoder will always allocate the absolute
lowest amount of memory regardless of what the bitrate has been set to.
Therefore if a user inputs a very low bitrate the encoder will use the
maximum possible quantization (basically zero out all coefficients),
allocate a packet and encode it. There is no coupling between the
bitrate and the allocation size and so no crashes because the buffer
isn't large enough.

The maximum quantizer was raised to the size of the table now to both
keep the overshoot at ridiculous bitrates low and to improve quality
with higher bit depths (since the coefficients grow larger per transform
quantizing them to the same relative level requires larger quantization
indices).

Since the quantization index start follows the previous quantization
index for that slice, the quantization step was reduced to a static 1
to improve performance. Previously with quant/5 the step was usually
set to 0 upon start (and was later clipped to 1), that isn't a big change.
As the step size increases so does the amount of bits leftover and so
the redistribution algorithm has to iterate more and thus waste more
time.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agolavf/dump.c: Print mastering display metadata
Neil Birkbeck [Tue, 1 Mar 2016 01:20:17 +0000 (17:20 -0800)]
lavf/dump.c: Print mastering display metadata

Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/matroskadec: Add early support for some of the new colour elements.
Neil Birkbeck [Tue, 1 Mar 2016 00:41:04 +0000 (16:41 -0800)]
lavf/matroskadec: Add early support for some of the new colour elements.

Adding early support for a subset of the proposed colour elements
according to the latest version of spec:
https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&index=hIKLhMdgTMTEwUTeA4ct38h0tmE

I've left out elements for pix_fmt related things as there still
seems to be some discussion around these, and the max_cll/max_fall
are currently not propagated as there is not yet side data for them.

The new elements are exposed under strict experimental mode.

Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_histogram: explicitly set 10bit output formats
Paul B Mahol [Fri, 4 Mar 2016 21:58:45 +0000 (22:58 +0100)]
avfilter/vf_histogram: explicitly set 10bit output formats

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoconfigure: NVENC API version 6 is now required
Timo Rothenpieler [Fri, 4 Mar 2016 16:19:45 +0000 (17:19 +0100)]
configure: NVENC API version 6 is now required

8 years agoavfilter/af_afftfilt: add option for 17 fft case
Paul B Mahol [Fri, 4 Mar 2016 21:20:12 +0000 (22:20 +0100)]
avfilter/af_afftfilt: add option for 17 fft case

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/af_sofalizer: check if filename was set.
Paul B Mahol [Fri, 4 Mar 2016 21:14:43 +0000 (22:14 +0100)]
avfilter/af_sofalizer: check if filename was set.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavformat: Fix member name 10L
Derek Buitenhuis [Fri, 4 Mar 2016 16:33:10 +0000 (16:33 +0000)]
avformat: Fix member name 10L

The wrong member was remove/moved after review of the blacklist API.

10L cola.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '257b30af8ec520c1635092e429606c62d3bcca63'
Derek Buitenhuis [Fri, 4 Mar 2016 16:21:18 +0000 (16:21 +0000)]
Merge commit '257b30af8ec520c1635092e429606c62d3bcca63'

This commit is a no-op. We already have these, plus our asm differs.

* commit '257b30af8ec520c1635092e429606c62d3bcca63':
  x86: hevc: Fix linking with both yasm and optimizations disabled

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'cd846b47977485bd4063e77a3324e6b7840567a2'
Derek Buitenhuis [Fri, 4 Mar 2016 16:19:57 +0000 (16:19 +0000)]
Merge commit 'cd846b47977485bd4063e77a3324e6b7840567a2'

* commit 'cd846b47977485bd4063e77a3324e6b7840567a2':
  fate: Ignore errors from concatenating report files

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '9328adcc8012a1b0e00c465c85b5453589a4f5f7'
Derek Buitenhuis [Fri, 4 Mar 2016 16:18:32 +0000 (16:18 +0000)]
Merge commit '9328adcc8012a1b0e00c465c85b5453589a4f5f7'

* commit '9328adcc8012a1b0e00c465c85b5453589a4f5f7':
  fate: Be silent when fetching Git updates

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '5e555f93009f0605db120eec78262d0fe337e645'
Derek Buitenhuis [Fri, 4 Mar 2016 16:17:05 +0000 (16:17 +0000)]
Merge commit '5e555f93009f0605db120eec78262d0fe337e645'

AVClass is now a const, the rest are no-op.

* commit '5e555f93009f0605db120eec78262d0fe337e645':
  mpeg12enc: always write closed gops for intra only outputs
  h264: Add an AVClass pointer to H264Context
  libx264: Fix noise_reduction option assignment

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'ec4c48397641dbaf4ae8df36c32aaa5a311a11bf'
Derek Buitenhuis [Fri, 4 Mar 2016 16:14:53 +0000 (16:14 +0000)]
Merge commit 'ec4c48397641dbaf4ae8df36c32aaa5a311a11bf'

This is a no-op. API is already implemented by us.

* commit 'ec4c48397641dbaf4ae8df36c32aaa5a311a11bf':
  lavf: add a protocol whitelist/blacklist for file opened internally

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoavformat: Add a protocol blacklisting API
Derek Buitenhuis [Thu, 3 Mar 2016 17:14:26 +0000 (17:14 +0000)]
avformat: Add a protocol blacklisting API

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoavfilter/af_afftfilt: Extend to 17bit fft
Michael Niedermayer [Fri, 4 Mar 2016 12:53:02 +0000 (13:53 +0100)]
avfilter/af_afftfilt: Extend to 17bit fft

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/fft: Add revtab32 for FFTs with more than 65536 samples
Michael Niedermayer [Fri, 4 Mar 2016 14:39:55 +0000 (15:39 +0100)]
avcodec/fft: Add revtab32 for FFTs with more than 65536 samples

x86 optimizations are used only for the cases they support (<=65536 samples)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec: Extend fft to size 2^17
Michael Niedermayer [Thu, 3 Mar 2016 23:31:45 +0000 (00:31 +0100)]
avcodec: Extend fft to size 2^17

Asked-for-by: durandal_1707
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/nvenc: Fix H264 and HEVC vui info update
Agatha Hu [Fri, 4 Mar 2016 09:00:48 +0000 (17:00 +0800)]
avcodec/nvenc: Fix H264 and HEVC vui info update

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
8 years agoavfilter/af_sofalizer: fix crash when ir size is not aligned, usually when n_samples...
Paul B Mahol [Fri, 4 Mar 2016 09:36:11 +0000 (10:36 +0100)]
avfilter/af_sofalizer: fix crash when ir size is not aligned, usually when n_samples are not power of 2

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agofate: add qtrle/mace6 stream copy test
Michael Niedermayer [Wed, 2 Mar 2016 21:10:09 +0000 (22:10 +0100)]
fate: add qtrle/mace6 stream copy test

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/movenc: Add support for palette side data
Mats Peterson [Wed, 2 Mar 2016 23:27:53 +0000 (00:27 +0100)]
lavf/movenc: Add support for palette side data

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/utils: Normalize AVPacket.data to native endian in ff_get_packet_palette()
Mats Peterson [Thu, 3 Mar 2016 07:25:58 +0000 (08:25 +0100)]
lavf/utils: Normalize AVPacket.data to native endian in ff_get_packet_palette()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/af_sofalizer: fix crash with odd IR size
Paul B Mahol [Thu, 3 Mar 2016 22:58:14 +0000 (23:58 +0100)]
avfilter/af_sofalizer: fix crash with odd IR size

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/af_sofalizer: print size of FFT that failed to init
Paul B Mahol [Thu, 3 Mar 2016 22:09:36 +0000 (23:09 +0100)]
avfilter/af_sofalizer: print size of FFT that failed to init

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/vf_ciescope: Fix 'ISO C90 forbids mixed declarations and code'
Michael Niedermayer [Thu, 3 Mar 2016 20:19:32 +0000 (21:19 +0100)]
avfilter/vf_ciescope: Fix 'ISO C90 forbids mixed declarations and code'

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/utils: Fix 'ISO C90 forbids mixed declarations and code'
Michael Niedermayer [Thu, 3 Mar 2016 20:19:32 +0000 (21:19 +0100)]
avcodec/utils: Fix 'ISO C90 forbids mixed declarations and code'

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavutil/color_utils: Mark test_data as static const
Michael Niedermayer [Thu, 3 Mar 2016 20:04:08 +0000 (21:04 +0100)]
avutil/color_utils: Mark test_data as static const

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_vectorscope: improve green graticule visibility
Paul B Mahol [Thu, 3 Mar 2016 20:03:23 +0000 (21:03 +0100)]
avfilter/vf_vectorscope: improve green graticule visibility

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/vf_vectorscope: add threshold option
Paul B Mahol [Thu, 3 Mar 2016 19:44:38 +0000 (20:44 +0100)]
avfilter/vf_vectorscope: add threshold option

Useful to only display lows/mids/highs.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoAdd test for avpriv_get_trc_function_from_trc function
NagaChaitanya Vellanki [Thu, 3 Mar 2016 18:01:28 +0000 (10:01 -0800)]
Add test for avpriv_get_trc_function_from_trc function

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '8c0ceafb0f25da077ff23e394667119f031574fd'
Derek Buitenhuis [Thu, 3 Mar 2016 16:12:16 +0000 (16:12 +0000)]
Merge commit '8c0ceafb0f25da077ff23e394667119f031574fd'

This commit is a no-p. We already have a mechanism to do this.

* commit '8c0ceafb0f25da077ff23e394667119f031574fd':
  urlprotocol: receive a list of protocols from the caller

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoffmpeg_vdpau: Free ctx on error path
Michael Niedermayer [Thu, 3 Mar 2016 14:48:17 +0000 (15:48 +0100)]
ffmpeg_vdpau: Free ctx on error path

Fixes CID1355118

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_ciescope: Fix "incompatible pointer type" warnings
Michael Niedermayer [Thu, 3 Mar 2016 13:53:08 +0000 (14:53 +0100)]
avfilter/vf_ciescope: Fix "incompatible pointer type" warnings

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agofate: fix filter-hls tests dependencies
James Almer [Thu, 3 Mar 2016 03:46:07 +0000 (00:46 -0300)]
fate: fix filter-hls tests dependencies

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavfilter/vf_zscale: unbreak RGB support
Paul B Mahol [Thu, 3 Mar 2016 12:24:50 +0000 (13:24 +0100)]
avfilter/vf_zscale: unbreak RGB support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/dca: simplify condition
foo86 [Wed, 2 Mar 2016 19:32:10 +0000 (22:32 +0300)]
avcodec/dca: simplify condition

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/dca: fix av_cold placement in declarations
foo86 [Wed, 2 Mar 2016 19:31:46 +0000 (22:31 +0300)]
avcodec/dca: fix av_cold placement in declarations

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter: add ciescope filter
Paul B Mahol [Mon, 1 Feb 2016 20:05:16 +0000 (21:05 +0100)]
avfilter: add ciescope filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolavfi/drawutils: Add some missing GBRP pix_fmts.
Carl Eugen Hoyos [Thu, 3 Mar 2016 10:15:30 +0000 (11:15 +0100)]
lavfi/drawutils: Add some missing GBRP pix_fmts.

Fixes for example extractplanes with GBRAP16.

8 years agoavformat/yuv4mpegdec: fix seeking for partial files
Paul B Mahol [Wed, 2 Mar 2016 19:56:01 +0000 (20:56 +0100)]
avformat/yuv4mpegdec: fix seeking for partial files

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolavc/videotoolboxenc: remove *_NULLABLE annotations; fixes pre-10.11 build
Rodger Combs [Thu, 3 Mar 2016 03:44:28 +0000 (21:44 -0600)]
lavc/videotoolboxenc: remove *_NULLABLE annotations; fixes pre-10.11 build

These macros were added in OS X 10.11, and the file compiles without warnings
on both 10.10 and 10.11 with them removed.

Thanks to mark4o on IRC for pointing out the failure and testing the patch.

8 years agofate: add filter-hls
Michael Niedermayer [Tue, 1 Mar 2016 01:30:05 +0000 (02:30 +0100)]
fate: add filter-hls