Michael Niedermayer
7f46f042d1
buildsys: fix cleaning of libmpcodecs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
dc7e4d685f
lavfi/mp: remove framestep wrapped filter
...
An equivalent framestep filter has been natively integrated.
13 years ago
Stefano Sabatini
48d116400c
lavfi: add framestep filter
...
This filter is inspired upon libmpcodecs/vf_framestep.c, by Daniele
Forghieri.
Only-keyframe output is not supported, since that feature can be achieved
through the more versatile select filter.
13 years ago
Stefano Sabatini
7cd5fa35fe
lavfi/testsrc: set output framerate
13 years ago
Stefano Sabatini
42d621d131
lavfi: add priv class to filter definitions and flags to filter internal options
...
This allows the iteration callbacks to discover the internal class and
options, and show them when required.
13 years ago
Stefano Sabatini
831a999dda
lavfi/movie: split class definitions for movie and amovie
...
This is required for iterating through the filter class (without
incurring into a loop).
13 years ago
Stefano Sabatini
a77436abad
lavfi/lut: duplicate class definitions for each lut variant filter
...
This is due to the design of components iteration through AVClass
child_class_next() callback, which requires that two components cannot
share the same class.
13 years ago
Nicolas George
9341bbfc51
vf_yadif: fix permissions.
...
Require AV_PERM_PRESERVE and leave harmless permissions
alone for the next filter.
13 years ago
Nicolas George
71adb74059
vf_tinterlace: leave harmless permissions alone.
13 years ago
Nicolas George
d37f823207
vf_thumbnail: fix permissions.
13 years ago
Nicolas George
469d07a0e4
vf_select: require AV_PERM_PRESERVE.
...
This is only necessary because of the poll_frame implementation.
Removing it altogether would be another solution.
13 years ago
Nicolas George
f6647d8825
vf_removelogo: fix permissions.
...
The branch with the test was already impossible.
13 years ago
Nicolas George
616c3f3ee2
vf_overlay: fix permissions.
13 years ago
Nicolas George
5ec6ae91ba
vf_idet: fix permissions.
...
Only write needs to be removed, other can be left.
13 years ago
Nicolas George
3bc644e044
vf_fps: fix permissions.
13 years ago
Nicolas George
738fab17ea
vf_fieldorder: fix permissions.
13 years ago
Nicolas George
3c0cc3ae67
vf_fade: fix permissions.
13 years ago
Nicolas George
d5765d4725
vf_drawtext: fix permissions.
13 years ago
Nicolas George
0238806f64
vf_drawtext: fix permissions.
13 years ago
Nicolas George
84923555bb
vf_deshake: fix permissions.
13 years ago
Nicolas George
f3133a48e5
vf_delogo: fix permissions.
13 years ago
Nicolas George
12ff3faec0
vf_colormatrix: fix permissions.
13 years ago
Nicolas George
ceb8dc1e04
vf_ass: fix permissions.
13 years ago
Nicolas George
07663871e1
vf_alphamerge: fix permissions.
13 years ago
Nicolas George
de35d2b498
avf_concat: fix permissions.
13 years ago
Nicolas George
44127c0489
af_channelmap: fix permissions.
13 years ago
Nicolas George
368f368e59
af_channelmap: require AV_PERM_PRESERVE.
13 years ago
Nicolas George
44aeb06290
fifo: fix permissions.
13 years ago
Nicolas George
a34eb393fc
split: set rej_perms = AV_PERM_WRITE on outputs.
13 years ago
Nicolas George
a0d274d228
sink_buffer: require AV_PERM_PRESERVE.
13 years ago
Nicolas George
e54e30c889
lavfi: grant all permissions on mallocated audio buffers.
...
The permissions not requested by the filter that created
the buffer may be useful for a later filter and avoid a copy.
13 years ago
Nicolas George
cc8104b908
lavfi: fix erroneous use of AV_PERM_PRESERVE in ff_inplace_start_frame.
...
ff_inplace_start_frame looks useless anyway.
13 years ago
Nicolas George
046eb21c72
lavfi: grant all permissions on mallocated video buffers.
...
The permissions not requested by the filter that created
the buffer may be useful for a later filter and avoid a copy.
13 years ago
Clément Bœsch
517a2bbcf1
lavfi/edgedetect: add rounding for high/low threshold.
...
This should fix the 32-bit FATE instances where low_u8=19 and high_u8=49.
13 years ago
Clément Bœsch
3250231a02
lavfi: add edgedetect filter.
13 years ago
Nicolas George
12d2bbf324
lavfi/movie: extend a doxygen comment.
13 years ago
Nicolas George
584acbf524
lavfi/movie: set pkt->stream_index for flushing.
...
Otherwise, the value of stream_index is kept from the last packet
read, which is not necessarily the stream that needs flushing.
13 years ago
Michael Niedermayer
a3ececf329
yadif: remove libavutil/internal.h include
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
7ebe3962f3
Add missing includes for code relying on external libraries
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Stefano Sabatini
208d6e6615
lavfi/hue: add verbose debug message showing initial parameters
13 years ago
Stefano Sabatini
5b0151a474
lavfi/hue: reindent after previous commits
13 years ago
Stefano Sabatini
419e1b7463
lavfi/hue: apply misc fixes to default values setting
...
In particular: signal error in case of bogus h:s values.
13 years ago
Jérémy Tran
191b77eb01
lavfi/hue: add named options support
...
Old syntax has been kept for compatibility reasons.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Stefano Sabatini
6efce3a894
lavfi/mp: remove hue wrapped filter
...
hue was integrated as a native libavfilter filter.
13 years ago
Martin Storsjö
33e112847d
Add more missing includes after removing the implicit common.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
70766c2182
Add some more missing includes after removing the implicit common.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Andrey Utkin
a32fa21d17
lavfi/asetnsamples: push as many frames as ready
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Nicolas George
271ddb116c
lavfi: use min_perms and rej_perms for out pads.
...
There are several reasons for doing that:
1. It documents the code for the reader and helps find
inconsistencies and bugs.
2. For rej_perms, it guarantees the change will be done
even if the output reference can be created by several
code paths.
3. It can be used to predict cases where a copy will,
or will not happen and optimize buffer allocation
(for example not request a rare direct-rendering buffer
from a device sink if it will be copied anyway).
Note that a filter is still allowed to manage the permissions
on its own without using these fields.
13 years ago
Mans Rullgard
480178a295
x86: yadif: fix asm with suncc
...
Under some circumstances, suncc will use a single register for the
address of all memory operands, inserting lea instructions loading
the correct address prior to each memory operand being used in the
code. In the yadif code, the branch in the asm block bypasses such
an lea instruction, causing an incorrect address to be used in the
following load.
This patch replaces the tmpX arrays with a single array and uses a
register operand to hold its address. Although this prevents using
offsets from the stack pointer to access these locations, the code
still builds as 32-bit PIC even with old compilers.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago