Paul B Mahol
241a3a6ca4
doc/filters: add sofalizer examples
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Clément Bœsch
263eb76bdf
sws/aarch64: add ff_hscale_8_to_15_neon
...
./ffmpeg -nostats -f lavfi -i testsrc2=4k:d=2 -vf bench=start,scale=1024x1024,bench=stop -f null -
before: t:0.489726 avg:0.489883 max:0.491852 min:0.489482
after: t:0.256515 avg:0.256458 max:0.256999 min:0.253755
9 years ago
Claudio Freire
be746ae470
AAC encoder: fix undefined behavior
...
Fix uninitialized access of minsf in short windows
Fix potential invocation of coef2minsf(0)
9 years ago
James Almer
9bf3d01d91
avformat/latmenc: auto-insert aac_adtstoasc bitstream filter when needed
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
a35a4a5774
fate: Add filter-metadata-cropdetect
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Claudio Freire
c883da6bf4
AAC encoder: fix signed integer overflow
...
Clamp scalefactors by coef2minsf to avoid undefined behavior
caused by signed integer overflow. It also avoids clipping of
coefficients so it should avoid artifacts as well, on very
rare corner cases.
9 years ago
Timo Rothenpieler
b3557c79dc
avcodec/nvenc: Generate AUD NAL units for better compatiblity
9 years ago
Michael Niedermayer
b3ec5b00ce
tests/audiomatch: Reduce search window
...
This avoids unneeded computations
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
c7b983249a
tests/audiomatch: also print signal vs reference length
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
974734c98c
doc/filters: remove false claim in sofalizer description
...
Remove false claim that processing in freq domain is
worse quality than processing in time domain.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Rostislav Pehlivanov
02172d93f6
Revert "aacenc: use av_clip() instead of av_clip() during quantization"
...
This reverts commit c0918613a0
, since it
triggered a new assertion with gcc.
This bug definitely needs a true proper fix.
9 years ago
Rostislav Pehlivanov
7cda7683a5
Revert "doc/filters: remove false claim in sofalizer description"
...
This reverts commit bf1495d9a9
.
9 years ago
Rostislav Pehlivanov
c0918613a0
aacenc: use av_clip() instead of av_clip() during quantization
...
Seems like clang might be miscompiling it and causing a signed integer overflow,
making a FATE test fail.
Doesn't seem to affect performance, it only runs on the ESC codebook.
Reviewed-by: Claudio Freire <klaussfreire@gmail.com>
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
Paul B Mahol
bf1495d9a9
doc/filters: remove false claim in sofalizer description
...
Remove false claim that processing in freq domain is
worse quality than processing in time domain.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
4a80a6ad21
avfilter/vf_waveform: optimize lowpass filter even more
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Jovan Zelincevic
b73c27151e
avcodec/mips: Optimization synced to the newest code base.
...
FFT expanded to 2^17.
Signed-off-by: Jovan Zelincevic <jovan.zelincevic@imgtec.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vittorio Giovara
7888ae8266
cfhd: Do not initialize context size
...
Otherwise probing and stream analisys will report a correct coded size
but an empty visible size.
Approved by: kieran
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
d5a3578350
avformat/svag: fix division by zero
...
Fixes ticket #5386
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Lou Logan
06eef96b69
fix some a/an typos
...
Signed-off-by: Lou Logan <lou@lrcd.com>
9 years ago
Marton Balint
99f2a59c2f
avcodec/utils: fix packet duration of frames with discarded paddings
...
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Lou Logan
cd76eb8f4a
lavd/dshow_crossbar: remove trailing whitespace
...
Signed-off-by: Lou Logan <lou@lrcd.com>
9 years ago
Paul B Mahol
a55c953ef0
avfilter/af_sofalizer: allow user to setup custom virtual speakers positions
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Kirill Gavrilov
f3ec8ac0f4
lavc/mediacodec: fix zero stride for OMX.allwinner.video.decoder.avc
9 years ago
Paul B Mahol
c2bbcf1607
avfilter/vf_waveform: optimize 16bit lowpass filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
ff982e02b5
avcodec: add dca core extraction bsf
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Matthieu Bouron
308d3ed5aa
lavc/mediacodec: use ternary operator to set slice-height value
9 years ago
Michael Niedermayer
8f2a1990c0
avcodec/diracdec: check bitstream size related fields for overflows
...
Fixes segfault
Fixes Ticket5333
Regression since bfc8a4dabe
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timo Rothenpieler
665c05f7cb
configure: Fail if CUDA enabled but not found
...
Without this patch, configure still passes and enables CUDA, no matter
if it was actually found, breaking the build in case it was not.
9 years ago
Paul B Mahol
48be92e5b6
avfilter/vf_waveform: optimize lowpass 8bit filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
0b9957c301
avfilter/vf_waveform: move mirror variable into function argument
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Kieran Kunhya
e259dc86a8
avcodec: Remove libdcadec, we already have it merged internally
9 years ago
Michael Niedermayer
c50be7a52b
avcodec/h264_slice: Check PPS more extensively when its not copied
...
Fixes Ticket5371
Fixes null pointer dereference
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Marton Balint
8ff0f6ae82
avformat/segment: set format options for all segments
...
Fixes ticket #5318 .
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Michael Niedermayer
5a19506088
fate: Remove vsync drop from some h264 tests
...
Note some tests need vsync drop to produce exact timestamps, these seem not to
need it. quite likely many more dont need it either, ive not checked beyond finding
one that needs it and the ones which have it removed
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
d4424d7de2
fate: Modify a random h264 test to also test the -framerate option
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Dan Dennedy
28688d7c2b
avcodec/audiotoolboxenc: Fix compile error on OS X 10.8.
...
Fixes error "libavcodec/audiotoolboxenc.c:294:50: error: use of undeclared
identifier 'kAudioCodecPropertyPacketSizeLimitForVBR'."
That was added to 10.9:
https://developer.apple.com/library/mac/releasenotes/General/APIDiffsMacOSX10_9/AudioUnit.html
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Carl Eugen Hoyos
de1a0d4359
lavc/flicvideo: Implement padding in COPY chunks.
...
Reviewed-by: Reimar
9 years ago
Michael Niedermayer
c06bdc60c9
avformat/rtpdec: Remove stray debug av_log()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Martin Vignali
495f08edb4
avcodec/exr: add support for B44 and B44A compression
9 years ago
Paul B Mahol
585cfabb79
avcodec/jpeg2000dec: add slice threading support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
e2298b3fcc
avcodec/jpeg2000dec: account two last bytes from end of bytestream as EOC marker
...
This silences missing EOC marker when decoding j2k files with Psot set to 0.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Thilo Borgmann
4d251723c0
lavfi: Add coreimage filter for GPU based image filtering on OSX.
9 years ago
Thilo Borgmann
4ebf0b109c
lavu/dict: Add new flag to allow multiple equal keys.
9 years ago
Clément Bœsch
277408b7f1
sws/aarch64/yuv2rgb: save a few mul and add
...
27ms to 26ms with UHD 2160 input.
9 years ago
James Almer
99388eb091
avcodec/libopenjpegenc: fix mixed declarations and code
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
21cd0228be
avcodec/libopenjpegdec: fix mixed declarations and code
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
0cd9ff4e3a
avcodec/libutvideodec: copy frame so it has reference counters when refcounted_frames is set
...
Reviewed-by: maintainer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
54f43984e1
avutil/parseutils: mark args as static const
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Petru Rares Sincraian
f707042c93
Added more tests to libavutil/parseutils.c
...
- Added tests for av_find_info_tag().
- Added test for av_get_known_color_name()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Ico Doornekamp
e3e6a2cff4
avformat/rtpdec_jpeg: fix low contrast image on low quality setting
...
Original mail and my own followup on ffmpeg-user earlier today:
I have a device sending out a MJPEG/RTP stream on a low quality setting.
Decoding and displaying the video with libavformat results in a washed
out, low contrast, greyish image. Playing the same stream with VLC results
in proper color representation.
Screenshots for comparison:
http://zevv.nl/div/libav/shot-ffplay.jpg
http://zevv.nl/div/libav/shot-vlc.jpg
A pcap capture of a few seconds of video and SDP file for playing the
stream are available at
http://zevv.nl/div/libav/mjpeg.pcap
http://zevv.nl/div/libav/mjpeg.sdp
I believe the problem might be in the calculation of the quantization
tables in the function create_default_qtables(), the attached patch
solves the issue for me.
The problem is that the argument 'q' is of the type uint8_t. According to the
JPEG standard, if 1 <= q <= 50, the scale factor 'S' should be 5000 / Q.
Because the create_default_qtables() reuses the variable 'q' to store the
result of this calculation, for small values of q < 19, q wil subsequently
overflow and give wrong results in the calculated quantization tables. The
patch below uses a new variable 'S' (same name as in RFC2435) with the proper
range to store the result of the division.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago