Matthieu Bouron
339668301e
swscale/arm/yuv2rgb: re-order compute_rgba macro arguments
9 years ago
Matthieu Bouron
ff4885face
swscale/arm/yuv2rgb: rename {process_1l,process_2l,compute}_16px{,_internal} macros
9 years ago
Matthieu Bouron
562653b731
swscale/arm/yuv2rgb: macro-ify
9 years ago
Matthieu Bouron
0286b56f2f
swscale/arm/yuv2rgb: factorize lsl in load_args_nvx
9 years ago
Matthieu Bouron
0649fe0fae
swscale/arm/yuv2rgb: factorize lsl in load_args_yuv420p
9 years ago
Matthieu Bouron
2aec59c07c
swscale/arm/yuv2rgb: remove unused store of dst + linesize in load_args_yuv422p
9 years ago
Matthieu Bouron
b3ea901945
swscale/arm/yuv2rgb: factorize lsl in load_args_yuv422p
9 years ago
Matthieu Bouron
466e209e6e
swscale/arm/yuv2rgb: fix comments in load_args_yuv422p
9 years ago
Matthieu Bouron
11b4acab8b
swscale/arm/yuv2rgb: remove 32bit code path
9 years ago
wm4
a5f5b8b96a
lavc: factor apply_param_change() AV_EF_EXPLODE handling
...
Remove the duplicated code for handling failure of apply_param_change().
9 years ago
wm4
f099cb2f8a
lavu: improve documentation of some AVFrame functions
9 years ago
Derek Buitenhuis
54ccaaeb2b
psxstr: Remove some commented out code
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Clément Bœsch
be8d98c1ad
lavc/utils: transfer width/height for subs in codecpar
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Derek Buitenhuis
dd77dad4e6
codecpar: Add video delay field
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Hendrik Leppkes
5b4f8af2f1
Add frame_size to AVCodecParameters
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
James Almer
3fafde6cbe
lavc: Add seek_preroll to AVCodecParameters
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Derek Buitenhuis
e6053b3b19
Merge commit 'a8068346e48e123f8d3bdf4d64464d81e53e5fc7'
...
* commit 'a8068346e48e123f8d3bdf4d64464d81e53e5fc7':
lavc: add a variant of av_get_audio_frame_duration working with AVCodecParameters
Fixes from jamrial incorporated.
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Derek Buitenhuis
f9b1cf15c2
Merge commit '998e1b8f521b73e1ed3a13caaabcf79eb401cf0d'
...
* commit '998e1b8f521b73e1ed3a13caaabcf79eb401cf0d':
lavc: add codec parameters API
Fixes added in:
- bit_rate has been made int64_t to match.
- profile and level are properly initialize.
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Pedro Arthur
6de58b4903
swscale: cleanup unused code
...
Removed previous swscale code under '#ifndef NEW_FILTER'
and removed unused fields of SwsContext
9 years ago
Michael Niedermayer
3b905b9fe6
swscale: Deprecate vector functions which are unused outside swscale
...
There are no known users of these functions within debian
It should be thus possible to remove these functions without recommandition of a
replacement
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Alex Smith
a677121cc5
configure: Fix debugging on mingw-w64 with gdb
...
The relocation hack broke debugging on mingw-w64 when using gdb. This
makes the reloc hack dependent on --disable-debug so it's still enabled
for release builds.
This is simply an immediate fix for the issue of broken debugging, we
should probably still look at the possibility of reverting it outright
if it proves to be more trouble than it's worth. For now keeping it
enabled for release builds is a reasonable trade off.
Signed-off-by: Alex Smith <theryuu@warpsharp.info>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
cf925e0ac1
doc/filters: add stereotools examples
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
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