Anton Khirnov
3ba35a346c
vf_hqdn3d: make config_props work properly when called multiple times.
Do not leak all the temp buffers.
13 years ago
Anton Khirnov
3fb29588a2
vf_drawtext: don't leak the expressions.
13 years ago
Anton Khirnov
6592cd22a2
vf_crop: make config_props work properly when called multiple times.
Do not leak the x/y expressions.
13 years ago
Anton Khirnov
d5c66d9c56
vf_setdar: make config_props work properly when called multiple times.
Do not overwrite the variable set through AVOptions.
13 years ago
Anton Khirnov
4c205f42c8
vf_drawbox: make config_props work properly when called multiple times.
Do not overwrite the variables set through AVOptions.
13 years ago
Anton Khirnov
90d9a2a04c
vf_drawtext: do not reset the frame number in config_input.
Frame number should be incremented normally even if the link properties
change.
13 years ago
Anton Khirnov
7727be79d1
vf_fps: move initializing pts from config_props to init.
It should not be reinitialized if the link properties change.
13 years ago
Anton Khirnov
d371c3c2e2
vf_frei0r: make config_props work properly when called multiple times.
Do not leak the initialized filter instance.
13 years ago
Anton Khirnov
87c31cfd7a
vf_gradfun: make config_props work properly when called multiple times.
13 years ago
Anton Khirnov
b06848f4de
vf_lut: make config_props work properly when called multiple times.
Do not leak the expressions.
13 years ago
Anton Khirnov
3062ac4c47
vf_pad: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
a70519aad1
vf_overlay: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
8d2565c28b
vf_lut: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
4753f802c0
vf_libopencv: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
56e4ce0d13
vf_hqdn3d: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
7af5ae2d07
vf_hflip: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
05fab5530b
vf_gradfun: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
f6b6d6ac42
vf_frei0r: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
cbec213a90
vf_format: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
d64cf54b34
vf_fieldorder: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
9bbf6c681a
vf_fieldorder: cosmetics, remove an extra linebreak
13 years ago
Anton Khirnov
c0279956b3
vf_fade: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
d3735f7ad6
vf_drawtext: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
20e2794eea
vf_drawbox: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
ba09675f44
vf_delogo: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
e16e23d70e
vf_cropdetect: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
671563d9fd
vf_crop: cosmetics, break lines
13 years ago
Anton Khirnov
7f83959598
vf_crop: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
762df56ef9
vf_boxblur: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
a2a696990c
vf_blackframe: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Anton Khirnov
b3ea76624a
vf_aspect: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
13 years ago
Diego Biurrun
2832ea26f3
Remove commented-out debug #define cruft
12 years ago
Anton Khirnov
e6c4ac7b5f
pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*
12 years ago
Anton Khirnov
ffba2053ed
lavfi: fix compatibility code for old vf_scale options syntax
Currently it would incorrectly trigger on a string that contains a '='
but does not contain a ':', e.g. flags=<flags>.
12 years ago
Anton Khirnov
096696ef0d
avfiltergraph: simplify inserting conversion filters.
There is now no need to explicitly pass 0:0 as width/height to scale,
those are the defaults.
12 years ago
James Darnley
d10499a32a
yadif: correct strides in filter_edges_16bit
The C code treats the data as arrays of uint16_t so strides must not
be in bytes but in pixels.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
James Darnley
b0ef0ae776
yadif: restore speed of the C filtering code
Always use the special filter for the first and last 3 columns (only).
Changes made in 64ed397 slowed the filter to just under 3/4 of what it
was. This commit restores the speed while maintaining identical output.
For reference, on my Athlon64:
1733222 decicycles in old
2358563 decicycles in new
1727558 decicycles in this
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
16a4a18db0
af_asyncts: fix offset calculation
delta is in samples, not bytes. Also the sample format is not guaranteed
to be planar.
CC:libav-stable@libav.org
12 years ago
Diego Biurrun
6e9f8d6a7d
x86: vf_yadif: Remove stray dsputil_mmx #include
12 years ago
Janne Grunau
5f87c277bd
vf_scale: add endianness conversion pixel format in query_formats
12 years ago
Hendrik Leppkes
20c86571cc
lavfi: let gcc realign the stack on public graph driving functions
The functions which actually drive the filter graph by pushing
frames through it need to ensure an aligned stack for SIMD functions.
This fixes a crash in YADIF filter when using a mingw build in a MSVC
application.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
093804a93c
avfilter: Add av_cold attributes to init/uninit functions
12 years ago
Anton Khirnov
a1e05b0487
lavfi: add trim and atrim filters.
13 years ago
Anton Khirnov
b472938233
lavfi: add an asetpts filter
13 years ago
Anton Khirnov
2548834b22
vf_setpts: cosmetics, reformat
13 years ago
Anton Khirnov
c22263d3e8
graphparser: only print filter arguments if they are non-NULL
13 years ago
Anton Khirnov
8aaab1113c
af_channelmap: ensure the output channel layout is valid.
13 years ago
Anton Khirnov
949c603ed9
af_channelmap: remove now unnecessary goto
Options are freed from the generic code now, there is no need to call
av_opt_free() from the filter.
13 years ago
Anton Khirnov
1012155722
vf_split: fix description
It now allows an arbitrary number of inputs, not just two.
13 years ago
Diego Biurrun
c1ad70c3cb
x86: Move some conditional code around to avoid unused variable warnings
13 years ago