]>
git.sesse.net Git - ffmpeg/log
Mats Peterson [Fri, 8 Jan 2016 11:55:59 +0000 (12:55 +0100)]
lavf/matroskadec: A_QUICKTIME and fourcc 0x00000000
In many older QuickTime files, the audio format, or "fourcc", is
0x00000000. The QuickTime File Format Specification states the following
regarding this situation:
"This format descriptor should not be used, but may be found in some
files. Samples are assumed to be stored in either 'raw ' or 'twos'
format, depending on the sample size field in the sound description."
MPlayer handles this logic by itself, but FFmpeg/FFplay currently does
not.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Mats Peterson [Fri, 8 Jan 2016 11:59:13 +0000 (12:59 +0100)]
lavf/mov: Audio and fourcc 0x00000000
In many older QuickTime files, the audio format, or "fourcc", is
0x00000000. The QuickTime File Format Specification states the following
regarding this situation:
"This format descriptor should not be used, but may be found in some
files. Samples are assumed to be stored in either 'raw ' or 'twos'
format, depending on the sample size field in the sound description."
MPlayer handles this logic by itself, but FFmpeg/FFplay currently does
not.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Hendrik Leppkes [Thu, 7 Jan 2016 02:29:21 +0000 (03:29 +0100)]
x86/vf_w3fdif: 32-bit compatibility for w3fdif_simple_high
Paul B Mahol [Sat, 2 Jan 2016 22:01:25 +0000 (23:01 +0100)]
avfilter/avf_showspectrum: add option to draw legend
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Ganesh Ajjanagadde [Thu, 7 Jan 2016 04:57:47 +0000 (20:57 -0800)]
ffmpeg: check fclose return values
In the spirit of commit
a956840cbc . Simple method to reproduce:
pass -vstats_file /dev/full to ffmpeg.
All raw fclose usages in ffmpeg.c taken care of here.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Ganesh Ajjanagadde [Tue, 5 Jan 2016 02:37:16 +0000 (18:37 -0800)]
lavfi/avf_showspectrum: replace pow(x, 0.25) by sqrt(sqrt(x))
This is faster; precision assured as result is a float.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
James Almer [Thu, 7 Jan 2016 23:11:00 +0000 (20:11 -0300)]
configure: remove unused bulitin check
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 7 Jan 2016 22:59:03 +0000 (19:59 -0300)]
lavu: rename and move ff_parity to av_parity
av_popcount is not defined in intmath.h.
Reviewed-by: ubitux
Signed-off-by: James Almer <jamrial@gmail.com>
Clément Bœsch [Sun, 3 Jan 2016 19:14:57 +0000 (20:14 +0100)]
lavc/g729dec: use ff_parity()
Clément Bœsch [Sun, 3 Jan 2016 17:31:54 +0000 (18:31 +0100)]
lavc/ccaption_dec: use ff_parity()
Clément Bœsch [Sun, 3 Jan 2016 19:14:37 +0000 (20:14 +0100)]
lavu: add ff_parity()
Clément Bœsch [Tue, 5 Jan 2016 20:54:28 +0000 (21:54 +0100)]
lavc/ccaption_dec: fix always true condition
No idea why this wasn't ever detected by a static analyzer.
Clément Bœsch [Thu, 7 Jan 2016 21:34:04 +0000 (22:34 +0100)]
lavu/common: add an explanation to FF_CEIL_RSHIFT()
Clément Bœsch [Thu, 7 Jan 2016 21:28:08 +0000 (22:28 +0100)]
lavf/uncodedframecrcenc: use FF_CEIL_RSHIFT()
Clément Bœsch [Thu, 7 Jan 2016 21:27:54 +0000 (22:27 +0100)]
lavfi/deshake: use FF_CEIL_RSHIFT()
Clément Bœsch [Thu, 7 Jan 2016 21:20:22 +0000 (22:20 +0100)]
lavu/common: fix FF_CEIL_RSHIFT() range comment
James Almer [Thu, 7 Jan 2016 03:31:56 +0000 (00:31 -0300)]
x86/intmath: add sse optimized av_clipf and av_clipd
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Paul B Mahol [Sat, 2 Jan 2016 20:05:40 +0000 (21:05 +0100)]
avfilter/formats: fix leak of formats on error
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Ganesh Ajjanagadde [Wed, 30 Dec 2015 03:35:56 +0000 (19:35 -0800)]
ffmpeg: replace log2 by av_log2
Slight change in output deemed irrelevant here.
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Michael Niedermayer [Wed, 6 Jan 2016 23:48:22 +0000 (00:48 +0100)]
avcodec/utils: Check bits_per_raw_sample on video encoder open
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Wed, 6 Jan 2016 23:22:56 +0000 (00:22 +0100)]
avcodec/mpegvideo_enc: Clip bits_per_raw_sample within valid range
Fixes out of array read
Fixes: test_case-mdc.264 (b47be15a120979f5a1a945c938cbef33)
Found-by: Tyson Smith <twsmith@mozilla.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Aman Gupta [Tue, 5 Jan 2016 03:28:03 +0000 (19:28 -0800)]
libavcodec/ccaption_dec: rewrite packet handler as case statement; remove COR3 macro
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Aman Gupta [Tue, 5 Jan 2016 03:28:02 +0000 (19:28 -0800)]
libavcodec/ccaption_dec: clean up and standardize white space
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Wed, 6 Jan 2016 20:54:35 +0000 (21:54 +0100)]
configure: use warn() for mips unknown cpu warning
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Vicente Olivert Riera [Wed, 6 Jan 2016 16:55:29 +0000 (16:55 +0000)]
mips: display a warning message when using an unknown CPU
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Derek Buitenhuis [Sun, 3 Jan 2016 18:22:03 +0000 (13:22 -0500)]
avcodec: Remove libstagefright
It serves absolutely no purpose other than to confuse potentional
Android developers about how to use hardware acceleration properly
on the the platform. The stagefright "API" is not public, and the
MediaCodec API is the proper way to do this.
Furthermore, stagefright support in avcodec needs a series of
magic incantations and version-specific stuff, such that
using it actually provides downsides compared just using the actual
Android frameworks properly, in that it is a lot more work and confusion
to get it even running. It also leads to a lot of misinformation, like
these sorts of comments (in [1]) that are absolutely incorrect.
[1] http://stackoverflow.com/a/
29362353 /
3115956
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Andrey Turkin [Wed, 6 Jan 2016 12:51:49 +0000 (13:51 +0100)]
avfilter/vf_pad: fix direct padding
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Mats Peterson [Wed, 6 Jan 2016 03:16:32 +0000 (04:16 +0100)]
lavf/matroskadec: correct codec_tag for "SMI" SVQ3 files
This corrects the codec_tag for some SVQ3 files
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Ganesh Ajjanagadde [Tue, 5 Jan 2016 02:40:19 +0000 (18:40 -0800)]
lavfi/af_compensationdelay: replace pow(x,0.5) by sqrt(x)
sqrt is faster, and is sometimes more accurate depending on the libm.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Ganesh Ajjanagadde [Tue, 5 Jan 2016 03:33:50 +0000 (19:33 -0800)]
ffmpeg: check return value of avio_closep for progress report
avio_closep is not guaranteed to succeed, and its return value can
contain information regarding failure of preceding writes and silent
loss of data (man 2 close, man fclose). Users should know when the
progress was not successfully logged, and so a diagnostic is printed
here.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Andreas Cadhalpun [Tue, 5 Jan 2016 12:01:53 +0000 (13:01 +0100)]
avpacket: fix size check in packet_alloc
The previous check only caught sizes from -AV_INPUT_BUFFER_PADDING_SIZE
to -1.
This fixes ubsan runtime error: signed integer overflow:
2147483647 + 32
cannot be represented in type 'int'
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Andreas Cadhalpun [Mon, 4 Jan 2016 22:52:20 +0000 (23:52 +0100)]
parser: add av_assert1 to make sure the codec matches
Otherwise this can have some surprising effects (crashes), so let's
better not allow it.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Carl Eugen Hoyos [Tue, 5 Jan 2016 20:34:35 +0000 (21:34 +0100)]
lavf/matroskaenc: Assume 48kHz sample rate for Opus initial padding.
Analyzed by Timothy B. Terriberry in Mozilla bug
1227153 .
Fixes ticket #5121.
Michael Niedermayer [Tue, 5 Jan 2016 13:41:04 +0000 (14:41 +0100)]
avcodec/motion_est: Fix mv_penalty table size
Fixes out of array read
Found-by: Tyson Smith <twsmith@mozilla.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Aman Gupta [Tue, 5 Jan 2016 03:28:01 +0000 (19:28 -0800)]
libavcodec/ccaption_dec: remove unnecessary include
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Tue, 5 Jan 2016 12:53:25 +0000 (13:53 +0100)]
avfilter/avf_avectorscope: add line drawing support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Tue, 5 Jan 2016 10:37:11 +0000 (11:37 +0100)]
avfilter/window_func: add tukey window function
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Tue, 5 Jan 2016 09:05:14 +0000 (10:05 +0100)]
avfilter/avf_showspectrum: use av_clip/lrintf
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Mon, 4 Jan 2016 16:13:00 +0000 (17:13 +0100)]
avfilter/avf_showspectrum: add yet another color map
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Tue, 5 Jan 2016 02:08:09 +0000 (03:08 +0100)]
avcodec/dxv: Check idx in dxv_decompress_dxt5()
Fixes potential out of array read
No testcase available
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Tue, 5 Jan 2016 01:28:10 +0000 (02:28 +0100)]
avcodec/dxv: Check idx in CHECKPOINT()
Fixes out of array read
Fixes Ticket5098
Fixes Ticket5099
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Ganesh Ajjanagadde [Thu, 31 Dec 2015 04:02:11 +0000 (20:02 -0800)]
lavc/pcm_tablegen: slight speedup of table generation
This gets rid of some branches to speed up table generation slightly
(impact higher on mulaw than alaw). Tables are identical to before,
tested with FATE.
Sample benchmark (Haswell, GNU/Linux+gcc):
old:
313494 decicycles in build_alaw_table, 4094 runs, 2 skips
315959 decicycles in build_alaw_table, 8190 runs, 2 skips
323599 decicycles in build_ulaw_table, 4095 runs, 1 skips
318849 decicycles in build_ulaw_table, 8188 runs, 4 skips
new:
261902 decicycles in build_alaw_table, 4096 runs, 0 skips
266519 decicycles in build_alaw_table, 8192 runs, 0 skips
209657 decicycles in build_ulaw_table, 4096 runs, 0 skips
232656 decicycles in build_ulaw_table, 8192 runs, 0 skips
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Michael Niedermayer [Tue, 5 Jan 2016 00:06:18 +0000 (01:06 +0100)]
avcodec/h264_slice: Fix integer overflow in implicit weight computation
Fixes mozilla bug
1230423
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Mon, 4 Jan 2016 22:22:25 +0000 (23:22 +0100)]
swscale/utils: Use normal bilinear scaler if fast cannot be used due to tiny dimensions
Fixes Ticket4960
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Mon, 4 Jan 2016 18:59:12 +0000 (19:59 +0100)]
avcodec/h264_refs: Fix and add back trace code removed in
e1c5170c638e39a8017827339ac687c5f6ff9b35
Matthieu Bouron [Sat, 26 Dec 2015 17:17:49 +0000 (18:17 +0100)]
swscale/arm/yuv2rgb: add ff_yuv422p_to_{argb,rgba,abgr,bgra}_neon_{16,32}
Matthieu Bouron [Sat, 26 Dec 2015 17:45:33 +0000 (17:45 +0000)]
swscale/arm/yuv2rgb: fix typo
Paul B Mahol [Mon, 4 Jan 2016 11:50:36 +0000 (12:50 +0100)]
avfilter/avf_showspectrum: add option to set gain for calculating color intensity
Inspired by Sonic Visualizer.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Andreas Cadhalpun [Mon, 4 Jan 2016 12:44:16 +0000 (13:44 +0100)]
brstm: fix missing closing brace
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Andreas Cadhalpun [Mon, 4 Jan 2016 11:53:20 +0000 (12:53 +0100)]
brstm: also allocate b->table in read_packet
This fixes NULL pointer dereferencing if the codec is forced to
adpcm_thp even though a different one was detected.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Andreas Cadhalpun [Mon, 4 Jan 2016 11:57:38 +0000 (12:57 +0100)]
brstm: make sure an ADPC chunk was read for adpcm_thp
This fixes NULL pointer dereferencing.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Andreas Cadhalpun [Sun, 3 Jan 2016 18:11:24 +0000 (19:11 +0100)]
vorbisdec: reject rangebits 0 with non-0 partitions
This causes non-unique elements in floor_setup->data.t1.list, which
makes the stream undecodable according to the specification.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Hendrik Leppkes [Mon, 4 Jan 2016 10:40:34 +0000 (11:40 +0100)]
Merge commit '
2080bea4a74b6b1598caa806a11ea807ba546f94 '
* commit '
2080bea4a74b6b1598caa806a11ea807ba546f94 ':
h264_refs: Remove broken trace debug code
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Mon, 4 Jan 2016 10:32:11 +0000 (11:32 +0100)]
Merge commit '
58170b027144f4840018c7a60fb8d07924cc6242 '
* commit '
58170b027144f4840018c7a60fb8d07924cc6242 ':
lavc: Add missing #includes for ff_dlog()
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Mon, 4 Jan 2016 10:31:43 +0000 (11:31 +0100)]
Merge commit '
3b6473b43eb69fc3faaf69f7fd0b83b51db7607f '
* commit '
3b6473b43eb69fc3faaf69f7fd0b83b51db7607f ':
qsvdec: properly handle the warning from MFXVideoCORE_SyncOperation
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Mon, 4 Jan 2016 10:31:33 +0000 (11:31 +0100)]
Merge commit '
a43905f4ae261bdde87c300901d867b31961f57b '
* commit '
a43905f4ae261bdde87c300901d867b31961f57b ':
qsvenc_hevc: improve the default settings
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Mon, 4 Jan 2016 10:30:58 +0000 (11:30 +0100)]
Merge commit '
9d74012761bc3ee676fe43321d5699e4877fde5b '
* commit '
9d74012761bc3ee676fe43321d5699e4877fde5b ':
h264: improve behaviour with invalid reference lists
Not merged, as we have a different solution.
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Mats Peterson [Sat, 2 Jan 2016 05:30:22 +0000 (06:30 +0100)]
lavf/qtpalette: Ignore greyscale bit in certain cases
The QuickTime File Format Specification states the following:
"Depth: A 16-bit integer that indicates the pixel depth of the
compressed image. Values of 1, 2, 4, 8 ,16, 24, and 32 indicate the
depth of color images. The value 32 should be used only if the image
contains an alpha channel. Values of 34, 36, and 40 indicate 2-, 4-, and
8-bit grayscale, respectively, for grayscale images."
There is no mention of value 33, i.e. 1-bit video (0x01) with the
greyscale bit (0x20) set. I therefore suggest that we ignore the
greyscale bit when processing 1-bit video. Another reason to do this is
that the first 1-bit sample file below will be displayed properly with
blue colors in QuickTime in Windows or Mac *in spite of* the greyscale
bit being set.
Also, QuickTime in Windows or Mac ignores the greyscale bit if the
video sample description contains a palette, regardless of bit depth.
This is undocumented behaviour, but I think we should do the same, and
it seems pretty logical after all, since one wouldn't really bother
putting a customized palette into a grayscale file anyway. See the
second 8-bit sample file below, which has the greyscale bit set, and
which contains a palette in the video sample description. In Windows or
Mac, it will be displayed with the palette in the sample description, in
spite of the greyscale bit being set.
Sample file 1 (1-bit QuickTime Animation):
https://drive.google.com/open?id=0B3_pEBoLs0faTThSek1EeXQ0ZHM
Earth Spin 1-bit qtrle orig.mov
Sample file 2 (8-bit QuickTime Animation):
https://drive.google.com/open?id=0B3_pEBoLs0fad2s0V1YzUWo5aDA
quiz-palette+gs.mov
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Mats Peterson [Tue, 29 Dec 2015 21:50:56 +0000 (22:50 +0100)]
lavc/qtrle: Use AV_PIX_FMT_PAL8 for 1-bit video
This commit fixes the lack of palettized display of 1-bit video
in the qtrle decoder. It is related to my commit of
lavf/qtpalette, which added 1-bit video to the "palettized video"
category. As far as I can see, everything works fine, but comments are
of course welcome.
Below are links to sample files, which should now be displayed properly
with bluish colors, but which were previously displayed in black &
white.
Matroska:
https://drive.google.com/open?id=0B3_pEBoLs0faNjI0cHBMWDhYY2c
Earth Spin 1-bit qtrle.mkv
QuickTime (mov):
https://drive.google.com/open?id=0B3_pEBoLs0faUlItWm9KaGJSTEE
Earth Spin 1-bit qtrle.mov
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Sun, 3 Jan 2016 17:48:45 +0000 (18:48 +0100)]
avcodec/h264: Fix regression caused by removial of default_ref_list
This fixes a regression of the sample from Ticket 2371
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Andreas Cadhalpun [Sun, 3 Jan 2016 18:20:54 +0000 (19:20 +0100)]
vorbisdec: reject channel mapping with less than two channels
It causes the angle channel number to equal the magnitude channel
number, which makes the stream undecodable according to the
specification.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Paul B Mahol [Sun, 3 Jan 2016 21:43:21 +0000 (22:43 +0100)]
avfilter/avf_showspectrum: finally fix log scaler
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sun, 3 Jan 2016 21:03:10 +0000 (22:03 +0100)]
avfilter/avf_showspectrum: switch to FFT
Rationale: supports >16 bit audio, more than 96dB SNR.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Carl Eugen Hoyos [Sun, 3 Jan 2016 21:55:31 +0000 (22:55 +0100)]
lavfi/drawtext: Fix microsecond display.
Fixes ticket #4792.
Diego Biurrun [Fri, 11 Dec 2015 12:32:47 +0000 (13:32 +0100)]
h264_refs: Remove broken trace debug code
Diego Biurrun [Fri, 11 Dec 2015 12:17:15 +0000 (13:17 +0100)]
lavc: Add missing #includes for ff_dlog()
Andreas Cadhalpun [Sat, 2 Jan 2016 15:27:02 +0000 (16:27 +0100)]
ffmdec: reset packet_end in case of failure
This fixes segmentation faults caused by passing a packet_ptr of NULL to
memcpy.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Andreas Cadhalpun [Sun, 3 Jan 2016 00:19:23 +0000 (01:19 +0100)]
lavc: use get_bitsz to simplify the code
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Andreas Cadhalpun [Sat, 2 Jan 2016 23:28:42 +0000 (00:28 +0100)]
get_bits: add get_bitsz for reading 0-25 bits
This can be used to simplify code in a couple of places.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Michael Niedermayer [Sun, 3 Jan 2016 14:47:23 +0000 (15:47 +0100)]
avformat/ffmdec: Add {} to nested if/else
This preempts potential bugs if this is changed and the indention
ends up different from C interpretation
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Nicolas George [Sat, 24 Oct 2015 17:43:55 +0000 (19:43 +0200)]
lavfi/vf_decimate: do not compare the first frame to itself.
This is a waste of computing power and will result to 0,
making it always dropped.
Use maximum difference values instead.
James Almer [Sun, 3 Jan 2016 05:09:02 +0000 (02:09 -0300)]
x86/vf_stereo3d: remove a few unnecessary movas
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 2 Jan 2016 19:28:31 +0000 (16:28 -0300)]
configure: bump copyright year to 2016
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Cadhalpun [Sat, 2 Jan 2016 15:27:43 +0000 (16:27 +0100)]
ffmdec: change type of state and id to unsigned
This fixes ubsan runtime error: left shift by 8 places cannot be
represented in type 'int'
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Michael Niedermayer [Fri, 1 Jan 2016 01:41:06 +0000 (02:41 +0100)]
avcodec/put_bits: Always check buffer end before writing
This causes a overall slowdown of 0.1 % (tested with mpeg4 single thread encoding of matrixbench at QP=3)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 1 Jan 2016 23:12:34 +0000 (00:12 +0100)]
doc/encoders: Fix application name
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Hendrik Leppkes [Sat, 2 Jan 2016 18:07:08 +0000 (19:07 +0100)]
avutil/cpu: add missing entry for vfp_vm to av_parse_cpu_caps
Hendrik Leppkes [Sat, 2 Jan 2016 18:06:40 +0000 (19:06 +0100)]
avcodec/dca: remove unused float quant table
Hendrik Leppkes [Sat, 2 Jan 2016 14:05:41 +0000 (15:05 +0100)]
dca: adjust decoding of the XBR extension for integer core decoding
Paul B Mahol [Sat, 2 Jan 2016 17:10:03 +0000 (18:10 +0100)]
avfilter/avf_showspectrum: add 4th and 5th root scaler
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sat, 2 Jan 2016 14:25:58 +0000 (15:25 +0100)]
avfilter/avf_showspectrum: make some helper functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sat, 2 Jan 2016 10:49:15 +0000 (11:49 +0100)]
avfilter/avf_showspectrum: fix null pointer dereference if allocation fails
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Fri, 1 Jan 2016 22:22:00 +0000 (23:22 +0100)]
avfilter/avf_showspectrum: add fiery color map
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 31 Dec 2015 19:45:37 +0000 (20:45 +0100)]
avfilter: add showspectrumpic filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 31 Dec 2015 19:31:32 +0000 (20:31 +0100)]
avfilter/avf_showspectrum: store win_size in private context and calculate it only once
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sat, 2 Jan 2016 17:51:11 +0000 (18:51 +0100)]
avfilter/vf_zoompan: do not free frame we pushed to lavfi
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 16:52:34 +0000 (17:52 +0100)]
Merge commit '
40d949677335a564f769823f4afdb7e7a3da8d6b '
* commit '
40d949677335a564f769823f4afdb7e7a3da8d6b ':
dca: use defines for subband related constants
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 12:27:11 +0000 (13:27 +0100)]
Merge commit '
8563f9887194b07c972c3475d6b51592d77f73f7 '
* commit '
8563f9887194b07c972c3475d6b51592d77f73f7 ':
x86: use emms after ff_int32_to_float_fmul_scalar_sse
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 12:26:28 +0000 (13:26 +0100)]
Merge commit '
f0f54117c8f206e8045d301c2eb975b26e9f263d '
* commit '
f0f54117c8f206e8045d301c2eb975b26e9f263d ':
checkasm: x86: post commit review fixes
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 12:23:25 +0000 (13:23 +0100)]
Merge commit '
f4f27e4cf1013c55b2c7df359ce8d58ee922662c '
* commit '
f4f27e4cf1013c55b2c7df359ce8d58ee922662c ':
x86: zero extend the 32-bit length in int32_to_float_fmul_scalar implicitly
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 12:20:13 +0000 (13:20 +0100)]
Merge commit '
69a68593ce5684409c3c4dd9a901bfd8b16925b1 '
* commit '
69a68593ce5684409c3c4dd9a901bfd8b16925b1 ':
Remove stray line breaks from avpriv_{report_missing_feature|request_samples}
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 12:19:23 +0000 (13:19 +0100)]
Merge commit '
5049f6b772891cdf4030a9d572362efc8f7ae97f '
* commit '
5049f6b772891cdf4030a9d572362efc8f7ae97f ':
rtpdec_jpeg: Coalesce redundant error checks
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 12:17:48 +0000 (13:17 +0100)]
Merge commit '
2008f76054906e9ff6bf744800af0e5a5bfe61be '
* commit '
2008f76054906e9ff6bf744800af0e5a5bfe61be ':
dca: remove unused decode_hf function and quant_d tables
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 12:08:29 +0000 (13:08 +0100)]
Merge commit '
aebf07075f4244caf591a3af71e5872fe314e87b '
* commit '
aebf07075f4244caf591a3af71e5872fe314e87b ':
dca: change the core to work with integer coefficients.
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 11:51:26 +0000 (12:51 +0100)]
Merge commit '
85990140e7302d1e7fcc9fc0eea316178c19fe03 '
* commit '
85990140e7302d1e7fcc9fc0eea316178c19fe03 ':
dca: Add math helpers.
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 11:50:13 +0000 (12:50 +0100)]
Merge commit '
489e6add4478b0f5717dbf644234c6f3a3baf02c '
* commit '
489e6add4478b0f5717dbf644234c6f3a3baf02c ':
checkasm: add fmtconvert tests
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 11:45:34 +0000 (12:45 +0100)]
Merge commit '
568a4323fbde03665b2b23a98068d02b39121812 '
* commit '
568a4323fbde03665b2b23a98068d02b39121812 ':
checkasm: add synth_filter test
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 11:38:46 +0000 (12:38 +0100)]
Merge commit '
e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d '
* commit '
e71b747e9dc56cb84f8a06ec8214d5f3bd98bb6d ':
checkasm: add tests for dcadsp
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Sat, 2 Jan 2016 11:35:24 +0000 (12:35 +0100)]
Merge commit '
9d218d573f8088c606d873e80df572582e6773ef '
* commit '
9d218d573f8088c606d873e80df572582e6773ef ':
checkasm: add float comparison util functions
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Andreas Cadhalpun [Sun, 20 Dec 2015 21:20:57 +0000 (22:20 +0100)]
doc: make apidoc output independent of SRC_PATH
Previously it included the SRC_PATH in every title.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>