Paul B Mahol
426abbb632
avfilter/libmpcodecs/vf_eq: remove useless storage class specifier in empty declaration
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Robert Krüger
83922cccb2
avfilter/vf_scale: Correct vf_scale mappings from arguments to color range
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
f6633c55a3
avfilter: Fix typo in Loren's email address
11 years ago
Derek Buitenhuis
692b930904
lavfi/pthread: Avoid crashes/odd behavior caused by spurious wakeups
...
This is similar to 5152196b2b
.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Derek Buitenhuis
3511d4fc97
pthread: Avoid crashes/odd behavior caused by spurious wakeups
...
This is similar to 5152196b2b
.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Vittorio Giovara
00d7369de0
vf_fieldorder: log when processing is skipped
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Paul B Mahol
c9660999b9
avfilter: replaygain scanner
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Michael Niedermayer
ab2bfb85d4
avfilter/ff_insert_pad: fix order of operations
...
Fixes out of bounds access
Fixes CID732170
Fixes CID732169
No filter is known to use this function in a way so the issue can be reproduced.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
d5ec8ba7f2
Do not leave positive values undefined when negative are defined as error
...
Define positive return values as non errors and leave further meaning undefined
This allows future extensions to use these values
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Derek Buitenhuis
eb90a2091f
pthread: Fix deadlock during thread initialization
...
Sometimes, if pthread_create() failed, then pthread_cond_wait() could
accidentally be called in the worker threads after the uninit function
had already called pthread_cond_broadcast(), leading to a deadlock.
Don't call pthread_cond_wait() if c->done is set.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Paul B Mahol
cfc9a4c732
avfilter/vsrc_testsrc: smpte(hd)bars: use yuv directly
...
Also set color space.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
1d8ce109e9
avfilter/vf_separatefields: do not reset pts to 0
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Michael Niedermayer
aeddc6e3a5
avfilter/lavfutils: fix memleak of avpacket
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
eedfee12c6
avfilter/vf_removelogo: fix pixel pointer so it points where its intended
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
8c582d1b22
avfilter/vf_removelogo: fix offset for accessing pixels above and below
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
8c0687abdf
avfilter/vf_removelogo: use av_freep() for saftey
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Paul B Mahol
d1d875d301
avfilter/vf_w3fdif: do not reset pts to 0
...
Shamelessly stolen from yadif.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Michael Niedermayer
0f322feffd
avfilter/buffersink: try to fix AV_NOPTS_VALUE
...
no testcase available, just found this issue by reading the code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
8780f7fbfa
avfilter/ff_filter_frame_needs_framing: fix handling of AV_NOPTS_VALUE
...
Fixes Ticket3015
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Paul B Mahol
162e22e144
avfilter/af_join: remove now unnecessary goto
...
Options are freed from the generic code now, there is no need to call
av_opt_free() from the filter.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Michael Niedermayer
728bb910ec
avfilter/vf_deshake: fix block_contrast() lower brightness value
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Lenny Wang
2779b7b30a
avfilter/deshake
...
The old row index looks weird and wrong to me
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
b8866783c6
avfilter/lswsutils: dont override the default scaler
...
This should make no difference as this code is only used by removelogo which
seems to refuse to use masks of different size.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Paul B Mahol
ad934bc353
avfilter/vf_drawtext: remove dead initialization
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
ce26a016cd
avfilter/vf_phase: remove dead initialization
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Michael Niedermayer
3ee796760a
avfilter/vf_scale: dont duplicate default.
...
use the defaults set by swscale
Suggested-by: stefano
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
931a4b433d
avfilter/vf_scale: change the default scaler to bicubic
...
See: [FFmpeg-devel] [PATCH] swscale/options: switch default to bicubic
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Paul B Mahol
746e3142ee
avfilter/f_interleave: use the name 's' for the pointer to the private context
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
9665217a75
avfilter/af_silencedetect: support more sample formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
a2c14ba2b1
avfilter/vf_histogram: use const for variables that are not supposed to change
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Michael Niedermayer
02a6ee5168
avfilter/vf_frei0r: fix out of array read
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Paul B Mahol
5f99e6d632
avfilter/vf_pullup: do not ignore frame field order
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Marton Balint
0362cf1a19
avfilter/vf_histogram: add mirrored waveform mode
...
Added parameter to mirror the waveform (high values are shown on top in column mode)
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
5b5bb0d81c
avfilter/vf_histogram: fix segfault in parade waveform mode for subsampled formats
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Vittorio Giovara
06e7301a2e
vf_interlace: do not process an already interlaced frame
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Clément Bœsch
3841e4510b
avfilter/avf_showspectrum: use the name 's' for the pointer to the private context
11 years ago
Paul B Mahol
848a1e6738
avfilter/af_afade: use the name 's' for the pointer to the private context
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Clément Bœsch
e31a239fea
avfilter/vf_removelogo: use the name 's' for the pointer to the private context
11 years ago
Paul B Mahol
7d0ce1e59d
avfilter/af_silencedetect: use the name 's' for the pointer to the private context
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
edadda968c
avfilter/vf_histogram: change order of histograms for planar rgb
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Marton Balint
cac9af68a4
avfilter/vf_histogram: add support for subsampled planar yuv modes in waveform mode
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
31a8461d64
avfilter/vf_histogram: improve waveform speed
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Paul B Mahol
0a4aea6db9
avfilter/vf_hflip: support slice threading
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
2a6a3d4317
avfilter/vf_hflip: refactor plane dimensions calculation
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
862773907a
avfilter/vf_rotate: support slice threading
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
cd1b22d8e8
avfilter/dualinput: simplify
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
61274193e3
avfilter/vf_rotate: use vsub for output plane height calculation
...
Output plane height used horizontal instead of vertical subsampling.
This is just cosmetic change as filter does not support formats where
vertical subsampling does not match horizontal one.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Paul B Mahol
88c8ed18c9
avfilter/dualinput: remove unused variable
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Anton Khirnov
0767bfd199
lavfi: allow user-provided execute() callbacks
11 years ago
Paul B Mahol
b890198b66
avfilter: add av_cold to init()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago