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>
10 years ago
Josh de Kock
6bb99757b7
jack: Support OSX
Previously, with JACK installed, the configure script would enable the
JACK indev; this broke on OS X due to an incomplete pthreads
implementation. Add some simple macros to map libdispatch to pthreads
on OS X.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Luca Barbato
5f02266681
matroska: Support interlaced content correctly
The matroska specification now has two elements for it.
10 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>
10 years ago
Paul B Mahol
cf925e0ac1
doc/filters: add stereotools examples
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
241a3a6ca4
doc/filters: add sofalizer examples
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 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
10 years ago
Claudio Freire
be746ae470
AAC encoder: fix undefined behavior
Fix uninitialized access of minsf in short windows
Fix potential invocation of coef2minsf(0)
10 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>
10 years ago
Michael Niedermayer
a35a4a5774
fate: Add filter-metadata-cropdetect
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Diego Biurrun
44f05f15d4
build: Do not check the vaapi_encode.h header if VAAPI is not enabled
10 years ago
Diego Biurrun
bd016dbf23
Mark tables used only within their files as static
10 years ago
Diego Biurrun
061dc20351
h264: Add missing ff_ prefix to internally visible h264_init_dequant_tables()
10 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.
10 years ago
Timo Rothenpieler
b3557c79dc
avcodec/nvenc: Generate AUD NAL units for better compatiblity
10 years ago
Anton Khirnov
69a638019f
avconv: fix -frames for video
For video, frame_number tracks the number of frames sent to the encoder.
So it should be incremented when we submit a frame, not when we get a
packet back.
10 years ago
Mark Thompson
83f230c244
lavc: VAAPI MJPEG encoder
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Mark Thompson
31fe1f2577
lavc: VAAPI H.265 encoder
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Mark Thompson
2c62fcdf5d
lavc: VAAPI H.264 encoder
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Mark Thompson
104c804bca
lavc: VAAPI encode common infrastructure
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Mark Thompson
5d273d3efa
avconv: VAAPI hwcontext initialisation and hwaccel helper
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Michael Niedermayer
b3ec5b00ce
tests/audiomatch: Reduce search window
This avoids unneeded computations
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Michael Niedermayer
c7b983249a
tests/audiomatch: also print signal vs reference length
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 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>
10 years ago
Rostislav Pehlivanov
02172d93f6
Revert "aacenc: use av_clip() instead of av_clip() during quantization"
This reverts commit c0918613a0ecaac6819409c64107583eebc0ccc2, since it
triggered a new assertion with gcc.
This bug definitely needs a true proper fix.
10 years ago
Rostislav Pehlivanov
7cda7683a5
Revert "doc/filters: remove false claim in sofalizer description"
This reverts commit bf1495d9a9 .
10 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>
10 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>
10 years ago
Paul B Mahol
4a80a6ad21
avfilter/vf_waveform: optimize lowpass filter even more
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 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>
10 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>
10 years ago
Vittorio Giovara
ca8c759173
intrax8: Remove mpegvideo dependency
10 years ago
Diego Biurrun
6ebd06a9b2
intrax8: Drop lots of pointless parentheses
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Vittorio Giovara
9b57995cdd
intrax8: Drop MB emulation code
This is already performed in init_context_frame().
10 years ago
Vittorio Giovara
9fa888c028
intrax8: Keep a reference to the decoder blocks
10 years ago
Vittorio Giovara
c2084ffcbf
intrax8: Use the generic horizband function
This is assuming that intrax8 has no support for interlacing
Carry over lowdelay value in ff_intrax8_decode_picture.
10 years ago
Vittorio Giovara
b1268e0f03
intrax8: Pass macroblock coordinates to ff_intrax8_decode_picture
These values need to be updated with the last macroblock position,
so keep them as pointers.
10 years ago
Vittorio Giovara
d0540fd021
intrax8: Pass macroblock size to ff_intrax8_common_init
Helps in decoupling this code from mpegvideo.
10 years ago
Vittorio Giovara
9f4d99138d
fate: Add test for WMV2 with jframes
10 years ago
James Almer
d5a3578350
avformat/svag: fix division by zero
Fixes ticket #5386
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Lou Logan
06eef96b69
fix some a/an typos
Signed-off-by: Lou Logan <lou@lrcd.com>
10 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>
10 years ago
Lou Logan
cd76eb8f4a
lavd/dshow_crossbar: remove trailing whitespace
Signed-off-by: Lou Logan <lou@lrcd.com>
10 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>
10 years ago
Kirill Gavrilov
f3ec8ac0f4
lavc/mediacodec: fix zero stride for OMX.allwinner.video.decoder.avc
10 years ago
Paul B Mahol
c2bbcf1607
avfilter/vf_waveform: optimize 16bit lowpass filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
ff982e02b5
avcodec: add dca core extraction bsf
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Anton Khirnov
ca2f19b9cc
h264: switch to h2645_parse for NAL parsing
10 years ago
Matthieu Bouron
308d3ed5aa
lavc/mediacodec: use ternary operator to set slice-height value
10 years ago
Anton Khirnov
a7829a2a3f
h264: reimplement 3aa661ec5 in a more explicit way
Instead of handling the problem inside NAL decoding code, add a higher
level wrapper function. This should be more robust against future
changes (and easier to read).
10 years ago