hwren
c0e9824c0f
lavc/libdavs2: fix error return codes
...
Signed-off-by: hwren <hwrenx@126.com>
2018-09-17 23:20:40 +01:00
hwren
6f23c327c5
lavc/libdavs2: remove unused header files
...
Signed-off-by: hwren <hwrenx@126.com>
2018-09-17 23:20:40 +01:00
James Almer
e3981c5a21
avformat/dashenc: Format VP9 profile as decimal instead of Hexadecimal
...
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-17 14:29:46 -03:00
Karthick Jeyapal
422be081a3
avformat/dashenc: Format VP9 bitdepth as decimal instead of Hexadecimal
...
For example bitdepth should be printed as 10 instead of 0A. Thanks to Hendrik Leppkes for pointing this out
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-17 14:29:40 -03:00
Karthick Jeyapal
7ff3d2594f
avformat/dashenc: Format VP9 level as decimal instead of hexadecimal
...
Commit ID 63c69d51c7
fixed the bug in vpcc, get_vp9_level() function, causing this change.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-17 14:29:40 -03:00
Paul B Mahol
b0cfb2cfb9
avfilter/vf_colorspace: fix typo in comment
2018-09-17 12:51:59 +02:00
Paul B Mahol
e9ef583f99
doc/filters: update astats description
2018-09-17 12:34:57 +02:00
Paul B Mahol
c4774c5474
avfilter/af_astats: count zero crossings
2018-09-17 12:12:54 +02:00
Gyan Doshi
acc9684dcd
ffmpeg: block output == input for files
...
Fixes #4655
2018-09-17 13:48:28 +05:30
Paul B Mahol
5109c38162
avfilter: add acrossover filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-09-16 12:06:37 +02:00
James Almer
63c69d51c7
avformat/vpcc: fix values in VP9 level detection heuristics
...
The levels are stored as decimal values, not hexadecimal.
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-15 18:06:58 -03:00
Paul B Mahol
83f7a5eb62
avfilter/avf_aphasemeter: check return value of ff_insert_outpad()
2018-09-15 21:59:01 +02:00
Paul B Mahol
11fc18994e
avfilter/f_ebur128: check return value of ff_insert_outpad()
2018-09-15 21:59:01 +02:00
Paul B Mahol
e334765408
avfilter/af_anequalizer: check return value of ff_insert_outpad()
2018-09-15 21:59:01 +02:00
Paul B Mahol
876101cf41
avfilter/af_afir: switch to activate
2018-09-15 21:59:01 +02:00
Paul B Mahol
da7a0ac979
avfilter/af_afir: check return value of ff_insert_outpad()
2018-09-15 21:59:01 +02:00
Michael Niedermayer
28b80c2d52
avcodec/shorten: Fix bitstream end check in read_header()
...
Fixes: Timeout
Fixes: 9961/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5687856176562176
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-15 20:00:45 +02:00
Michael Niedermayer
71bf033050
avcodec/dvdsubdec: Avoid branch in decode_run_8bit()
...
Speed improvment 35.5 sec -> 34.7sec
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-15 20:00:45 +02:00
Jason Stevens
384dcd66a2
libavformat/mxfenc: fix dnxhr ul typo
...
byte 8 of dnxhr codec ul should be 0x0D
Signed-off-by: Jason Stevens <jay@wizardofthenet.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-15 20:00:45 +02:00
James Almer
98518e90aa
avcodec: add missing mpegvideo dependencies to SpeedHQ decoder
...
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-15 12:35:16 -03:00
Paul B Mahol
91cc3aa8b1
avfilter/avf_showspectrum: add magma color map
2018-09-15 14:08:49 +02:00
James Almer
6304268e39
configure: add missing avcodec dependency to avfilter when bm3d filter is enabled
...
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-14 21:17:04 -03:00
Paul B Mahol
6a467d432f
avdevice/pulse_audio_dec: set channel map
...
This fixes opening devices with >6 channels.
2018-09-14 22:12:54 +02:00
Michael Bunk
0d7e0f25ca
Fix typos
2018-09-14 21:36:21 +02:00
Carl Eugen Hoyos
0a12af2185
lavf/davs2: Do not mix declarations and code.
...
Fixes the following warning:
libavformat/davs2.c:39:5: warning: ISO C90 forbids mixed declarations and code
2018-09-14 20:55:51 +02:00
James Almer
9d002d7818
x86/float_dsp: add ff_vector_dmul_{sse2,avx}
...
~3x to 5x faster.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-14 12:54:42 -03:00
James Almer
93bf1dcaec
checkasm/float_dsp: add test for vector_dmul
...
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-14 12:51:55 -03:00
James Almer
1b98bfb932
Merge commit '2a9e1c122eed66be1b26b747342b848300b226c7'
...
* commit '2a9e1c122eed66be1b26b747342b848300b226c7':
libfdk-aac: Don't use defined() in a #define
Merged-by: James Almer <jamrial@gmail.com>
2018-09-13 23:16:18 -03:00
Tristan Matthews
f3b430e0e4
lavfi/silencedetect: fix spelling
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-14 01:52:29 +02:00
Shiyou Yin
a55adf24b9
avcodec/mips: [loongson] fix bug of svq3-watermark failed in fate test.
...
Failed case: svq3-watermark
When minimum loop count of following functions are greater than parameter h passed to them, svq3-watermark failed.
1. ff_put_pixels4_8_mmi
2. ff_avg_pixels4_8_mmi
3. ff_put_pixels4_l2_8_mmi
4. ff_avg_pixels4_l2_8_mmi
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-14 01:52:29 +02:00
Rick Kern
a259501e5a
lavd/avfoundation: Fix skewed video output
...
Fixes ticket #5654 .
The linesize can be greater than the minimum required. This copies the
frame taking linesize into account.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2018-09-14 00:27:44 +02:00
Martin Storsjö
2a9e1c122e
libfdk-aac: Don't use defined() in a #define
...
MSVC expands the preprocessor directives differently, making the
version check fail in the previous form.
Clang can warn about this with -Wexpansion-to-defined (not currently
enabled by default):
warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
Signed-off-by: Martin Storsjö <martin@martin.st>
2018-09-13 22:11:50 +03:00
Paul B Mahol
e320f9576a
avfilter/vf_bm3d: use av_clip_uintp2_c where clip is variable
2018-09-13 20:48:08 +02:00
James Almer
309c3a0e81
avcodec/libaom: fix setting amount of threads
...
The libaom doxy says that a value of 0 for the threads fields is
equivalent to a value of 1, whereas for avctx->thread_count it means
the maximum amount of threads possible for the host system.
Use av_cpu_count() to get the correct thread count when auto threads
is requested.
Reviewed-by: Jan Ekström <jeebjp@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-13 13:44:45 -03:00
Paul B Mahol
776cdd1dc8
avfilter/vf_remap: refactor code
2018-09-13 12:09:51 +02:00
Paul B Mahol
0ac937f80d
configure: bm3d filter depends on dct in avcodec
2018-09-13 11:27:20 +02:00
Paul B Mahol
544fde1bf8
avfilter: add bm3d filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-09-13 11:22:22 +02:00
Paul B Mahol
ecf38be7c7
avfilter: add amultiply audio filter
2018-09-13 10:21:46 +02:00
Paul B Mahol
bb16a0624a
avutil: add float_dsp.vector_dmul
2018-09-12 19:15:09 +02:00
James Almer
b69ea742ab
avcodec/libaomenc: remove AVOption related to frame partitions
...
Support for it was apparently never in the codebase, and the enum
value was recently removed from the public headers [1]
[1] https://aomedia.googlesource.com/aom/+/df4ffb73140fe31bebdabd17c1a7b53721e74838
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-12 11:44:56 -03:00
hwren
0caa33c60b
lavf: add raw AVS2 demuxer
...
Signed-off-by: hwren <hwrenx@126.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-09-12 12:13:53 +08:00
Steven Liu
2e5860799b
Revert "lavf: add raw AVS2 demuxer"
...
This reverts commit 1e20ed4382
.
2018-09-12 12:11:25 +08:00
Steven Liu
1e20ed4382
lavf: add raw AVS2 demuxer
...
Signed-off-by: hwren <hwrenx@126.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-09-12 11:21:59 +08:00
Michael Niedermayer
4356e03fd6
libavcodec/pnm_parser: do not lose skipped parts in reporting of how much was consumed
...
Fixes: Timeout
Fixes: 9759/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PPM_fuzzer-5655277650051072
Fixes: 9753/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGMYUV_fuzzer-5764378543521792
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-12 00:52:01 +02:00
Michael Niedermayer
74af6ae021
avcodec/vp8: Check bitstream input in vp7_fade_frame() before time consuming operation
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-12 00:52:01 +02:00
Michael Niedermayer
09f0429b99
avcodec/mjpegdec: simplify rgb index remaping
2018-09-12 00:52:01 +02:00
Mark Thompson
ff21d4735e
lavf/Makefile: Fix standalone build of AVS2 muxer
...
Found-by: Paul B Mahol <onemda@gmail.com>
2018-09-11 22:36:58 +01:00
hwren
ed0bd0a71b
lavf: add raw avs2 muxer
...
Signed-off-by: hwren <hwrenx@126.com>
2018-09-11 21:48:49 +01:00
hwren
85a921f461
lavc, doc, configure: add libxavs2 video encoder wrapper
...
Signed-off-by: hwren <hwrenx@126.com>
2018-09-11 21:48:42 +01:00
James Almer
092cbbfa74
avformat/tcp: re-add checks for setsockopt return values
...
Originally added in 0ed0af595b
and lost
by mistake in ef71ef5f30
.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-11 15:48:55 -03:00