Michael Niedermayer
25eae29ea1
vsrc_buffer: remove overwrite support.
...
the overwrite flag became unused when merging support for buffering
multiple frames.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
a03f8ea0a8
vsrc_buffer: when no frame is available, return an error instead of segfaulting.
13 years ago
Michael Niedermayer
fa1f92a4f1
vf_idet: clean detected frame types based on a 4 frame history.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c59e73d2c8
vf_idet: change individual per frame statistics to debug log level.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4d4df310f2
vf_idet: print accumulated statistics for single and multi frame detection
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0477254dd2
vf_idet: Print both the single frame based detection and the multi frame one.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1a5c08eef6
vf_idet: Add last_type variable to make code more readable.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ca2b450cee
vf_idet: use enum to represent the type.
...
This will simplify future code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
multiple authors
13cc3645b0
libavfilter: add colormatrix filter
...
Ported by: Baptiste Coudurier
cleanup+fate by ubitux
For detailed authorship of the original code please see avisynth
13 years ago
Diego Biurrun
1f068e4450
vf_unsharp: Mark readonly variable as const.
...
This fixes the following warning:
libavfilter/vf_unsharp.c:106: warning: initialization discards qualifiers from pointer target type
13 years ago
Michael Niedermayer
6fb35dbad1
vf_idet: print accumulated statistics at end
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
baf0c79a4d
vf_idet: set interlaced flags
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2941a937f2
vf_idet: fix indention
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5d9cfd8726
vf_idet: move statistic variables into the context
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
02567bd73c
vf_idet: remove unused function
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
398491ae01
vf_idet: pass context to av_log()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
6c7b5b7b33
vf_ass: use drawutils.
13 years ago
Nicolas George
a63712d37c
vf_drawtext: use drawutils.
13 years ago
Nicolas George
e8497a338e
drawutils: implement uniform and mask blending.
13 years ago
Michael Niedermayer
e3e89b6d8b
libavfilter: Add interlace detect filter.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
38477e1981
vf_lut: avoid rgb component indexing in the inner loop
...
15k->10k cpu cycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
002d9ded4a
vf_lut: optimize rgb codepath
...
19k -> 15k cpu cycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
79a1d98676
vf_lut: optimize planar case
...
2500 -> 1900 cpu cycles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
95587d29d7
vsrc_buffer: allow buffering arbitrary number of frames.
13 years ago
Anton Khirnov
416fd90ead
vf_scale: avoid a pointless memcpy in no-op conversion.
...
I.e. just pass the buffer along when src parameters == dst parameters.
13 years ago
Anton Khirnov
63736fe48c
avfiltergraph: try to reduce format conversions in filters.
...
Current code, with a filterchain such as
(input - yuv411) -> (scale - any) -> (sink - any)
will result in yuv420 being chosen for the second link, which is clearly
not right.
This commit attempts to improve in the following way:
repeat until convergence:
loop over all filters
find input link with exactly one format
force this format on all output links of the same type (if possible)
13 years ago
Anton Khirnov
996f9f0c32
avfiltergraph: add an AVClass to AVFilterGraph on next major bump.
...
It will be used for logging, possibly also AVOptions.
13 years ago
Stefano Sabatini
95ce0ddcfe
lavfi/fade: fix black level for non studio-level pixel formats
...
Fix trac ticket #1139 , regression introduced in 8c1fb50d07
.
13 years ago
Michael Niedermayer
2d54bbb950
vsrc_buffer: Store allocated scale filter and free it later.
...
Fixes a memleak.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c5f9a66f74
avfilter: allow freeing NULL.
...
this way avfilter_free() can be called without NULL checks.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8c2045c979
avfilter: set w/h in avfilter_fill_frame_from_video_buffer_ref().
...
This fixes issues with AVFrame w/h being wrong in some cases
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
247fbf071b
ass: fix aspect ratio computation.
13 years ago
Clément Bœsch
a67d9cfa58
lavfi: add avfilter_fill_frame_from_{audio_,}buffer_ref().
13 years ago
Diego Biurrun
e7e19b15c7
build: Only clean the architecture subdirectory we build for.
...
This allows simplifying the Makefiles; it is no longer necessary to register
arch subdirectory Makefiles, just putting them in place is enough.
13 years ago
Paul B Mahol
40821980ae
vf_hflip: accept PIX_FMT_RGB444 and PIX_FMT_BGR444 pixel formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
added fate checksum update
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
53c896770c
bbox: remove superfluous initializations
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
3493390d47
lavfi: add tile video filter.
13 years ago
Nicolas George
7084985173
vsrc_color: port to new drawutils API.
13 years ago
Nicolas George
53b7a3fe08
vf_pad: port to new drawutils API.
13 years ago
Nicolas George
8ec0832743
drawutils: new API.
...
This new API stores useful data in a dedicated structure
and has clearly delimited init functions.
Hopefully, uses of the old API can be replaced quickly.
13 years ago
Stefano Sabatini
8e0d3c0369
lavfi/ass: add dar option
...
Allow to specify the display aspect ratio adopted for rendering
subtitles.
13 years ago
Stefano Sabatini
c9399538b7
lavfi/ass: use a default DAR value of 1.0
...
Previously it was using the same value of the input video DAR, which is
inconsistent with most implementations.
Fix trac ticket #1098 .
13 years ago
Stefano Sabatini
e71e65ff1d
lavfi/aspect: check for a negative code from av_parse_ratio()
...
Check on < 0 rather than on != 0, this is more correct as a positive
error code from av_parse_ratio() value doesn't mean an error.
13 years ago
Nicolas George
6cf53927c4
graphdump: use av_bprintf API.
13 years ago
Stefano Sabatini
e19ccc89ef
lavfi/aspect: fail with AVERROR(EINVAL) in case of invalid specified aspect
...
Previously it was returning 0 in case the aspect was parsable but
invalid.
X-ColaCount: +10*PHIl
13 years ago
William Yu
d19d52d4a1
lavfi/movie: add loop parameter
...
Signed-off-by: William Yu <genwillyu@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Stefano Sabatini
fdffaa6b11
lavfi/scale: document behavior with regards to the output sample aspect ratio
...
Also show the input and output sample aspect ratio in the log.
13 years ago
Nicolas George
69174fad73
vf_thumbnail: forward request_frame at least once.
...
The current version relied on poll_frame to request
the very first frame, that would not work if the
surrounding code does not call poll_frame.
13 years ago
Stefano Sabatini
d9f26a0d71
lavfi/crop: show input and output sample aspect ratio in the log
13 years ago
Stefano Sabatini
0ac38deda7
lavfi/allfilters: fix weird vertical align
13 years ago