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
Stefano Sabatini
3225bc37a3
lavfi: add bbox filter
...
Also add bbox.h and bbox.c files, based on the remove-logo filter by
Robert Edele. These files are useful for sharing code with the pending
removelogo port.
13 years ago
Michael Niedermayer
b89f94077d
ass: fix DAR calculation.
...
Found-by: REN Lifeng <renlifeng@wowfly.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9e2ee46206
vf_fspp: add ff_ prefix to non static variables.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Baptiste Coudurier
fa35ade8f9
vf_fspp: fix compilation with llvm
13 years ago
Lou Logan
2d38081b4f
cosmetics: fix some typos
...
Patch attached.
From 2d4094fc0dcb4ccd0735eb7e1719e228ebb56bb9 Mon Sep 17 00:00:00 2001
From: Lou Logan <lou@lrcd.com>
Date: Mon, 12 Mar 2012 14:13:44 -0800
Subject: [PATCH] cosmetics: fix some typos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
4fe5448790
lavfi/drawtext: add 24 hours wrapping option for timecode.
...
Fixes ticket #1044 .
13 years ago
Baptiste Coudurier
f49cb8e669
vf_crop: keepaspect support
13 years ago
Baptiste Coudurier
1b99971dc7
vf_frei0r: set outlinks sample aspect ratio to 1
13 years ago
Stefano Sabatini
aefd1cb725
lavfi: remove swapuv libmpcodecs wrapper
...
The filter has been ported to a native libavfilter filter.
13 years ago
Stefano Sabatini
fa35d880aa
lavfi: port MP swapuv filter
13 years ago
Nicolas George
b50767c31d
vf_pad: keep a reference to the output buffer.
...
Once fixed, the end_frame function does exactly what
avfilter_default_end_frame does; therefore, end_frame
can be removed to let avfilter_default_end_frame work.
Fixes ticket #1038 .
13 years ago
Nicolas George
1ea3b657d6
vf_yadif: accept input with several frames available.
...
Fixes ticket #1040 .
13 years ago
Michael Niedermayer
776c89f019
vsrx_mptestsrc: remove duplicate config_props init.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
14aa1ba802
libmpcodecs/vf_pp: import memleak fix from MPlayer.
13 years ago
Nicolas George
7f06ca6e2b
vf_mp: uninit filter chain.
...
Most of the code was taken from MPlayer's vf_uninit_filter_chain.
13 years ago
Stefano Sabatini
409a3bda07
lavfi: add blackdetect filter
...
Address trac ticket #901 .
13 years ago
Nicolas George
07fb7682d1
vsrc_testsrc: free option values.
13 years ago
Nicolas George
eb6b6d7f8a
vsrc_life: free option values.
13 years ago
Nicolas George
f8210f892e
vf_fade: free type when overwriting it.
13 years ago
Michael Niedermayer
f54e06feb3
vf_deshake: try to fix memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago