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
Paul B Mahol
d702600350
avfilter/af_afir: remove dead store variable
2018-12-26 22:30:10 +01:00
Paul B Mahol
8443462e4a
avfilter/af_afir: remove unused variable
2018-12-26 21:57:59 +01:00
Lauri Kasanen
8dd9df9ecd
swscale/output: Altivec-optimize float yuv2plane1
...
This function wouldn't benefit from VSX instructions, so I put it
under altivec.
./ffmpeg_g -f rawvideo -pix_fmt rgb24 -s hd1080 -i /dev/zero -pix_fmt grayf32le \
-f null -vframes 100 -v error -nostats -
3743 UNITS in planar1, 65495 runs, 41 skips
-cpuflags 0
23511 UNITS in planar1, 65530 runs, 6 skips
grayf32be
4647 UNITS in planar1, 65449 runs, 87 skips
-cpuflags 0
28608 UNITS in planar1, 65530 runs, 6 skips
The native speedup is 6.28133, and the bswapping one 6.15623.
Fate passes, each format tested with an image to video conversion.
Signed-off-by: Lauri Kasanen <cand@gmx.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-26 20:28:58 +01:00
Ramiro Polla
c268712895
avcodec/dnxhddec: fix block alignment
...
blockdsp requires 32 byte alignment.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-12-26 13:57:50 -03:00
Ramiro Polla
4d34205bec
avcodec/4xm: fix block alignment
...
blockdsp requires 32 byte alignment.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-12-26 13:56:20 -03:00
Steven Liu
cef857da48
avformat/hlsenc: remove unused variable to fix compiler warning
...
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-12-26 19:29:18 +08:00
Adrian Guzowski
c822d70c3d
Fix usage of temp_file flag in hls_flags option.
...
This is a regression introduced by 223d2bde22
.
It appears that regression was introduced in 4.1, 4.0.x does not share
this behaviour.
Temp files were not created for MPEG-TS segments options - HLS_TEMP_FILE
flag was never set on AVFormatContext, it is however set on HLSContext object.
In order to fix this issue, proper flags field must be checked. In addition,
renaming code was messed up and apparently was working only for MP4 files.
2018-12-26 19:25:40 +08:00
vkot
3ee735901e
avformat/hls.c: Properly free prev_segments dynarray after playlist parsing
2018-12-26 19:22:11 +08:00
hwrenx
7499d0b015
lavc/libdavs2: enable multithread
...
Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: hwrenx <hwrenx@126.com>
2018-12-26 19:14:33 +08:00
Paul B Mahol
9ce96a744d
avfilter/af_headphone: fix regression after 7c201e420
2018-12-26 10:41:41 +01:00
Paul B Mahol
92ed9316bb
avfilter/af_sofalizer: fix regression after 7ea4b928a2
2018-12-26 10:18:19 +01:00
Paul B Mahol
60e9007be2
avfilter/af_sofalizer: fix typo in comments
2018-12-26 10:01:06 +01:00
Paul B Mahol
8e4e2c9e40
avfilter/af_sofalizer: use float constants
2018-12-26 10:01:06 +01:00
Paul B Mahol
530fc345ec
avfilter/af_sofalizer: add fltp sample format support
2018-12-26 10:01:06 +01:00
Marton Balint
70c86deb8e
avformat/mxfenc: support writing subsecond precision timestamps
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-12-25 20:16:29 +01:00
Marton Balint
02935c2c93
avformat/mxfdec: support subsecond precision of decoded timestamps
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-12-25 20:16:29 +01:00
Marton Balint
d0e43cf1a8
avformat/mxfdec: replace obsolete comment
...
We no longer use strftime directly but use av_timegm to get an int64_t timestamp.
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-12-25 20:16:29 +01:00
Paul B Mahol
6c7eb0708e
avfilter/af_headphone: speed up fast convolution
...
Do IFFT only once per output channel.
2018-12-25 19:17:25 +01:00
Paul B Mahol
8d0b8c50bd
avfilter/af_sofalizer: speed up fast convolution
...
Do inverse FFT only once per output channel.
2018-12-25 18:56:55 +01:00
Michael Niedermayer
7efe84aebd
avcodec/lagarith: Remove duplicate check
...
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-25 00:44:17 +01:00
Rene Claus
6a8cc86963
avcodec/libvpxenc: add VP8/9 sharpness config option
...
This commit adds configuration options to libvpxenc.c that can be used to
tune the sharpness parameter for VP8 and VP9.
Signed-off-by: Rene Claus <rclaus@google.com>
Signed-off-by: James Zern <jzern@google.com>
2018-12-24 13:20:06 -08:00
gxw
f652c7a45c
avcodec/mips: Fix failed case: hevc-conformance-AMP_A_Samsung_* when enable msa
...
The AV_INPUT_BUFFER_PADDING_SIZE has been increased to 64, but the value is still 32
in function ff_hevc_sao_edge_filter_8_msa. So, use AV_INPUT_BUFFER_PADDING_SIZE directly.
Also, use MAX_PB_SIZE directly instead of 64. Fate tests passed.
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-24 22:16:15 +01:00
Paul B Mahol
d6fc20a3ba
avfilter/af_surround: fix code indentation
2018-12-24 20:58:12 +01:00
Paul B Mahol
3bc711a267
avfilter/af_headphone: do not reduce LFE gain too much
2018-12-24 15:24:20 +01:00
Paul B Mahol
84d1adb118
avfilter/af_sofalizer: do not reduce LFE by 6dB
...
It is already reduced enough.
2018-12-24 15:24:20 +01:00
Steven Liu
cdbf8847ea
avformat/hlsenc: remove duplicate operation at hls_write_header
...
the options have set when avformat_init_output at hls_mux_init
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-12-24 13:25:58 +08:00
Paul B Mahol
7d5bb3a4d3
avfilter/af_sofalizer: fix memory leaks
2018-12-23 21:49:30 +01:00
Paul B Mahol
ee64b64c02
avfilter/af_sofalizer: set delays when interpolation is disabled
2018-12-23 21:40:07 +01:00
Paul B Mahol
c4a05ae65c
avcodec/wmavoice: use init_get_bits8()
2018-12-23 21:16:07 +01:00
Paul B Mahol
e483606d44
avcodec/g722dec: use init_get_bits8()
2018-12-23 21:01:17 +01:00
Paul B Mahol
f89919d4fb
avcodec/fic: use init_get_bits8()
2018-12-23 20:49:19 +01:00
Michael Niedermayer
30a7a81cdc
avcodec/fic: Fail on invalid slice size/off
...
Fixes: Timeout
Fixes: 11486/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FIC_fuzzer-5677133863583744
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-23 20:24:47 +01:00
Michael Niedermayer
80cce5998c
avcodec/ivi: Avoid mbs memleak
...
Fixes: 11696/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO5_fuzzer-5740319635668992
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-23 20:24:47 +01:00
Michael Niedermayer
fbf409cd91
avcodec/ilbcdec: fix integer overflow in energy
...
webrtc uses a int32_t like the existing code in ilbcdec
Fixes: signed integer overflow: 2080245063 + 257939661 cannot be represented in type 'int'
Fixes: 11037/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ILBC_fuzzer-5682976612941824
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-23 20:24:47 +01:00
Paul B Mahol
4096c670ab
avfilter/af_sofalizer: stop using easy API
...
Easy API is not flexible enough for our needs.
2018-12-23 18:29:53 +01:00
Paul B Mahol
f52dd8a55a
avcodec/g723_1dec: use init_get_bits8()
2018-12-23 15:40:47 +01:00
Paul B Mahol
3601eb0474
avcodec: add g732_1 parser
2018-12-23 15:30:13 +01:00
Paul B Mahol
d360a79c0a
avfilter/af_sofalizer: reset FFT pointers back to NULL
2018-12-23 11:30:01 +01:00
Paul B Mahol
0c3481b43a
avfilter/af_sofalizer: pick IR length after loading sofa
...
Instead of picking it in preloading stage.
2018-12-23 11:02:34 +01:00
Paul B Mahol
b13fe6477d
avfilter/af_sofalizer: increase range for lfegain
...
Fixes #7634 .
2018-12-23 10:00:44 +01:00
Gorilla Maguila
bb586a9703
avformat/dashdec: refine uri path with double dot process
...
fix ticket: 7540
2018-12-23 15:18:55 +08:00