Paul B Mahol
e1f7881d92
afilter/af_sofalizer: check explicitly other type
2019-01-01 12:29:19 +01:00
Paul B Mahol
f7745edeaa
doc/filters: improve afir description a little
2019-01-01 11:56:29 +01:00
Paul B Mahol
51b356eef8
avfilter/af_sofalizer: stop allocating never used buffers
2018-12-31 19:40:18 +01:00
Paul B Mahol
86555a2fbf
avfilter/af_afir: fix overhead for small partitions
2018-12-31 18:07:46 +01:00
Michael Niedermayer
c4276a7f30
avcodec/scpr: Avoid per pixel y checks in decode_run_i
...
about 1% faster
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 17:44:26 +01:00
Michael Niedermayer
20564d23fd
avcodec/scpr: Factor some indexes out in decode_run_i()
...
This improves the speed of decode_run_i()
After: clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5656821117747200 in 13516 ms
Before: clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5656821117747200 in 14018 ms
Improves: 11270/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5656821117747200
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 17:44:25 +01:00
Michael Niedermayer
609e2e64f6
avcodec/scpr: Use local variables in decode_run_i()
...
This improves the speed of decode_run_i()
Before: clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5656821117747200 in 17420 ms
After: clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5656821117747200 in 14018 ms
Improves: 11270/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5656821117747200
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 17:44:23 +01:00
Michael Niedermayer
b6c2c58904
avcodec/rangecoder: Add and test ff_rac_check_termination()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 17:44:22 +01:00
Michael Niedermayer
20b10ba83c
avcodec/rangecoder: Document ff_rac_terminate()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 17:44:21 +01:00
Michael Niedermayer
0c4af1390f
avcodec/tests/rangecoder: Test coder more completely
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 17:44:19 +01:00
Michael Niedermayer
1be9a28f8e
avcodec/rangecoder: factorize termination version code
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 17:44:18 +01:00
Paul B Mahol
41c1643d75
avcodec: add HYMT decoder
2018-12-31 15:41:23 +01:00
Paul B Mahol
8a8cce078c
avformat/au: do not use invalid block_align for small bits per sample
...
Fixes #5481 .
2018-12-31 15:21:47 +01:00
Michael Niedermayer
3e461f9d4c
avcodec/qsvenc: Fix Unkown typo
...
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 02:37:08 +01:00
Michael Niedermayer
571af98a59
avformat/libopenmpt: Fix successfull typo
...
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 02:37:08 +01:00
Michael Niedermayer
062bf56393
avcodec/v4l2_m2m: fix cant typo
...
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 02:37:08 +01:00
Michael Niedermayer
283e751aef
avcodec/mjpegbdec: Propagate error codes
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 02:37:08 +01:00
Michael Niedermayer
11a8d2ccab
avcodec/mjpegbdec: Fix some misplaced {} and spaces
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-31 02:37:08 +01:00
Paul B Mahol
3e8f211d86
avfilter/vf_chromashift: remove invalid offset
2018-12-30 22:31:52 +01:00
Paul B Mahol
ea3a980a61
avfilter/af_afir: do not over allocate fft buffer
2018-12-30 22:11:46 +01:00
Marton Balint
7f42276aa9
avformat/concatdec: always allow seeking to start
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-12-30 21:06:19 +01:00
Marton Balint
f9e947845f
avfilter/af_asetnsamples: fix last frame props
...
Frame properties were not copied, so e.g. PTS was not set for the last frame.
Regression since ef3babb2c7
.
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-12-30 20:05:34 +01:00
Zachary Zhou
b6b3159b04
lavfi/vaapi: Add constant VAAPI_VPP_BACKGROUND_BLACK
...
Signed-off-by: Zachary Zhou <zachary.zhou@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
2018-12-30 18:10:16 +00:00
Paul B Mahol
ba3d983c95
avfilter/af_afir: stop using as much threads as stream have it
2018-12-30 17:50:44 +01:00
Paul B Mahol
72270d5bd0
avfilter/af_afir: optimize code a little more
...
Avoid memset.
2018-12-30 17:50:44 +01:00
Alex Mogurenko
e4788ae31b
avcodec/prores_ks: Fix luma quantization if q >= MAX_STORED_Q
...
The problem occurs in slice quant estimation and slice encoding:
If the slice quant is larger than MAX_STORED_Q we don't use pre-calculated
quant matrices, but generate a new one, but both qmat and qmat_chroma both
point to the same table, so the luma table ends up having chroma table
values.
Add custom_chroma_q the same way as custom_q.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2018-12-30 11:24:39 -05:00
Paul B Mahol
a53a9f1c8d
avfilter/af_afir: implement non-uniform partitioned convolution
...
Using multiple frequency delay lines.
2018-12-30 13:40:29 +01:00
Paul B Mahol
300dc45fdc
avfilter/af_afir: properly split IR into multiple segments
2018-12-29 10:57:58 +01:00
Paul B Mahol
3c3eb4930e
avfilter/af_afir: make part_index values per channel
2018-12-29 10:46:25 +01:00
Paul B Mahol
31c9d693aa
avfilter/af_afir: make number of segments extendable
2018-12-29 10:39:19 +01:00
Paul B Mahol
6095356d5b
avfilter/af_afir: use AVFrame for coeff too
2018-12-29 10:17:39 +01:00
Paul B Mahol
1ba909fabe
avfilter/af_afir: use segment pointer
2018-12-29 08:35:23 +01:00
Paul B Mahol
30bf54b9f3
avfilter/af_afir: introduce uninit_segment() and use it
2018-12-29 08:35:23 +01:00
Paul B Mahol
8007e8fc67
avfilter/af_afir: fix minp/maxp range and change default value for maxp
2018-12-29 08:35:23 +01:00
Paul B Mahol
c343e81ffd
avfilter/af_afir: introduce init_segment() and use it
2018-12-29 08:35:23 +01:00
Paul B Mahol
e57053417a
avfilter/af_afir: move allocation stuff where it belongs
2018-12-29 08:35:23 +01:00
Paul B Mahol
7312e027d6
avfilter/af_afir: introduce AudioFIRSegment structure and use it
2018-12-29 08:35:23 +01:00
Michael Niedermayer
fccba32b4c
tools: add target_dec_fate.sh
...
Script to download and test ossfuzz testcases
This also includes a list of such testcases.
I intend to subsequently fill this list with the cases we have fixed in the past
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-29 00:52:34 +01:00
Carl Eugen Hoyos
8d422e7fef
Makefile: Allow "make clean" to delete compat/atomics/pthread/stdatomic.o
...
Reported-by: Eric Thomas
2018-12-28 14:04:10 +01:00
David Bryant
db109373d8
avformat/wvdec: detect and error out on WavPack DSD files
...
Not currently supported.
2018-12-28 12:53:24 +01:00
Paul B Mahol
cfa7709d05
avcodec/wavpack: fix decoding of files with many channels
...
Fixes decoding of Run_The_Race_-_3rd_Order_Ambisonic_SN3D.wv
2018-12-28 12:16:39 +01:00
Carl Eugen Hoyos
1a6cca1989
configure: Make sure libpostproc can be found if -rpath-link doesn't work.
...
Solaris ld takes "-rpath-link=libpostproc" as indication to search in "-link=libpostproc".
2018-12-28 00:22:13 +01:00
Carl Eugen Hoyos
01db03f158
lavf/vividas: Support demuxing on big-endian hardware.
2018-12-28 00:20:47 +01:00
Carl Eugen Hoyos
17aed996bc
lavf/vividas: Do not increase extradata_size after allocation.
...
Avoids a crash in avcodec_parameters_from_context().
2018-12-28 00:20:41 +01:00
gxw
d86f698e38
avcodec/mips: [loongson] optimize theora decoding in vp3dsp.
...
Optimize theora decoding with msa in functions:
1. ff_vp3_idct_add_msa
2. ff_vp3_idct_put_msa
3. ff_vp3_idct_dc_add_msa
4. ff_vp3_v_loop_filter_msa
5. ff_vp3_h_loop_filter_msa
6. ff_put_no_rnd_pixels_l2_msa
Theora decoding speed improved about 36%(from 22fps to 30fps, Tested on loongson 2K1000).
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-27 23:12:04 +01:00
Paul B Mahol
dbf43ace21
afilter/af_afir: remove invalid delay
2018-12-27 18:02:31 +01:00
Paul B Mahol
f266d2ac90
avfilter/af_afir: remove not needed nb_samples from filter context
2018-12-27 14:11:12 +01:00
Paul B Mahol
ff0b4d5af7
avfilter/af_afir: remove not needed operations
2018-12-27 12:55:07 +01:00
Paul B Mahol
b5e0a0fe3a
avfilter/af_sofalizer: use av_log2()
2018-12-27 12:31:01 +01:00
Paul B Mahol
aece1eb1e9
avfilter/af_headphone: use av_log2()
2018-12-27 12:30:04 +01:00