Michael Niedermayer
8baa1d2209
avfilter/vf_paletteuse: enable skip_initial_unpaired
...
Fixes crash due to unprocessed input being passed through
This fixes the last segfault caused by mixing 3.0 and 3.1 libs and
applications
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
f1dabc958e
avfilter/dualinput: Add support to skip initial unpaired frames
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
fdd8aac7e1
avfilter/src_movie: Add option to remove timestamp discontinuities
...
This can also be extended to remove discontiuities caused by seek commands
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Clément Bœsch
a887fbb582
lavfi/subtitles: remove unecessary checks
9 years ago
Clément Bœsch
e73ccfd6ad
lavfi/subtitles: fix memleak after 6bcb1e1a
...
Spotted-by: James Almer <jamrial@gmail.com>
9 years ago
Clément Bœsch
6bcb1e1aff
lavfi/subtitles: switch to codecpar
9 years ago
Muhammad Faiz
1b7eaead0c
avfilter/showcqt: set some frame properties
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Thomas Mundt
8b7b52c863
avfilter/vf_bwdif: Change default to deinterlace all frames
...
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Michael Niedermayer
0fcc252829
Revert "avfilter/trim: add compatibility layer to not break ABI used by ffmpeg"
...
This reverts commit 9219ec93b1
.
Fixes Ticket 5411
9 years ago
Benjamin Steffes
5b95b4616a
avfilter/af_hdcd: Use int32_t instead of int for gaintable in hdcd filter.
...
Signed-off-by: Benjamin Steffes <benjaminst123@gmail.com>
(comment by ronald)
prevent the theoretical case where the container type (int)
would be 64 bit on some platforms, which would waste some space
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
dsmudhar
7a2b9dd060
vf_codecview: added new options
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
fa0097e008
avfilter/vf_telecine: Make frame writable before writing into it
...
Fixes Ticket 5627
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Muhammad Faiz
6602361295
avfilter/graphparser: remove '\n' from parse_filter
...
this allow a filter to be written like this:
aformat =
sample_fmts = fltp|flt:
sample_rates = 44100|44800
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Ilya87
be37a66971
Timeline function for the eq filter
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Dave Rice
5d12cfacde
avfilter/vf_histogram: indent histogram options
9 years ago
Dave Rice
91bc42528c
avfilter/vf_histogram: shortcuts for histogram options
9 years ago
Kyle Swanson
765703498a
avfilter/af_loudnorm: add dual_mono option
...
Signed-off-by: Kyle Swanson <k@ylo.ph>
9 years ago
Michael Niedermayer
f2c8b666be
avfilter: Fix max value of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
172af20852
x86/showcqt: use three operand format for some instructions
...
Fixes failures with yasm 1.1.0 and older
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
7d7fdd6532
x86/showcqt: add missing preprocessor checks
...
Old yasm/nasm versions don't support some of these
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Muhammad Faiz
2991d93520
avfilter/src_movie: call open_stream after guess_channel_layout
...
fix error 'Channel layout change is not supported' when
opening wav file
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Muhammad Faiz
a096d3ec47
avfilter/avf_showcqt: set range on fps/rate/r option
...
see Ticket #5618
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
James Almer
99b899483e
avutil/x86util: move haddps sse emulation from showcqt
...
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Muhammad Faiz
1e69ac9246
avfilter/avf_showcqt: cqt_calc optimization on x86
...
on x86_64:
time PSNR
plain 3.303 inf
SSE 1.649 107.087535
SSE3 1.632 107.087535
AVX 1.409 106.986771
FMA3 1.265 107.108437
on x86_32 (PSNR compared to x86_64 plain):
time PSNR
plain 7.225 103.951979
SSE 1.827 105.859282
SSE3 1.819 105.859282
AVX 1.533 105.997661
FMA3 1.384 105.885377
FMA4 test is not available
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Muhammad Faiz
77d4dfbec6
avfilter/af_firequalizer: add zero_phase option
...
simply by substracting pts to compensate delay
also handle AV_NOPTS_VALUE
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Michael Niedermayer
abc957e896
avfilter/af_amix: dont fail if there are no samples in output_frame()
...
Fixes Ticket5326
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Thomas Mundt
a0a4a4b370
avfilter/vf_colormatrix: add bt.2020 colorspace
...
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Thomas Mundt
2e395bbccf
avfilter/vf_colormatrix: increase precision
...
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Muhammad Faiz
1e6a0c9d14
avfilter/avf_showcqt: render default font at 960x16
...
and let ffmpeg scaler scale it
this impoves quality
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Muhammad Faiz
1b05521bb7
avfilter/avf_showcqt: full chroma blending on draw_axis_yuv
...
improve quality on axis drawing with yuv422p and yuv420p format
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Michael Niedermayer
645f7c1ce5
avfilter/f_loop: Fix leak on error
...
Fixes CID1355117
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
be96ebdcd7
avfilter/vf_fieldhint: Reorder operation to prevent hypothetical integer overflow
...
Fixes CID1355110
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
7ae4d574e8
avfilter/vf_fieldhint: Assert that mode is valid
...
Its checked by the AVOption code
Fixes CID1355122
Fixes CID1355121
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
281caece46
avfilter/avfiltergraph: Clear graph pointers in ff_filter_graph_remove_filter()
...
When a filter is no longer part of a graph, its pointers should be cleared
so no stale pointers remain.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Muhammad Faiz
defab0825f
avfilter/src_movie: add various commands
...
add seek command
add get_duration command
Update to codecpar by commiter
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
dsmudhar
04d35004c3
libavfilter/vf_hwdownload: show error when ff_formats_ref fails
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
35b37591c0
avfilter/af_hdcd: Replace complexer expression by litteral constant
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
5b8faaad6c
avfilter/vf_blend: fix incorrect Y variable when threading is used
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Anton Khirnov
ac84e618df
avfiltergraph: check the query_formats() return value
9 years ago
dsmudhar
5836a5037e
libavfilter/af_hdcd: fixed negative signed value shift
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
defb960a47
avfilter/af_loudnorm: fix crash when ebur128 initialization was not successfull/complete
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
e7c5dbb4d1
avfilter/avf_ahistogram: raise minimum acmax to 1
...
If acmax can be 0 then it could result in a division by 0
Fixes CID1351345
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Kyle Swanson
c0c378009b
avfilter: add loudnorm
...
Signed-off-by: Kyle Swanson <k@ylo.ph>
9 years ago
Diego Biurrun
a6a750c7ef
tests: Move all test programs to a subdirectory
9 years ago
Derek Buitenhuis
f693184557
Split drawutils test out into separate file
...
This was missed during 96d616052b
because
it is not included in FATE.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years ago
Rodger Combs
d645182227
lavfi/drawutils: support NV12 and NV21
9 years ago
Jean Delvare
aeefe018f8
avfilter/delogo: Check that logo area is inside the picture
...
We can only remove the logo if it is inside the picture. We need at
least one pixel around the logo area for interpolation.
Fixes ticket #5527 (Delogo crash with x=0 and/or y=0).
Signed-off-by: Jean Delvare <jdelvare@suse.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Ronald S. Bultje
531ff7161d
vf_colorspace: don't enable passthrough if bitdepth doesn't match.
...
Also check return value of av_frame_copy() in passthrough mode, so that
if a copy fails (as it did here, because bitdepth didn't match), the filter
doesn't return success, which would mean sending an uninitialized framebuffer
further down the filtergraph.
9 years ago
Ronald S. Bultje
356c116536
vf_colorspace: fix range order.
9 years ago
Ronald S. Bultje
9bbed8645a
vf_colorspace: make whitepoint adaptation mode configurable.
...
Also add von kries whitepoint adaptation, and add 'identity' to turn
whitepoint adaptation off.
9 years ago