Andrew Kelley
d3cfd7aff8
af_compand: make sure request_frame always outputs at least one frame
...
This fixes a segmentation fault because request_frame in fifo.c assumes
that the call to ff_request_frame will populate fifo->root.next.
Before, it was possible for request_frame in af_compand to not do this,
resulting in a null pointer access. Now, request_frame in af_compand
always will return at least one frame or an error, as per the API
specifications in avfilter.h for request_frame.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Michael Niedermayer
576ced5530
avfilter/vf_drawtext: Add #if HAVE_UNISTD_H around #include <unistd.h>
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
e592bf3d2f
avfilter/vsrc_cellauto: Use av_mallocz_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
d90ad5b2bb
avfilter/vf_vignette: Use av_malloc_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
11e4890eeb
avfilter/unsharp_opencl: use av_mallocz_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
d5601cf6fc
avfilter/haldclut: fix R/B swap in CLUT loading
...
Fixes Ticket #3751 .
11 years ago
Stefano Sabatini
85eabd748b
lavfi/drawtext: do not allocate FT_Glyph, but keep it in the Glyph structure
...
Slightly simplify.
11 years ago
Leandro Santiago
4582e1162a
avfilter/vf_drawtext: fix resource leak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Paul B Mahol
b52c26c66f
avfilter: add flanger filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
7e8c1f0c38
avfilter/af_aphaser: move wave table generation code into separate file
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Michael Niedermayer
1265247206
avfilter/vf_format: Check pix_fmts before dereferencing it
...
Fixes CID1224286
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
5ab67340f9
avfilter/avfiltergraph: dont "or" together error codes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Stefano Sabatini
462c9ee3ac
lavfi/overlay: show incoming frames on debug messages
...
This is especially useful to debug queue overflow issues.
Ideally we should be able to set the debug message at the
dualinput/framesync level, but they do not have the information related
to the filter context and the inlink, so cannot access much useful
information.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
11 years ago
Michael Niedermayer
a97137e948
avfilter/f_ebur128: Use av_malloc_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Muhammad Faiz
46563af79c
avfilter/showcqt: adding freetype support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
d5f817793e
avfilter/overlay: reindent
11 years ago
Clément Bœsch
b18d1b094e
avfilter/buffersrc: reindent
11 years ago
Michael Niedermayer
525a165d99
avfilter/vf_pullup: workaround bug in gcc 4.4.3 on ARM
...
The gcc version affected is very old and unmaintained AFAIK thus i made no
attempt to report this to the gcc developers.
The workaround is pushed as it may still affect users and does affect one
fate client
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
a348f4befe
avfilter/x86/vf_pullup: fix "invalid combination of opcode and operands" with nasm
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
b8255a4c70
avfilter/x86/vf_pullup: fix old typo
...
This makes C and MMX match, no change to fate as the differences where
apparently not sufficient to show up in fate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
6dffc8f5aa
avfilter/vf_pullup: use ptrdiff_t as stride argument for dsp functions
...
This should avoid issues on x86_64
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
f364101144
avfilter/vf_deshake: fix macro ()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
0ed110133f
avfilter/vf_colormatrix: fix macro ()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
723550d3ca
avfilter/vf_hqx: optimize table init
...
5389024880 -> 1389386610 dezicycles
This surely can be optimized more, i just didnt want to cause a slowdown
when trying to make the fate test bitexact.
Further optimization left to ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
236aa4de2a
avfilter/vf_hqx: avoid floats
...
this likely fixes fate failures
2748170880 -> 5389024880 dezicycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
9b33cdcab2
avfilter/vf_blend: fix macro ()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
31f77b46b2
avfilter/unsharp_opencl: fix macro ()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Andrey Utkin
3bb4d26a5d
drawtext: drop unused draw_glyphs() arg "rgbcolor"
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
954a38e9bf
avfilter/vf_hqx: remove << 0
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
d7efafd63a
avfilter/vf_hqx: partly fix big endian fate test
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
84de3ed795
avfilter/deshake_opencl: fix macro ()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
04776cedec
avfilter/avf_showspectrum: fix macro ()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
79198cb65a
avfilter/hqx: add some self promotion in doxy.
...
This is useful to understand how it's different from the original code.
11 years ago
Clément Bœsch
4d8fc0e088
avfilter/hqx: unroll the pattern calculation
...
Code si smaller, no speed difference.
11 years ago
Clément Bœsch
ded3c9fd32
avfilter: add hqx filter (hq2x, hq3x, hq4x)
...
Partially fixes Ticket #3404 (xbr filter remaining)
11 years ago
Michael Niedermayer
eb0fc73dcc
avfilter/vf_spp: Use av_malloc_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
f31fd06713
vf_sab: use av_malloc_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Christophe Gisquet
9107612818
x86util: add and use RSHIFT/LSHIFT macros
...
Those macros take a byte number as shift argument, as this argument
differs between MMX and SSE2 instructions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Vittorio Giovara
5a69ded12a
vf_showinfo: print display transformation values
11 years ago
Michael Niedermayer
33834be9c8
avfilter/af_asetnsamples: fix pts handling when timebase and 1/samplerate differ
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
0a7ad6bf51
avfilter/formats: Use av_realloc_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
d03eefae4a
avfilter/vf_dejudder: Use av_mallocz_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
263aeb826d
avfilter/vf_unsharp: use av_malloc_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
1df441eaa8
vfilter/avf_showcqt: fix 'mixed declarations and code'
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Muhammad Faiz
0a64fb7fb0
avfilter/avf_showcqt: add option for lower resolution
...
Resolution can be 1920x1080 or 960x540.
11 years ago
Clément Bœsch
0180c46928
avfilter/showcqt: move qsort_sparsecoeff closer to where it belongs
11 years ago
Clément Bœsch
1786cd850f
avfilter/showcqt: fix misc style issues
11 years ago
Clément Bœsch
76bce46d8f
avfilter: add signalstats filter
...
Signed-off-by: Mark Heath <silicontrip@gmail.com>
Signed-off-by: Dave Rice <dave@dericed.com>
Signed-off-by: Clément Bœsch <u@pkh.me>
11 years ago
Michael Niedermayer
2ffe55a64f
avfilter/vf_zoompan: fix mixing of declarations and statements
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Paul B Mahol
4b6cb1cc69
Zoom & Pan filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago