Clément Bœsch
160ea26560
lavfi/haldclutsrc: 10l remove size options.
2013-05-27 20:53:25 +02:00
Clément Bœsch
92a2d12a71
lavfi/overlay: remove do_blend forward declaration.
2013-05-27 20:42:46 +02:00
Clément Bœsch
ae5738248a
lavfi/lut3d: move lut3d init to its definition scope.
2013-05-27 20:42:46 +02:00
Clément Bœsch
158d96e3f0
lavfi: add haldclut filter.
...
Fixes Ticket #2517 .
2013-05-27 20:42:28 +02:00
Clément Bœsch
4328602890
lavfi: add dual input helpers.
2013-05-27 20:32:28 +02:00
Clément Bœsch
3cec29cf59
lavfi: add haldclutsrc filter.
2013-05-27 20:32:28 +02:00
Clément Bœsch
b439ece51c
lavfi/dctdnoiz: move DC normalization out of loops.
...
Make code slightly faster, simpler, clearer.
The filter is still slow as hell, and that change won't cause any
visible performance improvement (it still takes more than one minute to
process a single 1080p frame on a Core 2 here).
2013-05-26 22:41:02 +02:00
Clément Bœsch
56cea3294a
lavfi/lut3d: faster tetrahedral interpolation.
...
Increase performance by fetching only the necessary points.
1097 → 917 decicyles.
2013-05-26 18:48:51 +02:00
Clément Bœsch
b6ee25e300
lavfi/lut3d: restore original interpolation speed.
...
Call NEXT() only once since it got slower due to the overflow condition
introduced in 91b46145 .
interp_trilinear: 1462 → 1280 decicycles
interp_tetrahedral: 1188 → 1097 decicycles
Tested on a Core2, GCC 4.8.
2013-05-26 18:48:10 +02:00
Clément Bœsch
477f4efd0f
lavf/swf: remove unused assert include.
2013-05-26 15:48:50 +02:00
Clément Bœsch
9c50e52005
cmdutils: print slice threading flag in -filters.
2013-05-24 15:34:37 +02:00
Clément Bœsch
cf6ed1f129
lavu/opencl: remove semi-colon from macro.
...
Fixes compilation when the macros are empty and the label above ends up
containing no statement. Also makes usage of these macro consistent
(some already have a semi colon, some others don't).
Fixes Ticket #2603
2013-05-24 12:01:02 +02:00
Clément Bœsch
d51dfc7ec4
doc/filters: fix wording of color option in testsrc filters.
2013-05-23 17:22:05 +02:00
Clément Bœsch
a0a41db339
lavfi/testsrc: make nb_decimals available only in testsrc.
2013-05-23 17:22:05 +02:00
Clément Bœsch
288f916643
lavfi/testsrc: move color options to the color scope filter definition.
2013-05-23 17:22:05 +02:00
Clément Bœsch
91b461459a
lavfi/lut3d: avoid overread.
2013-05-22 22:12:14 +02:00
Clément Bœsch
165bc9caa2
v4l2: make possible to disable libv4l2 at runtime.
...
Also disable it by default since it looks currently buggy. The
usefulness of such library is mostly limited to backward compatibility
with very old devices.
2013-05-22 19:49:29 +02:00
Clément Bœsch
12f51c1f9e
lavfi: add lut3d filter.
...
Fixes part of Ticket #2517 .
2013-05-22 18:23:43 +02:00
Clément Bœsch
39dc1bc90f
lavfi/(a)showinfo: use link frame counter instead of local counter.
2013-05-21 22:29:16 +02:00
Clément Bœsch
b8a9876a8b
lavfi/yadif: add timeline support.
2013-05-21 16:09:42 +02:00
Clément Bœsch
9a7f1519aa
lavd/v4l2enc: check write return value.
2013-05-20 16:33:21 +02:00
Clément Bœsch
16a75eaa20
lavd: add v4l2 outdev.
2013-05-20 01:11:33 +02:00
Clément Bœsch
8eec655320
lavd/v4l2: move pixel format conversion code to a separate place.
...
This will be shared with the output device.
2013-05-20 01:11:28 +02:00
Clément Bœsch
56f7e29dba
tools: add zmqshell.py.
2013-05-19 17:59:21 +02:00
Clément Bœsch
3da726f188
lavf/img2enc: use FF_CEIL_RSHIFT().
2013-05-16 23:20:07 +02:00
Clément Bœsch
f3962c6264
lavfi/yadif: fix chroma subsampling with odd sizes.
2013-05-16 23:20:02 +02:00
Clément Bœsch
61b268eeda
lavfi/idet: fix chroma subsampling with odd sizes.
2013-05-16 23:20:00 +02:00
Clément Bœsch
6c5bd7d785
lavc/vc1dec: fix a few "may be used uninitialized" warnings.
2013-05-16 23:08:01 +02:00
Clément Bœsch
d94c907008
lavfi: silence a discarded const qualifier warning.
2013-05-16 18:38:10 +02:00
Clément Bœsch
afec02afe7
lavfi/unsharp: remove unused float.h include.
2013-05-16 13:38:26 +02:00
Clément Bœsch
faceb0af0a
lavfi/unsharp: use av_image_copy_plane().
2013-05-16 13:38:03 +02:00
Clément Bœsch
5c7a33a716
fate/colorchannelmixer: make sure direct path is tested.
2013-05-16 13:18:08 +02:00
Clément Bœsch
d686517ad1
lavfi/mp: remove mp=ow wrapper.
...
Filter ported natively as owdenoise.
2013-05-16 00:45:45 +02:00
Clément Bœsch
b1e84efa3d
lavfi: port wavelet denoiser filter from libmpcodecs.
2013-05-16 00:45:45 +02:00
Clément Bœsch
bc1c90eabf
lavfi/dctdnoiz: fix 10l typo in pr_height computation.
2013-05-15 03:19:49 +02:00
Clément Bœsch
7b43120c7c
lavfi: add dctdnoiz filter.
2013-05-15 00:54:00 +02:00
Clément Bœsch
b3c263e209
lavu/common: make FF_CEIL_RSHIFT faster when shift is constant.
...
See "[PATCH] lavfi/lut: use FF_CEIL_RSHIFT for chroma w/h rounding."
thread for more information.
2013-05-13 17:53:16 +02:00
Clément Bœsch
cd43a7e945
doc/filters: split item options which are not aliases.
2013-05-12 13:23:45 +02:00
Clément Bœsch
09d3449a8f
fate/filter: test gradfun timeline.
2013-05-12 13:07:47 +02:00
Clément Bœsch
9b11c2ef36
fate/filter: test hqdn3d timeline.
2013-05-12 13:07:47 +02:00
Clément Bœsch
0122300c86
lavfi/hqdn3d: restore timeline feature.
2013-05-12 13:07:47 +02:00
Clément Bœsch
0652111833
lavfi/hqdn3d: use macros instead of hardcoded indexes.
2013-05-12 13:07:47 +02:00
Clément Bœsch
1776177b7f
lavfi: replace passthrough_filter_frame with a flag.
...
With the introduction of AVFilterContext->is_disabled, we can simplify
the custom passthrough mode in filters.
This commit is technically a small compat break, but the timeline was
introduced very recently.
Doxy by Stefano Sabatini.
2013-05-12 13:07:47 +02:00
Clément Bœsch
60f0e30431
lavfi/vflip: use FF_CEIL_RSHIFT for chroma w/h rounding.
2013-05-12 12:59:00 +02:00
Clément Bœsch
59d33eafd1
lavfi/lut: use FF_CEIL_RSHIFT for chroma w/h rounding.
2013-05-12 12:59:00 +02:00
Clément Bœsch
a9705e4de9
lavfi/curves: avoid ctx pointer indirection.
2013-05-10 23:47:28 +02:00
Clément Bœsch
50e66726a2
lavfi: use ceil right shift for chroma width/height.
...
This should fix several issues with odd dimensions inputs.
lut, vflip, pad and crop video filters also need to be checked for such
issues. It's possible sws is also affected.
2013-05-10 17:20:06 +02:00
Clément Bœsch
4db84bac13
lavfi/opencl: replace SHIFTUP with FF_CEIL_RSHIFT.
2013-05-09 16:59:43 +02:00
Clément Bœsch
f0250cc463
lavfi/overlay: simpler up-rounded w/h computations.
2013-05-09 16:59:43 +02:00
Clément Bœsch
570d63eef3
lavu: add FF_CEIL_RSHIFT and use it in various places.
2013-05-09 16:59:42 +02:00
Clément Bœsch
d3f7b98f87
lavfi/overlay: reindent fix.
2013-05-07 15:43:28 +02:00
Clément Bœsch
5043d8d213
lavfi/alphaextract: copy width and not linesize.
...
Padding data is not supposed to be copied.
2013-05-07 15:33:49 +02:00
Clément Bœsch
c3dcd3a255
sws: factorize rgb 9+ planar funcs declarations.
2013-05-07 15:23:27 +02:00
Clément Bœsch
a82cc54fb5
lavf/mpsub: remove sscanf from probing.
...
This should make probing faster.
2013-05-06 22:50:59 +02:00
Clément Bœsch
e85ea7d387
lavfi/frei0r: fix crash when parameters are not set.
2013-05-03 17:08:33 +02:00
Clément Bœsch
24939d567b
fate/pixfmts: use the appropriate variable names for temporary files.
...
${1} is now the filter args and is inappropriate as a unique name for
the test (and causes some FATE issues because of the ':' in them).
${filter} is not used either to replace the ${1} because ${outfile}
already contains a unique name for the test.
2013-05-01 13:25:42 +02:00
Clément Bœsch
14f45bcbe7
doc/filters: fix scale example equivalence.
...
scale=w=200:h=100 and scale=w=200:h=100 are of course equivalent...
2013-05-01 04:46:14 +02:00
Clément Bœsch
e3e66568cc
doc/filters: replace hqdn3d with smartblur in timeline section.
...
hqdn3d needs some adjustements before timeline support can be restored
(patch welcome).
2013-05-01 04:44:27 +02:00
Clément Bœsch
2609434b45
fate: remove forgotten transpose filter results from old system.
2013-04-30 02:12:47 +02:00
Clément Bœsch
45734dea9e
fate: port remaining filters to new system.
...
Merge of b963f021b6 is now complete.
2013-04-30 02:12:45 +02:00
Clément Bœsch
93aede41ce
fate: move kerndeint test to the new system.
2013-04-30 01:47:53 +02:00
Clément Bœsch
1e0a0aafba
fate: port our pixfmts change to fate-run.sh.
...
This patch is the same as 52b23cbf1c .
2013-04-30 01:47:53 +02:00
Clément Bœsch
e881057c98
fate: add a rule for pixfmts tests.
2013-04-30 01:47:53 +02:00
Clément Bœsch
a466c2c470
fate: fix filtfmts-test dependency after 9a5924f.
2013-04-30 01:19:24 +02:00
Clément Bœsch
d558e46469
lavfi: add two opencl headers to SKIPHEADERS.
...
Fix make checkheaders.
2013-04-30 00:34:58 +02:00
Clément Bœsch
6b222ea963
fate: add bitexact flags to alphaextract/alphamerge tests.
...
Should fix a FATE failure.
2013-04-29 22:28:37 +02:00
Clément Bœsch
9a5924f862
fate: add filters dependencies to pixfmts tests.
2013-04-29 22:25:04 +02:00
Clément Bœsch
15d6436a2a
fate: move a few simple pixfmts tests to the new system.
2013-04-29 22:25:04 +02:00
Clément Bœsch
3ae44df18f
fate: move lavd filters tests to the new system.
...
Also make life test a bit more useful.
2013-04-29 21:48:49 +02:00
Clément Bœsch
6ea013fb62
fate: remove '#' in filter parameters.
...
It was considered a comment.
2013-04-29 21:48:48 +02:00
Clément Bœsch
22a86492ec
fate: move alphaextract and alphamerge tests to the new system.
...
The standalone alphaextract tests are removed since already the filters
are already tested by the alphamerge tests.
2013-04-29 21:10:13 +02:00
Clément Bœsch
9a0e40ec8c
fate: move colormatrix tests to the new system.
2013-04-29 20:20:13 +02:00
Clément Bœsch
80bcbed157
fate: restore our settings for drawtext/fade/unsharp.
2013-04-29 20:00:49 +02:00
Clément Bœsch
c703f7bdbd
fate: move more tests from lavfi-regression.sh to filter-video.mak.
2013-04-29 20:00:49 +02:00
Clément Bœsch
039c2b7828
lavfi/hqdn3d: remove timeline flag.
...
The filter stores some temporal data, which needs to be done with the
passthrough callback system when timeline is enabled. Until then,
timeline support is disabled.
2013-04-26 21:27:02 +02:00
Clément Bœsch
035a3792c2
lavfi/subtitles: zero-init AVSubtitle.
...
This avoids invalid free when the stream id doesn't match the packet
stream index.
Ticket #2501
2013-04-25 00:56:38 +02:00
Clément Bœsch
73050df240
lavfi: add timeline support in {de,remove}logo.
...
Both don't change anything in the context between frames.
2013-04-24 20:13:01 +02:00
Clément Bœsch
1f6aa7de3e
lavfi: add vidstabutils.h to SKIPHEADERS.
...
Fix checkheaders when vid.stab is not available.
2013-04-24 19:38:06 +02:00
Clément Bœsch
c7d2a3abf0
lavfi/vidstabdetect: fix direct path.
...
The frame must be writable if the show option is set, otherwise pass the
frame unchanged.
2013-04-24 18:30:43 +02:00
Clément Bœsch
c82f6e58da
lavfi/vidstab: remove mention of defaults for consistency with other filters.
2013-04-24 18:30:43 +02:00
Clément Bœsch
111ac10b60
lavfi/vidstab: make use of direct variable.
2013-04-24 18:30:42 +02:00
Clément Bœsch
9273cc8eb5
lavfi/vidstab: add missing flags for 2 options.
2013-04-24 18:30:42 +02:00
Clément Bœsch
c857c21a8c
doc/filters: reword vidstab options intro.
2013-04-24 18:30:42 +02:00
Clément Bœsch
cdc48775aa
lavfi/vidstab: consistent descriptions.
2013-04-24 18:30:42 +02:00
Clément Bœsch
017051266b
lavfi/vidstab: miscelenaous cosmetics and typo fixes.
2013-04-24 18:30:42 +02:00
Clément Bœsch
15d2f26998
lavfi/overlay: support timeline through the new system.
2013-04-23 01:02:28 +02:00
Clément Bœsch
38853169ce
lavfi: add 'enable' command injection to filters supporting timeline.
2013-04-23 01:02:28 +02:00
Clément Bœsch
fdd93eabfb
lavfi: add timeline support.
...
Flag added in a few simple filters. A bunch of other filters can likely
use the feature as well.
2013-04-23 01:02:27 +02:00
Clément Bœsch
b8a5c76131
lavfi: add frame counter into AVFilterLink and use it in filters.
2013-04-23 01:02:27 +02:00
Clément Bœsch
67cc31d6c7
lavf/gif: add final_delay option.
2013-04-20 00:11:04 +02:00
Clément Bœsch
a16c20569d
lavf/gifdec: add loop support.
...
Loop is ignored by default.
2013-04-20 00:05:35 +02:00
Clément Bœsch
f5ede48fbb
lavc/gif: miscellaneous cosmetics.
2013-04-19 23:59:22 +02:00
Clément Bœsch
7004cad36d
Changelog: notify GIF improvements.
2013-04-19 23:59:22 +02:00
Clément Bœsch
5927ebab51
doc/general: animated GIF are now compressed.
2013-04-19 23:59:21 +02:00
Clément Bœsch
e1b35bdde2
lavc/gif: add flag to enable transparency detection between frames.
...
While this is not always optimal, in practice most of the common cases are.
ffmpeg -i big_buck_bunny_1080p_h264.mov -ss 45 -vf scale=320:160 -gifflags -transdiff -frames:v 50 -y bbb-notrans.gif
ffmpeg -i big_buck_bunny_1080p_h264.mov -ss 45 -vf scale=320:160 -gifflags +transdiff -frames:v 50 -y bbb-trans.gif
-rw-r--r-- 1 ubitux ubitux 1.1M Apr 19 19:00 bbb-notrans.gif
-rw-r--r-- 1 ubitux ubitux 378K Apr 19 19:00 bbb-trans.gif
2013-04-19 23:59:21 +02:00
Clément Bœsch
0f1250b7e5
lavc/gif: make possible to disable offsetting.
2013-04-19 23:59:21 +02:00
Clément Bœsch
30e6a02c23
lavf/http: remove duplicated dec flag.
2013-04-19 14:44:58 +02:00
Clément Bœsch
380cfce2b2
lavc: add AV_CODEC_PROP_TEXT_SUB.
...
CC are not marked. Also allow potential mixed types later.
2013-04-19 13:15:54 +02:00
Clément Bœsch
6189ff3679
lavf/gif: avoid forward declaration.
2013-04-19 12:11:10 +02:00
Clément Bœsch
a7c5b7a676
lavf/gif: correct the delay after the first frame.
...
To define accurately the delay between two frames, it is necessary to
have both available. Before this commit, the first frame had a delay of
0; while in practice the problem is not visible in most situation, it is
problematic with low frame rate and large scene change.
This commit notably fixes output generated with commands such as:
ffmpeg -i big_buck_bunny_1080p_h264.mov
-vf "select='gt(scene,0.4)',scale=320:-1,setpts=N/TB"
-frames:v 5 -y out.gif
Also, to avoid odd loop delays, the N-1 delay is duplicated for the last
frame.
2013-04-19 12:02:19 +02:00