Anton Khirnov
803391f719
lavfi: remove request/poll and drawing functions from public API on next bump
They are only useful inside filters and we don't allow user filters for
now.
13 years ago
Anton Khirnov
c04c533f62
lavfi: remove avfilter_null_* from public API on next bump.
Those functions are only useful inside filters. It is better to not
support user filters until the API is more stable.
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
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
Stefano Sabatini
4538d66010
lavfi/aspect: set default value to 0:1, as stated in the docs
Fix regression introduced in commit 70ffda3217
.
13 years ago
Stefano Sabatini
80715c3b23
lavfi/aspect: remove confusing comments
13 years ago
Stefano Sabatini
360218713f
lavfi/aspect: show log info even in case no argument is provided to setdar/setsar
13 years ago
Stefano Sabatini
0349d61eef
lavfi/aspect: rename field aspect->aspect to aspect->ratio
The new name is more sensible.
13 years ago
Stefano Sabatini
70ffda3217
lavu: introduce av_parse_ratio() and use it in ffmpeg and lavfi/aspect
Factorize code and provide ratio parsing consistency.
13 years ago
Alex Converse
7181c4edee
cosmetics: Remove extra newlines at EOF
13 years ago
Reimar Döffinger
5af7daabc4
Mark AVFilterPad[] compound literals as const.
GCC 4.6.2 at least still seems to fail to put them in .rodata though,
see also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37303
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Mans Rullgard
0ebcdf5cda
Do not include mathematics.h in avutil.h
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
35fe66abbc
lavfi: rename AVFilterBufferRefVideoProps.pixel_aspect to sample_aspect_ratio
Improve consistency with libavcodec.
This breaks libavfilter API/ABI.
The non-sequential 2.1.0 -> 2.4.0 bump is due to the mess previously
done with the lavfi minor number.
14 years ago
Stefano Sabatini
c61bfc113a
setdar: prefer "sar" over "par" in log info message
This is more consistent with the terminology adopted by the aspect
filter names.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
3ea031b3f2
setdar: prefer "sar" over "par" in log info message
This is more consistent with the terminology adopted by the aspect
filter names.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
910b5b82e8
Add sample_aspect_ratio to AVFilterLink
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
14b171cd71
Add sample_aspect_ratio to AVFilterLink
14 years ago
Baptiste Coudurier
6fd2b8bd0a
In aspect filter, fix display for input resolution
Originally committed as revision 25819 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
b7be04f3c0
Reindent.
Originally committed as revision 25803 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
7de19a3264
Implement robust parsing in aspect filters.
Originally committed as revision 25802 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
eee0ef5e4f
Add informative log messages to the set aspect filters.
Originally committed as revision 25801 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
2fb21bf4ff
Give more explicit/less confusing names to the filters dealing with
aspect ratio.
Originally committed as revision 25800 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
9abf34411a
Log error message in case of invalid parsing.
Originally committed as revision 25765 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
bdb47f3a2c
Fix style: if( -> if (.
Originally committed as revision 25764 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
cef4b74bf2
Remove redundant information in header.
Originally committed as revision 25763 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
S.N. Hemanth Meenakshisundaram
cc80caff52
Separate video specific BufferRef properties into VideoProps.
Define a new struct AVFilterBufferRefVideoProps and add a type field
to AVFilterBufferRef.
Video specific properties in AVFilterBufferRefVideoProps are now
referred to by *video pointer in AVFilterBufferRef.
Patch by S.N. Hemanth Meenakshisundaram smeenaks->ucsd.edu.
Originally committed as revision 24763 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
S.N. Hemanth Meenakshisundaram
ecc8dada37
Rename AVFilterPicRef to AVFilterBufferRef.
The struct is going to be used for storing audio buffer references as
well, and the new name is more generic.
Patch by S.N. Hemanth Meenakshisundaram @smeenaks@ucsd@edu@.
Originally committed as revision 24730 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Bobby Bingham
d313e17ab1
Use the new null callbacks to simplify filters and reduce duplicated code.
Originally committed as revision 22595 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Bobby Bingham
3922deb577
Add video filter to manipulate aspect ratio
Originally committed as revision 22573 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago