Timothy Gu
8c56a4a1ed
vf_blend: Move C dsp function mapping to separate function
9 years ago
Michael Niedermayer
b65ea6ab44
avfilter/vf_tinterlace: fix image alignment
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timothy Gu
a678d66781
vf_blend: Use integers for divide mode
2.5x faster for 8-bit mode without autovectorization in GCC, 2x
slower with it on x86. However, since the platforms we enable GCC
autovectorization on most probably has support for SSE2
optimization (added in the subsequent commit), this commit should
in general do good.
9 years ago
Timothy Gu
4574323973
vf_blend: Reduce number of arguments for kernel function
9 years ago
Timothy Gu
ee281b884e
vf_blend: Use memcpy when opacity is 0
For xor mode, 1.8x faster on Haswell.
9 years ago
Timothy Gu
ba25936df5
vf_blend: Templatize identity function and use a better name
9 years ago
Paul B Mahol
e167d4ebac
avfilter/f_metadata: remove unused headers
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
13ea7c9780
avfilter/avf_showspectrum: improve pts handling
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
817bf8483e
avfilter/af_anequalizer: Avoid loss of precision when calculating nyquist frequency
Fixes: CID1351398
Fixes: CID1351400
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
f9f684c0fb
avfilter/vf_zoompan: Initialize ret
Silences: CID1351394
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
03b26a2514
avfilter/vf_zoompan: Fix use of uninitialized variables
Fixes: CID1351392
Fixes: CID1351393
Fixes: CID1351395
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
156013111a
avfilter/avf_ahistogram: assert that variables are initialized by switch()
Silences: CID1351397
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
43bf15d1a4
avfilter/avf_showfreqs: assert that variables are initialized by switch()
Silences: CID1351396
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
9313fb6a3e
avfilter/vf_zoompan: Remove dead store
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
62eb935bf9
avfilter/avf_avectorscope: assert that variables are initialized by switch()
Silences: CID1351390
Silences: CID1351391
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
03c1129b20
avfilter/vaf_spectrumsynth: assert that variables are initialized by switch()
Silences: CID1351387
Silences: CID1351388
Silences: CID1351389
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Tobias Rapp
80026a8ac3
avfilter/f_metadata: rename "string" into "same_str"
Rename function option value "string" into "same_str". Remove obsolete
"length" option.
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
9 years ago
Tobias Rapp
730da5c207
avfilter/f_metadata: whitespace clean-up
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
9 years ago
Tobias Rapp
6889deba68
avfilter/f_metadata: add starts_with string function
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
9 years ago
Tobias Rapp
202f978728
avfilter/f_metadata: add support for file output
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
9 years ago
Tobias Rapp
8b99c5e8da
avfilter/f_metadata: avoid float rounding problems
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
9 years ago
Michael Niedermayer
ac3a275d1e
avfilter/vf_nnedi: Simplify away some trivial mem*()
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timothy Gu
74f8d9aaef
x86/vf_blend: Add SSE2 optimization for screen
10x faster than C.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Timothy Gu
c8b1612af0
x86/vf_blend: Move multiplying to a macro
Reviewed-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
5486d7fa91
avfilter/dualinput: use pts provided by framesync
This fixes stalled output pts when main stream ends.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
408ea50ca6
avfilter/f_metadata: fix few logic errors
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
4ca8879d19
avfilter: add metadata filters
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
674cc26f25
avfilter/vf_nnedi: Fix memleak
Fixes CID1351359
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
8e46c7c1e7
avfilter/af_agate: fix memleak of out frame
Fixes CID1351358
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timothy Gu
253209ac44
vf_blend: Add SSE2 optimization for multiply
5 times faster than C, 3 times overall.
9 years ago
Paul B Mahol
35d9441f7b
avfilter/vf_swaprect: add timeline support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
05924e1440
avfilter/af_anequalizer: Fix memleak of args
Fixes CID1351355
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
e7786959cc
avfilter/vaf_spectrumsynth: Move "break" up
Fixes CID1351347
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
6bdeac24e0
avfilter/af_aformat: remove deprecated syntax from options description
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
ba618bde7f
avfilter/vf_blend: add multiply128 mode
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Clément Bœsch
6c0318c4ba
lavfi/fieldmatch: fix fields copy when plane height is odd
Fixes Ticket 5187
9 years ago
Paul B Mahol
f5c3f85eb2
avfilter: add swaprect filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years ago
Paul B Mahol
d12d48d0a8
avfilter: add streamselect and astreamselect filter
Signed-off-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
b1fe794033
avfilter/split: support any channel count for asplit filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
1693336aed
avfilter/af_apulsator: assert that pathes leaving uninitialized variables do not occur
Fixes: CID1341581, CID1341582
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
f862ff750b
avfilter/vf_stack: free input pads name on uninit
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
f89bc661b4
avfilter/af_afftfilt: Set last_expr to the default
This fixes a null pointer dereferece
Fixes: CID1351346
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
908d010b12
avfilter/af_sidechaincompress: Free out frame on error
Fix memleak
Fixes CID1197065 part 2
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
c1b23e158c
avfilter/vf_nnedi: fix ISO C90 warnings
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
79991b2288
avfilter: add nnedi filter
Port of nnedi3 vapoursynth filter.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
0a7379d9cf
avfilter/vf_yadif: make use of ctx pointer
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Timothy Gu
180f9a0958
all: Make header guard names consistent
9 years ago
Timothy Gu
014e4e4499
vf_phase: Reduce the scope of several variables
Reviewed-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
4ab4793c15
avfilter/avf_showfreqs: properly handle pts
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Timothy Gu
44304ae322
all: Add missing header guards
9 years ago