Mans Rullgard
49e617f956
yadif: add parens around macro parameters
...
This fixes compilation with preprocessors which do not add whitespace
around replaced tokens, resulting in invalid expressions like 1--1.
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-08 02:08:31 +01:00
Carl Eugen Hoyos
8214249051
Add libmpcodecs to the list of libavfilter subdirectories.
2011-02-25 15:34:20 +01:00
Michael Niedermayer
f9c61974ae
Add shadow support to the drawtext filter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:54 +01:00
Michael Niedermayer
a64a2c5f98
factor draw_glyphs out of drawtext filter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:54 +01:00
Michael Niedermayer
bccea08836
Fix and optimize yuv blend in the drawtext filter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:54 +01:00
Michael Niedermayer
7d27902263
get rid of divisions in the inner loop of the drawtext filter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:54 +01:00
Michael Niedermayer
476aaec637
fix chroma alpha in the drawtext filter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:54 +01:00
Michael Niedermayer
edbaedf7a0
Simplify chroma blend in the drawtext filter
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:54 +01:00
Stefano Sabatini
bd8e750300
Port drawtext filter by Hemanth from the libavfilter soc repo, with
...
the following additions:
* support to anti-aliased glyph rendering
* support to UTF-8 text and Unicode chars rendering
* support for RGB packed formats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-22 01:49:45 +01:00
Brandon Mintern
704865fc87
lavfi: add fade filter
...
Port fade filter from libavfilter soc repo, with minor fixes by
Stefano.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-21 13:56:48 +01:00
Stefano Sabatini
fd0b42cce0
lavfi: put color source in a dedicated file
...
Move the color source code from vf_pad.c to vsrc_color.c.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-21 13:45:44 +01:00
Stefano Sabatini
bcfd9e821b
lavfi: add drawutils
...
Add drawutils.h and drawutils.c, and use them in the pad filter.
The new functions are going to be shared by other filters.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-21 13:44:52 +01:00
Michael Niedermayer
02d0803571
Reduce picture size for yadif.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-18 19:39:56 +01:00
Michael Niedermayer
bad82d3d7d
Change yadif to not use out of picture lines.
...
Fixes issue2272.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-18 19:39:42 +01:00
Reinhard Tartler
7ffe76e540
Merge libavcore into libavutil
...
Done to keep ABI compatible. Otherwise this is just silly
2011-02-16 23:00:30 +01:00
Stefano Sabatini
6985d7bf87
Make avfilter_config_links() propagate audio information of the source link if it is not explicitely set by the filter.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-14 23:37:34 +01:00
Stefano Sabatini
9b8bb626dc
libavfilter: add video movie source
...
See thread:
Subject: [PATCH] movie video source
Date: 2010-12-31 15:35:30 GMT
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-02-09 03:33:28 +01:00
Clément Bœsch
bffad70c66
Remove forgotten if (p) av_free(p) forms
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 290849e2a4
)
2011-02-06 20:31:44 +01:00
Stefano Sabatini
ab543afe47
Make avfilter_graph_free() free the graph.
...
Make avfilter_graph_free() free not only the internal structures, but
also the allocated graph, and set the graph pointer to NULL for
increased safety.
Simplify usage.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 4359288c56
)
2011-02-06 20:31:42 +01:00
Stefano Sabatini
c68be8e135
Make avfilter_graph_parse() not free the input graph
...
Make avfilter_graph_parse() only release the internal structures
allocated during the parsing, and leave to free the graph itself to
the calling code.
This approach looks cleaner, as the graph is not allocated by the
function.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit e8e5dde779
)
2011-02-06 20:31:42 +01:00
Stefano Sabatini
057f3d2763
Log debug information in filter_samples().
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 5fce60c3a9
)
2011-02-04 03:08:09 +01:00
Michael Niedermayer
7b3ea5507c
Add sample_aspect_ratio fields to vsrc_buffer arguments.
...
This fixes aspect handling in ffmpeg
This is based on a patch by baptiste
2011-01-31 21:32:06 +01:00
Michael Niedermayer
14b171cd71
Add sample_aspect_ratio to AVFilterLink
2011-01-31 21:32:06 +01:00
Luca Barbato
9ef5a9deaf
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb
)
2011-01-30 03:41:48 +01:00
Stefano Sabatini
8bc6568595
In the start_frame() debug log, print the reference pos value rather than the evaluated value converted to int.
...
That's required because -1 is evaluated as NAN, which converted back
to int looks like a random number, this is especially annoying when
debugging sources with undefined pos (as the video4linux2 device).
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 3e5bc7ff6a
)
2011-01-30 03:40:59 +01:00
Michael Niedermayer
55fa97e215
Remove useage of memalign() from libmpcodecs, not all platforms have memalign().
2011-01-28 21:55:23 +01:00
Michael Niedermayer
be3e8eda5a
Add forgotten dependancy of avcodec for vf_mp.c
2011-01-28 19:04:24 +01:00
Diego Elio Pettenò
97e528a9e1
Make the avfilter debug functions and macros static to avfilter.c
...
This removes ff_get_ref_perms_string, ff_dprintf_ref and ff_dprintf_link
fro the interface of libavfilter.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit eb7ccf8f33
)
2011-01-28 03:15:32 +01:00
Michael Niedermayer
61d7f8fed4
Warn about vf_mp
2011-01-20 03:27:01 +01:00
Michael Niedermayer
fd4c59b519
Enable libmpcodecs support.
2011-01-20 03:27:01 +01:00
Michael Niedermayer
a61b0df708
Add ASMALIGN() hack to patch around its recent removial from configure
2011-01-20 03:27:01 +01:00
Michael Niedermayer
3aa43978da
Add libmpcodecs wrapper for libavfilter, still disabled
2011-01-20 03:26:54 +01:00
Michael Niedermayer
3be78f7ecd
Hack libmpcodecs to make it buildable.
2011-01-20 00:59:30 +01:00
Michael Niedermayer
8e45c103e9
Remove dependancy of m_option & m_struct from libmpcodecs.
2011-01-20 00:57:33 +01:00
Michael Niedermayer
4d46361425
Avoid dependancy on global variable verbose in libmpcodecs/vf_pullup.c
2011-01-20 00:52:26 +01:00
Michael Niedermayer
45c889a3ad
Add #define _BSD_SOURCE where mplayer is not C99.
2011-01-20 00:50:42 +01:00
Michael Niedermayer
e4852fb38d
Add MPlayers libmpcodecs, this will be needed for our libavfilter wraper for it.
2011-01-20 00:49:27 +01:00
Mans Rullgard
daed21a17e
avfilter: remove stray semicolon
2011-01-18 20:48:23 +00:00
Janne Grunau
2c3589bfda
consolidate .gitignore patters into a single file
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-01-18 21:32:05 +01:00
Janne Grunau
348b8218f7
convert svn:ignore properties to .gitignore files
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
2011-01-17 15:50:14 +01:00
Stefano Sabatini
dccdd93efc
Make config_props() return AVERROR(EINVAL) rather than 1 in case of
...
failed SWScaleContext initialization.
Fix issue2546.
Originally committed as revision 26395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-16 20:11:46 +00:00
Ronald S. Bultje
84cac86e7e
Fix fate breakage in r26382.
...
Originally committed as revision 26383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-16 03:20:03 +00:00
Baptiste Coudurier
ecea47a6ed
Remove useless free, fix warning:
...
libavfilter/defaults.c: In function 'avfilter_default_get_audio_buffer':
libavfilter/defaults.c:129: warning: 'buf' is used uninitialized in this function
Originally committed as revision 26382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-16 02:47:25 +00:00
Stefano Sabatini
b1779800c4
Include libavcore/audioconvert.h, required for
...
av_get_channel_layout_string() in ff_dprintf_link.
Fix compilation.
Originally committed as revision 26380 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15 20:43:01 +00:00
Stefano Sabatini
1d5b188518
Reindent.
...
Originally committed as revision 26379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15 20:02:03 +00:00
Stefano Sabatini
7986e34db0
Make ff_dprintf_link() print meaningful information for audio links.
...
Originally committed as revision 26378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15 19:58:29 +00:00
Stefano Sabatini
a242ac3620
Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.
...
More consistent with the rest of FFmpeg and sounds more natural to
English speaking people.
Originally committed as revision 26374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15 17:31:34 +00:00
Stefano Sabatini
6baf4afa99
Make avfilter_unref_buffer() accept a NULL parameter.
...
Originally committed as revision 26373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15 17:21:15 +00:00
Baptiste Coudurier
a51c71bb54
In yadif filter, default to top field first if interlacing is unknown
...
Originally committed as revision 26347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-15 00:32:36 +00:00
Stefano Sabatini
3bf3fc0e54
Add the word "Parsed" in the parsed filter names.
...
Originally committed as revision 26334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2011-01-14 20:58:47 +00:00