Stefano Sabatini
214c0d420b
Implement settb filter.
...
Originally committed as revision 25445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-11 14:00:40 +00:00
Stefano Sabatini
867ae7aa5d
Add a time_base field to AVFilterLink.
...
This is required for allowing a filter to use a time base different
from AV_TIME_BASE_Q, as it was previously assumed.
Originally committed as revision 25441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-10 22:26:14 +00:00
Stefano Sabatini
f167a1a4f6
Rename out -> outlink, link -> inlink in various defaults.c functions,
...
improve readability / consistency.
Originally committed as revision 25434 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-10 18:54:45 +00:00
Stefano Sabatini
69f73a8928
Make avfilter_config_links() propagate the error code coming from the
...
callee functions.
Originally committed as revision 25433 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-10 18:54:39 +00:00
Stefano Sabatini
74d127b537
Add validity checks for the unsharp filter.
...
Prevent crash.
Originally committed as revision 25419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-08 23:36:35 +00:00
İsmail Dönmez
5ef42826d2
yadif: Explicit wordlength for compare. Fixes compile with clang.
...
Patch by İsmail Dönmez: ismail at namtrac dot org
Originally committed as revision 25328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-03 20:01:36 +00:00
Víctor Paesa
524aae8625
Use SLIBSUF instead of .so, as a more generic dynamic library suffix.
...
Originally committed as revision 25321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-03 09:49:36 +00:00
Stefano Sabatini
333771210e
Fix reference to nonexistent function.
...
Originally committed as revision 25296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-01 18:32:53 +00:00
Stefano Sabatini
ab3efd0077
Return AVERROR(EINVAL) rather than -1 in case of invalid values.
...
Originally committed as revision 25274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-30 20:24:49 +00:00
Alexander Strange
5ba24e4982
Fix compile on Darwin (FATE). Compile error:
...
yadif.c:226: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
yadif.c:220: error: 'asm' operand has impossible constraints
Patch by Alexander Strange <astrange ithinksw com>.
Originally committed as revision 25251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-29 12:34:01 +00:00
Stefano Sabatini
c10676aca3
Make init() return sensible error code rather than -1 in case of
...
invalid values.
Originally committed as revision 25248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-28 14:59:09 +00:00
Stefano Sabatini
46daee6e4e
Cosmetics: apply nits.
...
Originally committed as revision 25247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-28 14:59:06 +00:00
Stefano Sabatini
e40032e23a
Add the drawbox filter from the soc libavfilter repo.
...
Pedagogically useful.
Originally committed as revision 25244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-28 13:16:40 +00:00
Stefano Sabatini
c85eef4ed8
Move av_set_options_string() from libavfilter to libavutil.
...
Originally committed as revision 25236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-27 22:09:53 +00:00
Stefano Sabatini
486adc55c0
Use more expressive names for the avfilter_insert_filter() in and out
...
parameters.
Originally committed as revision 25235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-27 21:57:16 +00:00
Aurelien Jacobs
fa6f4ebc08
use a Makefile in x86 subdir
...
Originally committed as revision 25234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-27 21:50:26 +00:00
Aurelien Jacobs
236f79480b
merge #if with if()
...
Originally committed as revision 25233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-27 21:48:06 +00:00
Stefano Sabatini
db9dfa3cc3
Make avfilter_insert_filter() propagate an error code in case the
...
called avfilter_link() fails.
Originally committed as revision 25229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-27 17:28:53 +00:00
Stefano Sabatini
acc0490f09
Make AVFilterLink store the pointers to the source and destination
...
pads, rather than their index.
Originally committed as revision 25227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-27 16:58:48 +00:00
Stefano Sabatini
372e288408
Move av_get_token() from libavfilter to libavutil.
...
Originally committed as revision 25225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-27 16:23:43 +00:00
Stefano Sabatini
b1a05b820e
Make avfilter_destroy() code less convoluted, introducing a temporary
...
variable link.
Originally committed as revision 25217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-27 01:17:46 +00:00
Måns Rullgård
536e229ae2
yadif: remove unnecessary #include
...
Originally committed as revision 25215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-26 22:37:45 +00:00
Stefano Sabatini
13fabd7a8d
Port MPlayer blackframe filter.
...
See thread:
Subject: [FFmpeg-devel] [PATCH] Port MPlayer blackframe filter.
Date: Sun, 26 Sep 2010 01:10:40 +0200
Originally committed as revision 25214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-26 21:36:05 +00:00
Michael Niedermayer
6ed040408b
Move AVOptions from libavcodec to libavutil
...
Originally committed as revision 25210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-26 14:25:22 +00:00
Stefano Sabatini
b0f65613ac
Cosmetics: fix style nits.
...
Originally committed as revision 25207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-26 11:09:43 +00:00
Baptiste Coudurier
48f7f29f52
In yadif filter, use current frame when previous is missing,
...
better results for the first frame
Originally committed as revision 25202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-26 00:56:26 +00:00
Stefano Sabatini
b9f9e59afc
Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the
...
corresponding AVMEDIA_TYPE_* symbols.
Originally committed as revision 25201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 23:27:16 +00:00
Michael Niedermayer
9f27ca3f25
Stefanos port was missing DIRS variable in the Makefile for the newly added x86
...
Originally committed as revision 25199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 17:09:12 +00:00
Stefano Sabatini
5900deeb90
Bump lavfi minor and add Changelog notice after yadif addition.
...
Originally committed as revision 25198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 17:03:26 +00:00
Michael Niedermayer
96a1459ed5
Fix 0 vs 1 porting bug from mplayer.
...
Originally committed as revision 25197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 16:54:09 +00:00
Michael Niedermayer
acbac56789
yadif filter, based on stefanos port of my yadif from mplayer.
...
Compared to stefanos, 2 frame output works with ffplay.
Originally committed as revision 25196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 16:43:42 +00:00
Stefano Sabatini
1afab33857
Prefix enum var_name symbols with VAR_, to avoid conflicts with already
...
defined symbols, in particular should fix compilation in DOS.
Originally committed as revision 25194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 13:53:32 +00:00
Stefano Sabatini
921bf9f1ff
Fix memleak introduced in:
...
r25185 | stefano | 2010-09-25 03:18:43 +0200 (Sat, 25 Sep 2010) | 1 line
Make the crop filters accept parametric expressions.
Originally committed as revision 25193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 13:42:17 +00:00
S.N. Hemanth Meenakshisundaram
f0a5543898
Add asink_anullsink - null audio sink.
...
Patch by "S.N. Hemanth Meenakshisundaram" /smeenaks/ucsd/edu.
Originally committed as revision 25189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 01:57:01 +00:00
Stefano Sabatini
1ee410f330
Add asrc_anullsrc - null audio source.
...
Based on a patch by "S.N. Hemanth Meenakshisundaram" smeenaks!ucsd!edu.
Originally committed as revision 25188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 01:56:58 +00:00
Stefano Sabatini
75b67a8a99
Make the crop filters accept parametric expressions.
...
Originally committed as revision 25185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-25 01:18:43 +00:00
Stefano Sabatini
2bc05d3547
Change the syntax of the crop filter from x:y:w:h to w:h:x:y.
...
Slightly more intuitive and required by a pending changes for making
the filter parametric.
Originally committed as revision 25184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-24 23:14:01 +00:00
Stefano Sabatini
a6881c6a38
Add missing uses of NULL_IF_CONFIG_SMALL for the filters descriptions.
...
Originally committed as revision 25182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-24 20:41:14 +00:00
Stefano Sabatini
120119225a
Add missing NULL checks, fix crash.
...
Originally committed as revision 25181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-24 20:01:38 +00:00
Stefano Sabatini
32eba9f27e
Remove unnecessary av_strdup() and av_free().
...
Originally committed as revision 25169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-24 09:15:27 +00:00
Stefano Sabatini
47941088f9
Add frei0r filter.
...
See thread:
Subject: [FFmpeg-devel] [POC] frei0r wrapper
Date: Tue, 24 Aug 2010 21:37:32 +0200
Originally committed as revision 25165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-24 00:32:22 +00:00
Michael Niedermayer
177477f57a
Correct terminology bug in poll_frame()
...
it returns the number of samples not frames (for video sample=frame)
Originally committed as revision 25162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-23 11:12:03 +00:00
Stefano Sabatini
dcb90374a3
Cosmetics: fix weird align.
...
Originally committed as revision 25134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-16 08:47:37 +00:00
Stefano Sabatini
e6c4a417b3
Use <> for system headers inclusion.
...
Originally committed as revision 25133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-16 08:47:34 +00:00
Stefano Sabatini
0a7d6e01a3
Fix copyright notice, make it more consistent with the rest of FFmpeg.
...
Originally committed as revision 25132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-16 08:47:31 +00:00
Stefano Sabatini
6ebf0bfc17
Implement libopencv smooth filter.
...
Originally committed as revision 25118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-14 13:21:13 +00:00
Stefano Sabatini
11198b18db
Cosmetics: remove useless parentheses.
...
Originally committed as revision 25097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-10 17:44:08 +00:00
Stefano Sabatini
4afbcf46c9
Reindent.
...
Originally committed as revision 25068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-07 21:23:59 +00:00
Stefano Sabatini
34017fd9b2
Move av_picture_data_copy() to libavcore, and rename it
...
av_image_copy().
Originally committed as revision 25067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-07 21:23:55 +00:00
Stefano Sabatini
e16f217ceb
Use new imgutils.h API names, fix deprecation warnings.
...
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-07 19:15:29 +00:00
Stefano Sabatini
eedca998eb
Implement ff_get_ref_perms_string() and use it for tracing.
...
Originally committed as revision 24900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-24 15:12:13 +00:00
Stefano Sabatini
7f1af825f8
Add fifo filter.
...
Originally committed as revision 24896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-24 08:38:00 +00:00
Stefano Sabatini
5a9dd3de63
Make avfilter_start_frame() invoke avfilter_get_video_buffer() on the
...
link rather than avfilter_default_get_video_buffer().
This is required as the buffer requested may be greater than the
buffer allocated locally by avfilter_default_get_video_buffer(), for
example if in filterchain there is a pad filter (like in "fifo,pad").
In that case the pad filter will try to write beyond the data of the
allocated buffer, resulting in a crash.
Originally committed as revision 24895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-24 08:37:54 +00:00
S.N. Hemanth Meenakshisundaram
99046339fc
Add null audio filter.
...
Patch by S.N. Hemanth Meenakshisundaram -af smeenaks,ucsd,edu.
Originally committed as revision 24856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-20 23:16:51 +00:00
Stefano Sabatini
e34433612f
Rename av_fill_image_max_pixstep() to av_fill_image_max_pixsteps().
...
The plural form is preferred as it is more consistent with the other functions:
av_fill_image_linesizes()
av_fill_image_pointers()
and looks semantically more correct as it fills an array of elements.
Originally committed as revision 24851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-20 16:52:38 +00:00
Stefano Sabatini
014df3a2aa
Make ff_dprintf_ref() print audio related information if available.
...
Originally committed as revision 24849 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-20 15:16:10 +00:00
Stefano Sabatini
e29b451a51
Cosmetics: merge two lines in ff_dprintf_ref().
...
Originally committed as revision 24848 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-20 15:16:07 +00:00
Stefano Sabatini
0055b2d11a
Make ff_dprintf_ref() print the information related to the referenced
...
AVFilterBuffer.
Originally committed as revision 24847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-20 15:16:02 +00:00
Stefano Sabatini
b5fbb31e55
Rename ff_dprintf_picref() to ff_dprintf_ref().
...
The function is going to be used to represent also audio data.
Originally committed as revision 24846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-20 15:15:57 +00:00
Stefano Sabatini
801ab98088
Extend ff_dprintf_picref() to make it print video interlaced and
...
top_field_first information.
Originally committed as revision 24845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-20 14:41:23 +00:00
Stefano Sabatini
382ecd3537
Make ff_dprintf_picref() print video properties only if available.
...
Originally committed as revision 24844 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-20 14:41:21 +00:00
Stefano Sabatini
28c52b1ed9
Only print the pointer to the first plane in ff_dprintf_picref().
...
To display the other planes is usually not useful and add noise to the
output.
Originally committed as revision 24843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-20 14:41:18 +00:00
Stefano Sabatini
3fa3e4f4ec
Cosmetics: add an empty newline between the function description and
...
the list of @params.
Improve consistency and possibly enhance readability.
Originally committed as revision 24842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-20 14:19:55 +00:00
Stefano Sabatini
dc46661ae2
Enable and change the log level to DEBUG for the message printed in
...
case of picref copy.
Originally committed as revision 24831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-19 14:32:36 +00:00
Stefano Sabatini
ca8574310f
Cosmetics: apply misc spacing style fixes.
...
Originally committed as revision 24830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-19 14:32:31 +00:00
Stefano Sabatini
7fe82bd78a
Fix braino: @flip -> @file.
...
Originally committed as revision 24829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-18 21:07:57 +00:00
Stefano Sabatini
a6ddf8bf0f
Implement inline function av_fill_image_max_pixstep() and use it for
...
factorizing code.
Originally committed as revision 24827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-18 21:02:38 +00:00
Stefano Sabatini
371cbff84d
Cosmetics: apply misc style fixes.
...
Originally committed as revision 24812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 18:08:09 +00:00
S.N. Hemanth Meenakshisundaram
ad2c950154
Implement libavfilter audio framework.
...
Patch by S.N. Hemanth Meenakshisundaram * smeenaks * ucsd * edu *.
Originally committed as revision 24811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 18:08:03 +00:00
Stefano Sabatini
65d4cab562
Add missing checks in avfilter_default_get_video_buffer().
...
Originally committed as revision 24809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 15:12:28 +00:00
Stefano Sabatini
4f9ce3c4c7
Add missing NULL checks in avfilter_ref_buffer().
...
Originally committed as revision 24808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 15:12:22 +00:00
Stefano Sabatini
a1e171dfee
Add hflip filter.
...
Originally committed as revision 24806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 14:59:12 +00:00
Stefano Sabatini
f607cc18eb
Cosmetics: put "{" on the same line of the "struct" keyword in struct
...
definitions.
More consistent with the rest of FFmpeg.
Originally committed as revision 24789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-12 18:20:58 +00:00
Stefano Sabatini
81c1ecabab
Deprecate ff_get_plane_bytewidth() in favor of
...
av_get_image_linesize().
Originally committed as revision 24787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-12 15:06:04 +00:00
Baptiste Coudurier
e4cc9f208d
100L, fix vf_scale, since copy_ref_props now copy w and h, we must update them
...
Originally committed as revision 24781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-12 00:33:18 +00:00
Stefano Sabatini
a4fb0ada0b
Apply misc cosmetics: add empty newlines for separating function
...
declarations and fix weird indent.
Originally committed as revision 24776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-11 16:22:16 +00:00
S.N. Hemanth Meenakshisundaram
382ac60e44
Set type on buffer in get_video_buffer().
...
Patch by S.N. Hemanth Meenakshisundaram reverse("skaneems") + "@ucsd.edu".
Originally committed as revision 24775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-11 15:38:50 +00:00
S.N. Hemanth Meenakshisundaram
c1db7bff66
Resize data and linesize in AVFilterBufferRef to 8.
...
This is required to make AVFilterBufferRef able to contain also audio
data, required by audio filtering integration.
Patch by S.N. Hemanth Meenakshisundaram smeen?ks@ucsd.ed ?.
Originally committed as revision 24773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-11 15:25:42 +00:00
Stefano Sabatini
84c0386960
Change avfilter_open() signature, from:
...
AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name);
to:
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name);
This way it is possible to propagate an error code telling the reason
of the failure.
Originally committed as revision 24765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-11 11:44:51 +00:00
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
2010-08-11 11:06:04 +00:00
S.N. Hemanth Meenakshisundaram
5d4890d73d
Rename fields:
...
AVFilterLink.srcpic -> AVFilterLink.src_buf
AVFilterLink.cur_pic -> AVFilterLink.cur_buf
AVFilterLink.outpic -> AVFilterLink.out_buf
The new names are more generic and more consistent, since the struct
they contain, which was named AVFilterPicRef, has been renamed to
AVFilterBufferRef.
Patch by S.N. Hemanth Meenakshisundaram %smeenaks%ucsd%edu%.
Originally committed as revision 24732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-07 01:15:34 +00:00
S.N. Hemanth Meenakshisundaram
7fce481a69
Rename functions and fields:
...
avfilter_(un)ref_pic -> avfilter_(un)ref_buffer
avfilter_copy_picref_props -> avfilter_copy_buffer_ref_props
AVFilterBufferRef.pic -> AVFilterBufferRef.buffer
They have been renamed to allow sharing with audio.
Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$.
Originally committed as revision 24731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-07 01:15:27 +00:00
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
2010-08-07 01:15:19 +00:00
S.N. Hemanth Meenakshisundaram
d54e0948e0
Move format from AVFilterBuffer to AVFilterPicRef.
...
Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|.
Originally committed as revision 24728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-07 00:02:26 +00:00
S.N. Hemanth Meenakshisundaram
59ff3fd536
Fix the size of the data to be copied from an AVFilterBuffer to an
...
AVFilterBuffereRef in avfilter_default_get_video_buffer().
The error was being caused by the previous patch which resized
AVFilterBuffer's data and linesize arrays to 8.
Patch by S.N. Hemanth Meenakshisundaram" &smeenaks&ucsd&edu&.
Originally committed as revision 24727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-07 00:02:21 +00:00
Måns Rullgård
5a6fbf4c39
avfilter: indent
...
Originally committed as revision 24720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06 22:25:39 +00:00
Måns Rullgård
0bb7408e55
avfilter: do not crash on null link src/dst in avfilter_destroy()
...
Originally committed as revision 24719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06 22:25:36 +00:00
Måns Rullgård
f3b90d25ee
avfilter: free link in/out_formats in avfilter_destroy()
...
Originally committed as revision 24718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06 22:25:33 +00:00
Stefano Sabatini
6ce9b4310c
Remove use of the deprecated function avcodec_check_dimensions(), use
...
av_check_image_size() instead.
Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06 09:37:04 +00:00
Stefano Sabatini
be665c7da6
Make avfilter_copy_picref_props() copy w and h from src to dst.
...
Originally committed as revision 24678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-03 09:02:16 +00:00
Stefano Sabatini
d6bb31a46b
Make config_input() return AVERROR(EINVAL) in place of -1.
...
Originally committed as revision 24595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-30 11:56:01 +00:00
Stefano Sabatini
b59d12b1b9
Compute the max pixel step for each plane, and use it in place of
...
hardcoding that value in a switch.
More compact and correct.
Originally committed as revision 24594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-30 11:33:31 +00:00
S.N. Hemanth Meenakshisundaram
56b5e9d5a9
Resize AVFilterBuffer to hold 8 planes/linesizes worth of data.
...
This is required for making AVFilterBuffer useful for storing audio
data.
Patch by S.N. Hemanth Meenakshisundaram revert <ude.dscu@skaneems>.
Originally committed as revision 24592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-30 08:42:25 +00:00
Stefano Sabatini
7be5b7309c
Make avfilter_default_get_video_buffer() use functions in
...
libavcore/imgutils.c rather than ff_fill_linesize() and
ff_fill_pointer().
Also remove a dependency on libavcodec.
Originally committed as revision 24586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-30 00:29:50 +00:00
Stefano Sabatini
15379c2beb
Require libswscale only if the scale filter is used.
...
Although with several limitations, lavfi can be compiled and used
without the scale filter.
Originally committed as revision 24570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-28 08:56:52 +00:00
Stefano Sabatini
46eed2c886
Remove reference to the unexisting movie filter and the corresponding
...
useless --enable-avfilter-lavf option.
Originally committed as revision 24569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-28 08:56:49 +00:00
Stefano Sabatini
126b638ea0
Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
...
in favor of the newly added corresponding functions
av_parse_video_size() and av_parse_video_rate() defined in
libavcore/parseutils.h.
This change also adds a linking-time dependency of libavcodec and of
libavfilter on libavcore.
Originally committed as revision 24518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-26 23:12:28 +00:00
Stefano Sabatini
8d5fa2baa6
Remove dependency on avcodec_get_chroma_sub_sample() and libavcodec,
...
use the pixdesc API instead.
Originally committed as revision 24440 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22 22:06:46 +00:00
S.N. Hemanth Meenakshisundaram
bdab614be8
Generalize pixel format enum fields to int formats.
...
This is needed to make the libavfilter framework work with audio
filters.
In particular add a type field to AVFilterLink, change the field types:
enum PixelFormat format -> int format in AVFilterBuffer
enum PixelFormat *formats -> int *formats in AVFilterFormats
enum PixelFormat *format -> int format in AVFilterLink
and change the function signatures:
AVFilterFormats *avfilter_make_format_list(const enum PixelFormat *pix_fmts); ->
AVFilterFormats *avfilter_make_format_list(const int *fmts);
int avfilter_add_colorspace(AVFilterFormats **avff, enum PixelFormat pix_fmt); ->
int avfilter_add_format(AVFilterFormats **avff, int fmt);
AVFilterFormats *avfilter_all_colorspaces(void); ->
AVFilterFormats *avfilter_all_formats(enum AVMediaType type);
This change breaks libavfilter API/ABI.
Patch by S.N. Hemanth Meenakshisundaram |smeenaks|ucsd|edu|.
Originally committed as revision 24424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22 11:12:47 +00:00
Stefano Sabatini
98137a1a5b
Document create_filter().
...
Originally committed as revision 24423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22 09:56:09 +00:00
Stefano Sabatini
d2874a9d59
Add simple doxy to link_filter().
...
Originally committed as revision 24422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22 09:56:06 +00:00
Stefano Sabatini
94b2120dfb
Fix documentation for parse_link_name().
...
Originally committed as revision 24421 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22 09:56:03 +00:00
Stefano Sabatini
bb90d855d7
Consistently use Uppercase for the first character of the log
...
messages.
Originally committed as revision 24420 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22 09:56:00 +00:00
Stefano Sabatini
99ac59ca69
Make link_filter() propagate the generated error code.
...
Originally committed as revision 24419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22 09:55:57 +00:00
Stefano Sabatini
f219eee592
Fix style: "if(" -> "if (".
...
Originally committed as revision 24418 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-22 09:49:15 +00:00
Stefano Sabatini
59775b3c1a
Extend buffer source syntax.
...
Make the buffer source accept a string for specifying the input pixel
format.
Originally committed as revision 24387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 17:14:19 +00:00
Stefano Sabatini
e2f48c05e9
Add an informational trace in init().
...
Originally committed as revision 24386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 17:14:15 +00:00
Stefano Sabatini
b8dddebf3e
Clarify logic and feedback of the init() function.
...
Originally committed as revision 24385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 17:14:13 +00:00
Stefano Sabatini
ce1f853625
Add description to the buffer source.
...
Originally committed as revision 24384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 17:14:08 +00:00
Stefano Sabatini
4055438b48
Apply misc cosmetical style fixes.
...
Originally committed as revision 24365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 16:23:25 +00:00
Stefano Sabatini
b5634e458f
Add @file doxy.
...
Originally committed as revision 24364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 16:23:18 +00:00
Stefano Sabatini
9f0e31d29a
Make avfilter.c dprintf* functions internal and declare them in an
...
internal.h header, so they can be easily used from other files.
Originally committed as revision 24319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18 22:37:39 +00:00
S.N. Hemanth Meenakshisundaram
ff5f1be0fe
Move the AV_PERM_* flags definition outside the AVFilterPicRef
...
definition.
This way it is easier to reference them in other structures, for
example in the pending AVFilterSamplesRef struct.
Patch by S.N. Hemanth Meenakshisundaram smeenaks AT ucsd DOT edu.
Originally committed as revision 24294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 18:55:56 +00:00
Stefano Sabatini
32d7bcd4b1
Clarify AVFilterBuffer documentation, make it clear that it is not
...
necessarily video-related.
Originally committed as revision 24293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 18:27:11 +00:00
S.N. Hemanth Meenakshisundaram
b5c582fa9d
Remove AVFilterBuffer w and h fields.
...
These fields are never used, and they do not seem to belong to
AVFilterBuffer anymore, now that it is now a media-independent
structure and these fields are video-related.
Patch by S.N. Hemanth Meenakshisundaram smeenaks ! ucsd ! edu.
Originally committed as revision 24291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 18:13:17 +00:00
S.N. Hemanth Meenakshisundaram
f0d77b2085
Rename AVFilterPic to AVFilterBuffer.
...
The struct is going to be used for audio data as well, so the new name
is less misleading.
Patch by S.N. Hemanth Meenakshisundaram smeenaks AT ucsd DOT edu.
Originally committed as revision 24284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 10:44:14 +00:00
Stefano Sabatini
23ccf3c7a7
Add color source.
...
Originally committed as revision 24282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 10:14:52 +00:00
Víctor Paesa
922189feb0
Use avfilter_copy_picref_props() along lavfi.
...
Originally committed as revision 24196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 14:44:43 +00:00
Stefano Sabatini
ee4355808c
Reindent after r24101.
...
Originally committed as revision 24126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 22:05:33 +00:00
Stefano Sabatini
ce1cd1cba2
Rename read/write_line() to av_read/write_image_line().
...
The old names were not av_ prefixed, and they were causing linking
failure on many platforms. The new names are also more descriptive.
Patch by Stefano Sabatini.
Originally committed as revision 24101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-07 23:41:42 +00:00
Stefano Sabatini
ce2e4ae35a
Add pixdesctest filter and corresponding test.
...
Originally committed as revision 24092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-07 18:24:55 +00:00
Stefano Sabatini
4d508e4de5
Implement avfilter_copy_picref_props().
...
Originally committed as revision 24091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-07 18:23:54 +00:00
Måns Rullgård
d0b9b91b57
vf_pad: restore use of _CCIR colourspace conversion macros
...
Originally committed as revision 24073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-06 12:35:59 +00:00
Stefano Sabatini
1b364fd26e
Move shareable draw_rectangle() and query_formats function to the top
...
of the file, and put under #if CONFIG_PAD_FILTER the code specific to
the pad filter.
Simplify the inclusion of the color source.
Originally committed as revision 24067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-05 22:33:06 +00:00
Stefano Sabatini
039baa7813
Factorize out some code and implement the fill_line_with_color()
...
function. Allow to share code with the pending color source.
Originally committed as revision 24066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-05 22:33:02 +00:00
Stefano Sabatini
478b9d74d4
Enhance pad filter command-line description.
...
Based on a patch by John Calcote $name.$surname@gmail.com .
Originally committed as revision 24030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-03 19:41:22 +00:00
Baptiste Coudurier
b504981483
Use default graph swscale opts when no opts are supplied
...
Originally committed as revision 24016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-03 03:12:29 +00:00
Diego Biurrun
9a58234fea
Fix misspelled parameter names in Doxygen documentation.
...
This fixes one Doxygen warning each.
Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 10:49:29 +00:00
Stefano Sabatini
2b4abbd6f5
Move colorspace.h from libavcodec to libavutil.
...
Avoid a compile-time dependency of the pad filter on libavcodec.
Originally committed as revision 23940 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-01 18:49:44 +00:00
Stefano Sabatini
2e79db0141
Set pad description with NULL_IF_CONFIG_SMALL(), consistent with the
...
other filters.
Originally committed as revision 23923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 23:52:28 +00:00
Stefano Sabatini
a74f893b85
Improve description for the pad filter.
...
Originally committed as revision 23922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 23:52:26 +00:00
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30 15:38:06 +00:00
Stefano Sabatini
6951515cbf
Bump micro and add APIchanges entry after av_parse_color() extension.
...
Originally committed as revision 23838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 22:48:12 +00:00
Stefano Sabatini
9e74966b3f
Cosmetics: merge "} else" and "if (...) {" lines, less confusing.
...
Originally committed as revision 23837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 22:35:42 +00:00
Stefano Sabatini
4cf0b43ac9
Reindent after the last commit.
...
Originally committed as revision 23836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 22:35:39 +00:00
Stefano Sabatini
a52e2c3a46
Extend color syntax, make it accept an alpha component specifier.
...
Originally committed as revision 23835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 22:35:35 +00:00
Stefano Sabatini
8e094dd667
Rename ColorEntry.rgba_color to rgb_color and do not reserve a fourth
...
byte for the alpha component, as it is never used, clarify the code
and prevent bad usage of it.
Originally committed as revision 23834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 22:35:32 +00:00
Eli Friedman
93f7aeb5ad
Add a const declaration, fixing a warning
...
Patch by Eli Friedman, eli dot friedman at gmail
Originally committed as revision 23830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 19:03:59 +00:00
Eli Friedman
206afa55e2
Fix clang warning, make initialization more readable
...
Patch by Eli Friedman, eli dot friedman at gmail
Originally committed as revision 23829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27 19:02:15 +00:00
Carl Eugen Hoyos
9164afcbf9
Use enum PixelFormat to silence one icc warning:
...
warning #188 : enumerated type mixed with another type
enum PixelFormat pix_fmts[] = { c->pix_fmt, PIX_FMT_NONE };
^
Originally committed as revision 23640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-17 22:33:42 +00:00
Michael Niedermayer
701935968d
add #include so make checkheaders passes
...
Originally committed as revision 23637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-17 10:13:11 +00:00
Stefano Sabatini
30d9331050
Document what av_get_token() returns in case of allocation failure.
...
Originally committed as revision 23596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-13 09:32:03 +00:00
Stefano Sabatini
053a79b2ab
Resort @param in av_get_token() doxy to reflect the same order they
...
have in the function.
Originally committed as revision 23595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-13 09:32:01 +00:00
Stefano Sabatini
5ba949fe90
Add missing check to av_get_token().
...
Originally committed as revision 23594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-13 09:27:09 +00:00
Stefano Sabatini
47f0704eb2
Prefix value for flags with "0x", to make it clear that it is an
...
hexadecimal value.
Originally committed as revision 23262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 19:11:43 +00:00
Martin Storsjö
576fb48e6d
Make ff_random_get_seed public, rename to av_get_random_seed, export the header
...
Keep an old ff_ named function for binary compatibility until the
next major bump.
Originally committed as revision 23254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 08:53:40 +00:00
Baptiste Coudurier
03c3bb5c5a
use filter name when graph parser add filters
...
Originally committed as revision 23147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-16 18:13:55 +00:00
Stefano Sabatini
aeaa9630e5
Remove the name of the file from the @file doxy, it is unnecessary and
...
inconsistent with the other files.
Originally committed as revision 23122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 18:26:11 +00:00
Stefano Sabatini
622e6ce53a
Make the init and config_filter callbacks of the pad filter return
...
AVERROR(EINVAL) rather than -1 in case of invalid parameters.
Originally committed as revision 23121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 18:26:07 +00:00
Stefano Sabatini
dc0eaef318
Make av_parse_color() return AVERROR(EINVAL) rather than -1.
...
Originally committed as revision 23120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 18:26:03 +00:00
Baptiste Coudurier
2c2b2c0ac2
silence gcc warning about potential uninitialized usage
...
Originally committed as revision 23093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 17:39:52 +00:00
Vitor Sessak
8ad802e610
Alloc 16 extra bytes in libavfilter frames. Needed for MMX-optimized swscale.
...
Fix issue 1924.
Originally committed as revision 23077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-10 00:28:18 +00:00
Stefano Sabatini
b6bc205155
Bump lavfi minor after the addition of the fields interlaced and
...
top_field_first in AVFilterPicRef, done in r23044.
Originally committed as revision 23066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-09 20:02:40 +00:00
Stefano Sabatini
d760a316e9
Make config_props() show conversion information before to create the
...
swscale context.
This makes eventual warnings issued in case of swscale context
creation failure to be shown after the conversion information rather
than before, which is slightly less confusing.
Originally committed as revision 23056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 22:12:13 +00:00
Stefano Sabatini
38efdb2c6b
Log input size, input format and swscale flags used for conversion in
...
config_props().
Useful for debugging.
Originally committed as revision 23055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 22:12:10 +00:00
Måns Rullgård
f66b390582
vf_pad: fix mixed code and declarations
...
Originally committed as revision 23054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 17:53:29 +00:00
Michael Niedermayer
a0aa73544c
c99 sucks. Replacing scanf("%i") by strtoul()
...
Originally committed as revision 23053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 13:00:56 +00:00
Michael Niedermayer
3c940173c0
Add pad filter.
...
Originally committed as revision 23046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 11:47:13 +00:00
Michael Niedermayer
efdc74ef19
Try to keep track of interlaced and top field first.
...
Originally committed as revision 23044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 10:02:59 +00:00
Michael Niedermayer
3b9900c1c3
Enable vsrc_buffer
...
Originally committed as revision 23042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 09:22:32 +00:00
Michael Niedermayer
8155bbc944
Support setting flags for sws.
...
Originally committed as revision 23041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 09:20:45 +00:00
Michael Niedermayer
cf13f204cc
Add "Memory buffer source filter" from SOC.
...
This is needed by the current SOC-ffmpeg.c code.
Originally committed as revision 23039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-07 01:25:00 +00:00
Michael Niedermayer
2308b6c19a
Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
...
Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-28 20:00:23 +00:00
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
2010-04-20 14:45:34 +00:00
Stefano Sabatini
3748b2b8e8
Fix leak in avfilter_graph_add_filter().
...
In case of reallocation failure the pointer to the original filter
array was lost. The correct behavior seems to just keep the old array
and count.
Originally committed as revision 22905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-18 20:10:43 +00:00
Stefano Sabatini
22b7b23c17
Make avfilter_graph_add_filter() returns AVERROR(ENOMEM) in case of
...
failed reallocation, rather than just -1.
Originally committed as revision 22878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-13 23:22:22 +00:00
Stefano Sabatini
bc3c85a3e6
Apply grammar/consistency nits to avfilter_graph_add_filter() doxy.
...
Originally committed as revision 22842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-11 21:26:00 +00:00
Bobby Bingham
ac1c95645a
Bump libavfilter minor version and Changelog for unsharp filter
...
Originally committed as revision 22830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-10 20:34:44 +00:00
Bobby Bingham
e0728d7991
Add unsharp video filter.
...
Contributed by Daniel G. Taylor (dan/at/programmer-art/dot/org)
Originally committed as revision 22813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-07 01:05:24 +00:00
Bobby Bingham
2bb962567e
Remove variable whose value was never read. Found by clang.
...
Originally committed as revision 22794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-03 15:29:48 +00:00
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
2010-03-30 23:30:55 +00:00
Bobby Bingham
15ba015f71
The vflip filter does not need to keep ownership of a picture reference.
...
Avoid creating and releasing useless extra picture references in the
start_frame and end_frame callbacks.
Originally committed as revision 22596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-18 23:13:04 +00:00
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
2010-03-18 23:13:02 +00:00
Bobby Bingham
91d1c741bf
Create a set of null callback functions.
...
These are useful for filters which don't modify the image data.
Originally committed as revision 22594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-18 23:12:48 +00:00
Bobby Bingham
e88c9dac07
Cosmetics: vertical align
...
Originally committed as revision 22578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 04:37:43 +00:00
Bobby Bingham
c0bc2fed8e
Allow format and noformat filters to be more completely disabled when the
...
other is enabled.
Originally committed as revision 22577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 04:37:40 +00:00
Bobby Bingham
55fd1bbc1b
Cosmetics: rearrange functions to simplify ifdeffery
...
Originally committed as revision 22576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 04:37:36 +00:00
Bobby Bingham
3922deb577
Add video filter to manipulate aspect ratio
...
Originally committed as revision 22573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 03:43:14 +00:00
Stefano Sabatini
89fb9ae9e6
Make the scale filter pass the pkt.pos information to the output
...
picref.
Originally committed as revision 22509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-13 12:33:44 +00:00
Stefano Sabatini
8955a324f4
Bump libavfilter minor version and add APIchanges entry after the
...
addition of the AVFilterPicRef.pos field.
Originally committed as revision 22508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-13 11:41:15 +00:00
Stefano Sabatini
5bb5c1dc86
Add AVFilterPicRef.pos field and make libavfilter propagate stream
...
byte position information, as stored in the pkt.pos, through the
filterchain.
Note that the pos field is added *non* at the end of the
AVFilterPicRef struct, thus breaking ABI compatibility, which is
allowed as the API is still considered non-stable.
Originally committed as revision 22506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-13 11:27:05 +00:00
Stefano Sabatini
ec7ab610d5
Extend the slice filter to make it issue slice height values randomly
...
choosen between 8 and 32 when the supplied parameter is the string
"random".
This is useful for testing the slice support, but it is not supposed
to be used for other purposes and this interface may change in the
future, thus it is not documented.
The randomization algorithm adopted is the standard Numerical Recipes
LCG.
Originally committed as revision 22505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-13 10:41:25 +00:00
Måns Rullgård
1250fcc862
avfilter: make avfilter_default_free_video_buffer() static
...
This function is not referenced outside this file and has no
prototype. Feel free to flame if this is wrong.
Originally committed as revision 22314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 03:41:19 +00:00
Stefano Sabatini
3b2142af99
Make avfilter_default_start_frame() correctly pass the aspect ratio
...
information to the next filter.
Originally committed as revision 22300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07 23:53:47 +00:00
Stefano Sabatini
63833766dc
Show aspect ratio information in dprintf_picref() traces.
...
Originally committed as revision 22255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 21:28:08 +00:00
Stefano Sabatini
11ab237e31
Add the graph2dot tools and document it.
...
Also link avfiltergraph.o and graphparser.o against libavfilter, as it
uses them.
Originally committed as revision 22063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-25 19:55:01 +00:00
Stefano Sabatini
ef9f8dd730
Use pixel format descriptors for checking if the input format is
...
paletted. Simpler and more robust.
Originally committed as revision 21631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-03 23:10:18 +00:00
Stefano Sabatini
d2a2b08cfe
Use pixel format descriptors to check if the input format is paletted.
...
Originally committed as revision 21597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-01 19:50:17 +00:00
Stefano Sabatini
b4b6645655
Avoid usage of avcodec_get_pix_fmt_name() and
...
avcodec_get_chroma_sub_sample(), directly access
av_pix_fmt_descriptors instead.
Remove some of the dependancies of lavfi on lavc.
Originally committed as revision 21575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-31 16:33:29 +00:00
Stefano Sabatini
718c7b18c9
Use av_get_pix_fmt() instead of the deprecated avcodec_get_pix_fmt()
...
function.
Originally committed as revision 21550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-30 19:10:26 +00:00
Stefano Sabatini
006aa1a4c2
Implement null video sink.
...
Originally committed as revision 21242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 11:05:36 +00:00
Stefano Sabatini
dd08b83c87
Implement null video source.
...
Originally committed as revision 21240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 10:43:53 +00:00
Stefano Sabatini
b5eab66e9f
Make avfilter_default_start_frame() request a buffer with the same
...
size of the output link of the destination filter, rather than of the
size of the input link.
In particular this fixes a crash in the rotate filter.
Originally committed as revision 21238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 10:10:14 +00:00
Måns Rullgård
a482e61bd6
Add symbol versioning for shared libraries
...
Based on patch by Reinhard Tartler <siretart tauware de>
Originally committed as revision 21236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 04:49:02 +00:00
Stefano Sabatini
08f8b51f69
Make avfilter_insert_filter() log the names of the filters between
...
which it inserts the new filter.
Originally committed as revision 21177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 00:16:52 +00:00
Stefano Sabatini
f37c934d20
Make query_formats() print an error message if an auto-inserted scale
...
filter cannot convert between input and output formats.
Originally committed as revision 21176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 00:09:24 +00:00
Stefano Sabatini
9ea977210c
Make query_formats() increment the scaler_count after each scaler
...
insertion.
Originally committed as revision 21124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-10 14:23:19 +00:00
Stefano Sabatini
999c23a13a
Make avfilter_insert_filter() print the instance name of the
...
auto-inserted scale filter, rather than the filter name, as this
provides more information.
Originally committed as revision 21123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-10 13:45:55 +00:00
Stefano Sabatini
3fb8e77a8d
Add a log context to avfilter_graph_config_links().
...
Originally committed as revision 21121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-10 13:39:56 +00:00
Stefano Sabatini
27d8f6b660
Make the scale filter set in the input and output links only the
...
respective pixel formats effectively supported by libswscale.
Originally committed as revision 21105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 23:48:32 +00:00
Stefano Sabatini
d3c01751a3
Fix compilation on gcc 2.95.3 (still supported) broken by r21077,
...
which was due to declaring variable after code.
Originally committed as revision 21086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 08:19:18 +00:00
Stefano Sabatini
063e769273
Make avfilter_formats_unref(AVFilterFormats **ref) handle the case
...
when *ref is NULL.
Originally committed as revision 21077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 22:59:22 +00:00
Stefano Sabatini
fe59258516
Use the @return doxy command, and extend documentation for the return
...
value of AVFilter.query_formats.
Originally committed as revision 21076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 22:52:46 +00:00
Stefano Sabatini
c4d2e41ce4
Avoid the use of the modal auxiliary "should" in the
...
AVFilter.query_formats doxy.
The doxy expresses what a function does, not what it should do.
Originally committed as revision 21075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 22:51:06 +00:00
Stefano Sabatini
516841ef63
Fix doxy, use third person.
...
Originally committed as revision 21073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-07 22:44:32 +00:00
Stefano Sabatini
c1d662fd88
Change avfilter_add_colorspace() to make it accept **avff rather than
...
*avff, so that an AVFilterFormats struct is created and returned by
the function if *avff is NULL.
Make the function use more convenient.
Originally committed as revision 21035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-06 16:19:13 +00:00
Stefano Sabatini
5ff84183de
Make avfilter_all_colorspaces() add to the returned list of pixel
...
formats only the non-HW-accelerated formats, for which there is no
sense in filtering.
Originally committed as revision 21009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-04 00:08:11 +00:00
Stefano Sabatini
4fd1f1876a
Implement avfilter_add_colorspace().
...
Originally committed as revision 21007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-03 22:26:59 +00:00
Stefano Sabatini
4160069067
Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() and
...
XXX_license() functions, consistent with the rest of FFmpeg.
Originally committed as revision 21005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-03 14:31:25 +00:00
Stefano Sabatini
15a316c014
Make parse_filter() parsing more robust.
...
Add ';' and '\n' to the terminating characters for the name of a
filter, and ';' to the terminating characters for its args.
Originally committed as revision 20800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-11 20:02:10 +00:00
Stefano Sabatini
62096b99b1
Make parse_key_value_pair() print an error message if a key is not
...
found in the context.
Originally committed as revision 20779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-08 22:01:25 +00:00
Stefano Sabatini
7d132c544b
Use an unsigned int to contain all the color values of the expressions
...
of the type 0xRRGBBAA parsed by av_parse_color(), using a simple int
was resulting in unexpected results as the most significant bit was
used for the sign.
Originally committed as revision 20778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-08 22:00:07 +00:00
Stefano Sabatini
e87eb039cc
Fix alpha plane flipping for the yuva420p and similar pixel formats.
...
Originally committed as revision 20771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-08 17:08:49 +00:00
Stefano Sabatini
3a1acfd79a
Reindent after the last commit.
...
Originally committed as revision 20755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-06 17:41:49 +00:00
Stefano Sabatini
bf972d5e1c
Fix slicify when the slice_direction is negative, make it send slices
...
from the bottom to the top one.
Originally committed as revision 20754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-06 17:40:41 +00:00
Stefano Sabatini
a13a543797
Add a slice_dir parameter to avfilter_draw_slice().
...
Avoid the need to implement slice direction detection code, thus
reducing code duplication.
See the thread:
"[FFmpeg-devel] [PATCH] Add a slice_dir parameter to avfilter_start_frame()".
Originally committed as revision 20734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-04 23:26:13 +00:00
Stefano Sabatini
b37aa4de2d
Use the correct chroma values for the data[] array used in
...
draw_slice().
The chroma values to use are supposed to be those of the input format,
not that of the output format, the latter case was causing crashes and
chroma issues.
Originally committed as revision 20660 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-29 18:02:19 +00:00
Stefano Sabatini
8aeb33225a
Use a valid log context for av_log().
...
Originally committed as revision 20659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-29 17:40:53 +00:00
Stefano Sabatini
bd2837387c
Document slice ordering assumption required by avfilter_draw_slice().
...
The assumption depends on the corresponding assumption done by
sws_scale() and by the scale filter.
Originally committed as revision 20655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-29 10:42:37 +00:00
Stefano Sabatini
4cc3f6afe4
Remove AVFilter.next field, since it is not used and it is not going
...
to be used since the implementation of the new filter registration
system.
Originally committed as revision 20611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-25 23:24:09 +00:00
Stefano Sabatini
1433c4abf2
Implement avfilter_next().
...
Originally committed as revision 20607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-24 23:58:48 +00:00
Stefano Sabatini
86a60fa1ac
Implement a new registration system for filters.
...
Create a new static array containing pointers to the AVFilter
definitions, so that the non-constant next filter in the AVFilter
struct is not anymore required and the AVFilter definitions may be
stored in shareable memory.
Also change the signature for avfilter_register(), make it return an
int since it may fail if there is not enough space in the static array
for the registered filters.
Originally committed as revision 20605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-24 23:47:33 +00:00
Stefano Sabatini
2d64744fed
Remove from the list of the supported formats the formats which are
...
not correctly supported.
See the thread:
"[FFmpeg-devel] [PATCH] Remove not truly supported formats support from the crop filter".
Originally committed as revision 20576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-22 11:51:41 +00:00
Diego Biurrun
c173693698
Add functions to return library license and library configuration.
...
Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-18 17:15:17 +00:00
Diego Biurrun
1f20782c04
Add missing #includes for avutil.h, required for the AV_VERSION* macros.
...
Originally committed as revision 20544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-16 18:39:26 +00:00
Stefano Sabatini
c3eabb7d2f
Add scale filter.
...
Originally committed as revision 20519 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-11 23:50:21 +00:00
Stefano Sabatini
5c3c0e3f2e
Fix crop filter start_frame() for paletted formats different from
...
PAL8. Shift data[1] only if the input format is not paletted.
Originally committed as revision 20488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 21:00:38 +00:00
Stefano Sabatini
dd18b301f4
Enable linking of parseutils.o.
...
Originally committed as revision 20487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 18:56:51 +00:00
Stefano Sabatini
ac74dfa436
Fix start_frame(), which was issuing chroma artifacts with planar
...
formats with more than 8 bits per pixel (e.g. YUVXXXP16).
Originally committed as revision 20479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 22:47:10 +00:00
Stefano Sabatini
cabc41b0c2
Vertical align.
...
Originally committed as revision 20447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 22:47:10 +00:00
Stefano Sabatini
198d56533e
Use spaces after commas for improving readability.
...
Originally committed as revision 20446 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 22:46:15 +00:00
Stefano Sabatini
bc37ec923d
Add slicify video filter.
...
Originally committed as revision 20445 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 22:41:38 +00:00
Stefano Sabatini
da23d42476
Make avfilter_get_video_buffer() use
...
avfilter_default_get_video_buffer() if the get_video_buffer() callback
is not defined in a filter.
Libavfilter filters author have to explicitely define the
get_video_buffer() callback if they want the buffer to be requested to
the filter following in the filterchain.
See the thread:
"[FFmpeg-devel] [PATCH] Make avfilter_get_video_buffer() use
default_get_video_buffer if callback not defined".
Originally committed as revision 20444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 22:15:52 +00:00
Stefano Sabatini
ae2abc69db
Explicitely define get_video_buffer() callbacks in the format,
...
noformat and null filters.
Originally committed as revision 20443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 22:04:55 +00:00
Stefano Sabatini
dc264e77a3
Change file doxy from
...
"video format and noformat filters" to
"format and noformat video filters",
as suggested by Diego.
Originally committed as revision 20442 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 21:59:41 +00:00
Stefano Sabatini
09da17810b
Fix/clarify description of the noformat filter.
...
Originally committed as revision 20441 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03 21:57:21 +00:00
Stefano Sabatini
c5ec0d9d4f
Remove the get_video_buffer() callback.
...
That was never required since avfilter_get_video_buffer() already
calls itself on the next link if get_video_buffer is not defined.
Originally committed as revision 20419 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-30 11:11:25 +00:00
Stefano Sabatini
2be414c8de
Fix doxies, use third person and phrase-ending dots.
...
Originally committed as revision 20391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 22:12:20 +00:00
Stefano Sabatini
fcbed3c735
Add format and noformat filters.
...
Originally committed as revision 20390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 21:40:43 +00:00
Stefano Sabatini
3555d2e88e
Introduce first_avfilter and use that, together with AVFilter.next,
...
for registering and finding filters, rather than use the struct
AVFilterList, which is removed.
Simplify the filter registration management code.
Originally committed as revision 20387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 19:52:14 +00:00
Stefano Sabatini
243110f968
Add a field 'next' to AVFilter.
...
Simplify the registration and iteration of all the registered filters,
consistent with what is done with formats / codecs.
Originally committed as revision 20385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 19:42:07 +00:00
Stefano Sabatini
b70bc02279
Add descriptions for the committed filters.
...
Originally committed as revision 20375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 00:43:45 +00:00
Stefano Sabatini
8fdb01c10e
Make dprintf_link() show the name of the link pixel format.
...
Originally committed as revision 20372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-25 21:06:00 +00:00
Stefano Sabatini
cccd292ae2
Move the description field of the filter from AVFilterContext to
...
AVFilter, where it should have had defined the first time.
+10L.
Originally committed as revision 20356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-22 23:03:25 +00:00
Stefano Sabatini
1551745c88
Add a description field to AVFilterContext.
...
Originally committed as revision 20354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-22 22:46:11 +00:00
Stefano Sabatini
c38ae71f54
Add video vertical flip filter.
...
Originally committed as revision 20352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-22 22:00:33 +00:00
Stefano Sabatini
067180220d
Make the pix_fmts var in query_formats() static const.
...
Originally committed as revision 20343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-21 21:04:53 +00:00
Stefano Sabatini
190c166960
Add video crop filter.
...
Originally committed as revision 20342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-21 20:57:30 +00:00
Stefano Sabatini
9abba21ad3
Cosmetics: prefer "pix_fmts" over "pix_fmt" for the name of the
...
argument of avfilter_make_format_list(), as the argument represents a
list of elements.
Originally committed as revision 20341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-21 20:43:43 +00:00
Stefano Sabatini
1554fed2d6
Make avfilter_make_format_list() take in input a const argument.
...
Originally committed as revision 20340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-21 20:39:05 +00:00
Stefano Sabatini
c0da46c8e0
Break over-80-chars-long line.
...
Originally committed as revision 20320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 19:22:08 +00:00
Stefano Sabatini
6b5dc050a2
Rename avfilter_make_format_list2() to avfilter_make_format_list().
...
Originally committed as revision 20302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 23:39:54 +00:00
Stefano Sabatini
e768cb7668
Remove avfilter_make_format_list(), it has been replaced by
...
avfilter_make_format_list2().
Originally committed as revision 20301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 23:35:54 +00:00
Stefano Sabatini
f6a1fa850a
Implement avfilter_make_format_list2(), which is going to replace
...
avfilter_make_format_list().
See the thread:
"[PATCH] Implement avfilter_make_format_list2(enum PixelFormat pix_fmt, ...)".
Originally committed as revision 20299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 23:06:52 +00:00
Stefano Sabatini
f28b385d47
Make clear in the doxy that this is a *video* filter.
...
Originally committed as revision 20298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 23:00:11 +00:00
Vitor Sessak
9dd08b4e1e
Fix recursive avfilter_poll_frame(). It was doing
...
min = FFMIN(min, avfilter_poll_frame(link->src->inputs[i]))
which, since FFMIN is a macro, was calling itself
twice for every input, causing an exponential cost in time.
Originally committed as revision 20295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 22:33:37 +00:00
Stefano Sabatini
7b018b1d7d
Add the null video filter.
...
Originally committed as revision 20275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 09:44:33 +00:00
Stefano Sabatini
930aa45132
Use 'enum PixelFormat *' rather than 'int *' as type for the
...
AVFilterFormats.formats field.
Cleaner / safer.
Originally committed as revision 20274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 09:31:57 +00:00
Stefano Sabatini
0eb4ff9e37
Make avfilter_get_video_buffer() recursive.
...
When called on a link with a filter whose destination pad has not a
get_video_buffer callback defined, it will call
avfilter_get_video_buffer() on the first output link of the
destination filer, rather than use avfilter_default_get_buffer(), so
the video buffer can be allocated forward in the filterchain.
Also add the w and h parameters to avfilter_get_video_buffer(), as the
minimum width and height requested by each filter in the filterchain
may change, this allows for example a memcpy-less pad filter.
This change breaks API / ABI backward compatibility.
See the thread:
"[PATCH] Implement recusive avfilter_get_video_buffer()".
Originally committed as revision 20272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 08:16:18 +00:00
Stefano Sabatini
46c40e4835
Add w and h fields to AVFilterPic.
...
See the thread:
"[FFmpeg-devel] [PATCH] Add w,h fields to AVFilterPic".
Originally committed as revision 20189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-07 18:50:00 +00:00
Stefano Sabatini
96da1c51f6
Implement trace messages logging in the filterchain processing.
...
It is only enabled when the DEBUG symbol is defined.
Originally committed as revision 20187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 22:07:32 +00:00
Stefano Sabatini
0802356cfc
Remove the const qualifier for the name field of AVFilterInOut, since
...
it is meant to be freed.
Fix warnings.
Originally committed as revision 19072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-01 16:07:48 +00:00
Stefano Sabatini
4ec42240ca
Implement avfilter_graph_config_links().
...
Originally committed as revision 19066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-31 16:30:12 +00:00
Stefano Sabatini
62c58bcc65
Fix grammar for avfilter_graph_parse() doxy.
...
Originally committed as revision 18900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 22:38:41 +00:00
David Conrad
ef516f7377
Move ALIGN macro to libavutil/common.h and use it in various places
...
Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-22 21:32:13 +00:00
Stefano Sabatini
cec8e5f76a
Log with level AV_LOG_ERROR if av_parse_color() cannot recognize a
...
color.
Originally committed as revision 18868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-18 17:59:03 +00:00
Stefano Sabatini
c1ec75b576
Implement av_set_options_string().
...
Originally committed as revision 18832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-14 22:57:08 +00:00
Stefano Sabatini
3d3bd64db8
Add support in av_parse_color() to a "random" color name, which will
...
result in a randomly choosen random color, as it is with the
"bikeshed" color.
Originally committed as revision 18828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-14 18:58:06 +00:00
Stefano Sabatini
b69b622c22
Make case insensitive the match for the color name in
...
av_parse_color().
Originally committed as revision 18827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-14 18:54:25 +00:00
Stefano Sabatini
38efe76877
Use a single space after an ending period and the beginning of the
...
next sentence, consistent with the FFmpeg documentation style.
Originally committed as revision 18824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-14 18:19:42 +00:00
Stefano Sabatini
c5c6f62668
Apply documentation fixes: use third person, fix grammar and remove
...
inconsistent '\p'.
Originally committed as revision 18823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-14 18:13:17 +00:00
Vitor Sessak
b755a754d1
"[" is a terminating char for the filter name. This fixes the parsing of
...
things like
[in] vflip [out];
Originally committed as revision 18772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-08 19:14:21 +00:00
Ramiro Polla
4fa61d1e98
Accept "bikeshed" as a random color.
...
Originally committed as revision 18758 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-06 15:25:30 +00:00
Stefano Sabatini
a3015225c7
Implement av_parse_color().
...
Originally committed as revision 18748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-05 22:10:06 +00:00
Stefano Sabatini
2e032b32df
Prefer (void) over () in function prototype.
...
Originally committed as revision 18727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 21:35:01 +00:00
Stefano Sabatini
dd04911c4e
Make graphparser.c use av_get_token().
...
This also avoids the need for '\=' escaping.
Originally committed as revision 18726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 18:17:59 +00:00
Michael Niedermayer
d11dbf092c
av_get_token()
...
based on a patch by Stefano Sabatini
Originally committed as revision 18725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 14:38:07 +00:00
Stefano Sabatini
fd548e5bd6
Remove consume_whitespace() and replace it with direct calls to
...
strspn().
Originally committed as revision 18645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-21 19:08:49 +00:00
Cédric Schieli
fe479c9d63
Also copy pixel_aspect when copying the picref in avfilter_start_frame.
...
This avoids a division by zero in '[in]fifo,scale[out]'
Originally committed as revision 18507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-14 08:48:47 +00:00
Víctor Paesa
b6fec3eb7f
Make static the list of registered filters.
...
Originally committed as revision 18198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-26 21:46:45 +00:00
Michael Niedermayer
6d4f53cbac
Remove old scaler.
...
Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-03 22:51:30 +00:00
Stefano Sabatini
86a47378d5
Rename avfilter_parse_graph() to avfilter_graph_parse(), for better
...
consistency with the rest of the API.
Originally committed as revision 17624 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 22:03:55 +00:00
Stefano Sabatini
d7dbe55823
Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for better
...
consistency with the rest of the API.
Originally committed as revision 17623 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-26 22:02:09 +00:00
Stefano Sabatini
39c07b8e44
Implement in AVFilterGraph the scale_sws_opts field, and pass its
...
value in the args for the auto-inserted scale filters.
Originally committed as revision 17547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-23 23:45:21 +00:00
Stefano Sabatini
fd51ff1643
Fix avfilter_parse_graph() invalid graph description detection.
...
See the thread:
"[FFmpeg-devel] [PATCH] Fix avfilter-parse-graph()".
Originally committed as revision 17222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-14 11:47:42 +00:00
Stefano Sabatini
822005ed45
Implement avfilter_graph_check_validity().
...
Originally committed as revision 16809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-26 20:21:25 +00:00
Stefano Sabatini
784712343c
Print a warning and fail if the graph description cannot be
...
parsed.
Originally committed as revision 16648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-16 23:56:53 +00:00
Aurelien Jacobs
49fb20cb8a
replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_
...
and remove all ENABLE_ definitions.
Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 17:19:17 +00:00
Stefano Sabatini
90993b3848
Reindent after the last commit, while at it also add some spaces for
...
improving readability.
Originally committed as revision 16566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 20:34:34 +00:00
Stefano Sabatini
689a5f493b
Make avfilter_open() set to NULL the pads and the filters when the
...
corresponding count is zero, rather than allocate a 16 bytes sized
block for them. Improve safety.
Originally committed as revision 16565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-12 20:30:57 +00:00
Stefano Sabatini
b9609848f3
Implement the avfilter_default_draw_slice() handler and use it in
...
avfilter_draw_slice() when the draw_slice callback is not defined in
the input pad.
Originally committed as revision 16554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-11 22:05:48 +00:00
Stefano Sabatini
2b187df99b
Fix capitalization and missing periods issues.
...
Originally committed as revision 16517 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-10 10:26:05 +00:00
Stefano Sabatini
9ce95f272e
Cosmetics: break line to make it not longer than 80 chars.
...
Originally committed as revision 16405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-02 10:07:26 +00:00
Stefano Sabatini
91535e5f38
Fix typos.
...
Originally committed as revision 16384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-29 12:11:01 +00:00
Stefano Sabatini
055068d001
Mention in the documentation of avfilter_poll_frame() that it returns
...
a negative value in case of error.
Originally committed as revision 16372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-28 17:07:47 +00:00
Stefano Sabatini
7f9b3266c9
Change thisIsAVar variable names to this_is_a_var style, more
...
consistent with the rest of libav*.
Originally committed as revision 16356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-27 09:31:05 +00:00
Stefano Sabatini
9864142b6d
Fix and extend documentation for avfilter_graph_get_filter().
...
Originally committed as revision 16354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 22:25:47 +00:00
Stefano Sabatini
e916c2ac6a
Fix typo: ommitted -> omitted.
...
Originally committed as revision 16353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 20:26:44 +00:00
Stefano Sabatini
e4a5f397fd
Choose better names for the variables in create_filter().
...
Originally committed as revision 16320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 10:54:16 +00:00
Stefano Sabatini
175821c631
Fix documentation for avfilter_parse_graph().
...
Originally committed as revision 16319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-26 10:48:54 +00:00
Carl Eugen Hoyos
5bc8ebd3ea
Use PIX_FMT_NONE to silence icc warning #188 :
...
enumerated type mixed with another type
Originally committed as revision 15942 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-26 18:59:36 +00:00
Diego Biurrun
f0e602351e
cosmetics: Consistently place HEADERS before OBJS in all Makefiles.
...
Originally committed as revision 15896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-20 22:53:18 +00:00
Måns Rullgård
ede725104b
cosmetic: align backslashes in makefiles
...
Originally committed as revision 15717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-26 15:21:45 +00:00
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-31 07:39:47 +00:00
Stefano Sabatini
42f72a3ac4
Fix a typo.
...
Originally committed as revision 15009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 21:37:40 +00:00
Stefano Sabatini
39981f5354
Reword a sentence in a doxy making its interpretation clearer.
...
Originally committed as revision 15008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-28 21:37:01 +00:00
Stefano Sabatini
540f1c7b13
Implement avfilter_version().
...
Originally committed as revision 14669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 18:43:38 +00:00
Diego Biurrun
f4433de9ef
consistency cosmetics: indices --> indexes
...
Originally committed as revision 13444 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 23:14:25 +00:00
Vitor Sessak
e2b5fdaf11
Split openLinks linked list into openInputs and openOutputs
...
Commited in SoC by Vitor Sessak on 2008-05-24 17:20:09
Originally committed as revision 13360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:34 +00:00
Vitor Sessak
64fbf5e263
One more memory leak
...
Commited in SoC by Vitor Sessak on 2008-05-24 17:18:03
Originally committed as revision 13359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:32 +00:00
Vitor Sessak
4d11beb293
Cosmetical: move statement
...
Commited in SoC by Vitor Sessak on 2008-05-24 17:17:19
Originally committed as revision 13358 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:29 +00:00
Vitor Sessak
64b164f44a
Plug some memory leaks
...
Commited in SoC by Vitor Sessak on 2008-05-24 17:15:18
Originally committed as revision 13357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:26 +00:00
Vitor Sessak
90ed076ce3
Merge variable initialization and declaration
...
Commited in SoC by Vitor Sessak on 2008-05-24 17:01:01
Originally committed as revision 13356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:24 +00:00
Vitor Sessak
c185fc5d72
Cosmetics
...
Commited in SoC by Vitor Sessak on 2008-05-24 17:00:23
Originally committed as revision 13355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:21 +00:00
Vitor Sessak
5b31015a7f
Remove unnused var
...
Commited in SoC by Vitor Sessak on 2008-05-24 16:58:58
Originally committed as revision 13354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:18 +00:00
Vitor Sessak
c880791fc1
Simplify
...
Commited in SoC by Vitor Sessak on 2008-05-24 16:55:47
Originally committed as revision 13353 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:16 +00:00
Vitor Sessak
c956dd431f
Use av_mallocz instead of av_malloc to simplify some code
...
Commited in SoC by Vitor Sessak on 2008-05-24 16:53:33
Originally committed as revision 13352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:11 +00:00
Vitor Sessak
e97908ee70
Factor linked list insertion in its own function
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:33:17
Originally committed as revision 13351 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:09 +00:00
Vitor Sessak
c658f47eff
Remove comment redundant with those in graphparser.h
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:10:07
Originally committed as revision 13350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:04 +00:00
Vitor Sessak
089d371450
These error messages should print the filter name, not the instance name
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:08:23
Originally committed as revision 13349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:42:00 +00:00
Vitor Sessak
12849837d4
10l: fix previous commit
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:06:05
Originally committed as revision 13348 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:57 +00:00
Vitor Sessak
ba3fed2fc2
Simplify
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:05:30
Originally committed as revision 13347 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:54 +00:00
Vitor Sessak
98fb286b60
Remove senseless comments
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:03:51
Originally committed as revision 13346 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:51 +00:00
Vitor Sessak
5e60018545
Cosmetics: split setting a var and checking for error
...
Commited in SoC by Vitor Sessak on 2008-05-24 13:03:07
Originally committed as revision 13345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:48 +00:00
Vitor Sessak
69fa7e80c2
Fix doxy comment
...
Commited in SoC by Vitor Sessak on 2008-05-24 12:57:58
Originally committed as revision 13344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:45 +00:00
Vitor Sessak
bd80b349b3
Make parse_link_name() return a pointer to the name read
...
Commited in SoC by Vitor Sessak on 2008-05-24 12:57:20
Originally committed as revision 13343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:42 +00:00
Vitor Sessak
f5cbde2ee1
Cosmetics: more function reordering
...
Commited in SoC by Vitor Sessak on 2008-05-24 12:53:28
Originally committed as revision 13342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:38 +00:00
Vitor Sessak
d424e138d1
Make consume_whitespace() return a number of bytes to be skiped
...
Commited in SoC by Vitor Sessak on 2008-05-24 12:50:32
Originally committed as revision 13341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:36 +00:00
Vitor Sessak
8e74c889bc
Cosmetics: change function order
...
Commited in SoC by Vitor Sessak on 2008-05-24 12:46:27
Originally committed as revision 13340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:34 +00:00
Vitor Sessak
74c2f1fbcb
Simplify
...
Commited in SoC by Vitor Sessak on 2008-04-23 20:46:17
Originally committed as revision 13339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:31 +00:00
Vitor Sessak
6a0c770b21
Pass the inputs and outputs of avfilter_parse_graph() with a AVFilterInOut linked list
...
Commited in SoC by Vitor Sessak on 2008-04-23 20:40:49
Originally committed as revision 13338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:27 +00:00
Vitor Sessak
d835680e3c
Cosmetics: more indentation consistency
...
Commited in SoC by Vitor Sessak on 2008-04-23 19:24:23
Originally committed as revision 13337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:25 +00:00
Vitor Sessak
487c0e6700
More cosmetics: make indentation more consistent
...
Commited in SoC by Vitor Sessak on 2008-04-23 19:14:08
Originally committed as revision 13336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:22 +00:00
Vitor Sessak
d9d086d901
More cosmetics
...
Commited in SoC by Vitor Sessak on 2008-04-23 19:13:06
Originally committed as revision 13335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:19 +00:00
Vitor Sessak
eee68d96d4
Move code out of if
...
Commited in SoC by Vitor Sessak on 2008-04-23 19:05:32
Originally committed as revision 13334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:16 +00:00
Vitor Sessak
67ba10fe56
Cosmetics
...
Commited in SoC by Vitor Sessak on 2008-04-23 19:00:50
Originally committed as revision 13333 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:13 +00:00
Vitor Sessak
f6557d5e33
Cosmetics
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:52:24
Originally committed as revision 13332 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:11 +00:00
Vitor Sessak
443c10ef2b
Factor common code out of if
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:41:07
Originally committed as revision 13331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:09 +00:00
Vitor Sessak
7baa62108a
Rename another var
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:39:42
Originally committed as revision 13330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:06 +00:00
Vitor Sessak
b2ac16dab9
Rename var
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:37:42
Originally committed as revision 13329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:03 +00:00
Vitor Sessak
eece0cb089
Move var declaration to where it is needed
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:36:26
Originally committed as revision 13328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:41:01 +00:00
Vitor Sessak
0de3407b8f
Replace if(!a){B}else{C} by if(a){C}else{B}
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:24:46
Originally committed as revision 13327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:58 +00:00
Vitor Sessak
4d08be028d
Remove useless assignment
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:15:23
Originally committed as revision 13326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:55 +00:00
Vitor Sessak
4fd9d074d8
Simplify while(pad){pad--; etc} to while(pad--){etc}
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:03:27
Originally committed as revision 13325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:51 +00:00
Vitor Sessak
fec2e51385
Simplify extract_inout() as suggested by Michael
...
Commited in SoC by Vitor Sessak on 2008-04-23 18:01:31
Originally committed as revision 13324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:44 +00:00
Vitor Sessak
c9987633b1
Change the parser logic following Michael's review
...
Commited in SoC by Vitor Sessak on 2008-04-21 18:45:01
Originally committed as revision 13323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:40 +00:00
Vitor Sessak
498f030583
The name field of AVFilterInOut can be declared const
...
Commited in SoC by Vitor Sessak on 2008-04-21 18:42:11
Originally committed as revision 13322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:37 +00:00
Vitor Sessak
dbec351d9f
A semi-colon is also a string end
...
Commited in SoC by Vitor Sessak on 2008-04-21 18:40:05
Originally committed as revision 13321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:35 +00:00
Vitor Sessak
dd8e311e70
10l: Missed that in one of the last commits
...
Commited in SoC by Vitor Sessak on 2008-04-21 18:39:38
Originally committed as revision 13320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:32 +00:00
Vitor Sessak
cf4f7d38d0
Move code from handle_link() to the only place the function is called
...
Commited in SoC by Vitor Sessak on 2008-04-18 18:18:35
Originally committed as revision 13319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:30 +00:00
Vitor Sessak
5cb9c725f2
Simplify
...
Commited in SoC by Vitor Sessak on 2008-04-18 17:57:42
Originally committed as revision 13318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:26 +00:00
Vitor Sessak
3a70bb2d76
Use a user-provided context for av_log()
...
Commited in SoC by Vitor Sessak on 2008-04-12 14:33:41
Originally committed as revision 13317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:22 +00:00
Vitor Sessak
7693be9232
Improve error handling
...
Commited in SoC by Vitor Sessak on 2008-04-12 14:32:13
Originally committed as revision 13316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:20 +00:00
Vitor Sessak
a4501887e4
Cosmetics
...
Commited in SoC by Vitor Sessak on 2008-04-12 14:28:40
Originally committed as revision 13315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:17 +00:00
Vitor Sessak
e84f0b6287
Better error handling
...
Commited in SoC by Vitor Sessak on 2008-04-12 14:28:30
Originally committed as revision 13314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:14 +00:00
Vitor Sessak
85cb8af7a3
Simplify
...
Commited in SoC by Vitor Sessak on 2008-04-12 14:16:34
Originally committed as revision 13313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:10 +00:00
Vitor Sessak
2b7defc7bb
Link filters in the same pass as the parser
...
Commited in SoC by Vitor Sessak on 2008-04-12 14:12:56
Originally committed as revision 13312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:08 +00:00
Vitor Sessak
a59a773413
Cosmetics: if(x != NULL) -> if(x)
...
Commited in SoC by Vitor Sessak on 2008-04-12 14:11:19
Originally committed as revision 13311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:03 +00:00
Vitor Sessak
8095a014a0
Even more improvements on whitespaces handling
...
Commited in SoC by Vitor Sessak on 2008-04-12 10:37:15
Originally committed as revision 13310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:40:01 +00:00
Vitor Sessak
7a57c8d9ad
More improvements on the handling of whitespaces
...
Commited in SoC by Vitor Sessak on 2008-04-12 10:34:48
Originally committed as revision 13309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:57 +00:00
Vitor Sessak
a78f2ccdd6
Proper handling of trailing whitespaces
...
Commited in SoC by Vitor Sessak on 2008-04-10 21:29:33
Originally committed as revision 13308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:55 +00:00
Vitor Sessak
a64821f4e5
Remove unneeded var
...
Commited in SoC by Vitor Sessak on 2008-04-10 21:26:45
Originally committed as revision 13307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:51 +00:00
Vitor Sessak
89475efd26
Cosmetics: alignment
...
Commited in SoC by Vitor Sessak on 2008-04-10 21:10:06
Originally committed as revision 13306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:48 +00:00
Vitor Sessak
03cea46194
Make two variables const
...
Commited in SoC by Vitor Sessak on 2008-04-10 21:06:35
Originally committed as revision 13305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:45 +00:00
Vitor Sessak
22260824c0
Better error messages
...
Commited in SoC by Vitor Sessak on 2008-04-10 18:35:09
Originally committed as revision 13304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:42 +00:00
Vitor Sessak
325cb1efb2
More simplifying
...
Commited in SoC by Vitor Sessak on 2008-04-10 18:26:40
Originally committed as revision 13303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:39 +00:00
Vitor Sessak
a3acd1d9da
Simplify
...
Commited in SoC by Vitor Sessak on 2008-04-10 16:51:23
Originally committed as revision 13302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:36 +00:00
Vitor Sessak
55672c8368
Merge declaration and initialization
...
Commited in SoC by Vitor Sessak on 2008-04-10 16:46:33
Originally committed as revision 13301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:34 +00:00
Vitor Sessak
2839ff5e2f
Cosmetics
...
Commited in SoC by Vitor Sessak on 2008-04-10 16:41:47
Originally committed as revision 13300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:32 +00:00
Vitor Sessak
ffac8784d6
Update comments to new syntax
...
Commited in SoC by Vitor Sessak on 2008-04-10 16:40:03
Originally committed as revision 13299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:29 +00:00
Vitor Sessak
2255026d53
10l: Forgot to consider the null byte at the end of the string when alloc'ing
...
Commited in SoC by Vitor Sessak on 2008-04-10 16:39:07
Originally committed as revision 13298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:26 +00:00
Vitor Sessak
d7ff229718
Use '[' and ']' for label naming
...
Commited in SoC by Vitor Sessak on 2008-04-06 19:02:56
Originally committed as revision 13297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:22 +00:00
Vitor Sessak
92973a04f0
Rename avfilter_graph_parse_chain() to avfilter_parse_graph()
...
Commited in SoC by Vitor Sessak on 2008-04-06 18:58:17
Originally committed as revision 13296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:19 +00:00
Vitor Sessak
37161d641e
Rename AVFilterInOut.instance to AVFilterInOut.filter
...
Commited in SoC by Vitor Sessak on 2008-04-06 18:45:08
Originally committed as revision 13295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:16 +00:00
Vitor Sessak
da790674c5
Cosmetics
...
Commited in SoC by Vitor Sessak on 2008-04-06 18:43:29
Originally committed as revision 13294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:14 +00:00
Vitor Sessak
93b7a0f68d
Simplify consume_string() as Michael suggested
...
Commited in SoC by Vitor Sessak on 2008-04-06 18:43:02
Originally committed as revision 13293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:12 +00:00
Vitor Sessak
5b2bb2c906
Simplify
...
Commited in SoC by Vitor Sessak on 2008-04-06 18:20:25
Originally committed as revision 13292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:09 +00:00
Vitor Sessak
58a2d7a5c2
Better instance name for parsed filters
...
Commited in SoC by Vitor Sessak on 2008-04-06 18:19:09
Originally committed as revision 13291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:05 +00:00
Vitor Sessak
ee75692a5f
Use link_filter() instead avfilter_link() when clearer
...
Commited in SoC by Vitor Sessak on 2008-04-06 18:17:29
Originally committed as revision 13290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:39:03 +00:00
Vitor Sessak
9710beaf14
Avoid searching by instance name when it is not necessary
...
Commited in SoC by Vitor Sessak on 2008-04-06 18:00:58
Originally committed as revision 13289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:38:25 +00:00
Vitor Sessak
27a669ab00
Better error messages
...
Commited in SoC by Vitor Sessak on 2008-04-06 11:09:29
Originally committed as revision 13288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:38:23 +00:00
Vitor Sessak
046f49baa2
Handle av_realloc() failure
...
Commited in SoC by Vitor Sessak on 2008-04-04 15:35:38
Originally committed as revision 13287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:38:15 +00:00
Vitor Sessak
f0703f5d94
Last commit was missing header file
...
Originally committed as revision 13286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:38:01 +00:00
Vitor Sessak
27afb09d51
I should not have merged the graph parser with the graph
...
framework. Split it.
Commited in SoC by Vitor Sessak on 2008-04-03 16:29:07
Originally committed as revision 13285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:35:43 +00:00
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Måns Rullgård
71c61f62a3
non-recursive makefiles
...
Originally committed as revision 12760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-07 21:16:31 +00:00
Vitor Sessak
4e4a3e2314
Handle av_realloc() failure
...
Commited in SoC by Vitor Sessak on 2008-04-04 15:35:38
Originally committed as revision 12754 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:47 +00:00
Vitor Sessak
51bf654d79
Use sizeof(var) instead of sizeof(type)
...
Commited in SoC by Vitor Sessak on 2008-04-03 19:53:18
Originally committed as revision 12753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:45 +00:00
Vitor Sessak
a6f88fbc8f
Give a more meaningful instance name to auto-inserted scaler
...
Commited in SoC by Vitor Sessak on 2008-04-03 16:51:39
Originally committed as revision 12752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:42 +00:00
Vitor Sessak
779cc07aa2
Merge two ifs
...
Commited in SoC by Vitor Sessak on 2008-04-03 16:44:27
Originally committed as revision 12751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:40 +00:00
Vitor Sessak
e1a43a4146
Remove unused check
...
Commited in SoC by Vitor Sessak on 2008-04-03 16:38:51
Originally committed as revision 12750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:38 +00:00
Vitor Sessak
a10477173a
Cosmetical: alignment
...
Commited in SoC by Vitor Sessak on 2008-04-03 16:36:13
Originally committed as revision 12749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:35 +00:00
Vitor Sessak
2ad720679c
Remove some unwanted todos
...
Commited in SoC by Vitor Sessak on 2008-04-03 16:32:37
Originally committed as revision 12748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:32 +00:00
Vitor Sessak
10bff7139a
Remove declaration of nonexisting function
...
Commited in SoC by Vitor Sessak on 2008-04-03 16:30:09
Originally committed as revision 12747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:29 +00:00
Vitor Sessak
d2027baac5
I should not have merged the graph parser with the graph
...
framework. Split it.
Commited in SoC by Vitor Sessak on 2008-04-03 16:29:07
Originally committed as revision 12746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:27 +00:00
Vitor Sessak
966b8f2dcb
Replace consume_char() function by *(*buf)++
...
Commited in SoC by Vitor Sessak on 2008-03-30 15:46:38
Originally committed as revision 12745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:23 +00:00
Vitor Sessak
4f409baa06
Add backslash '\' support to the parser
...
Commited in SoC by Vitor Sessak on 2008-03-29 16:26:47
Originally committed as revision 12744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:20 +00:00
Vitor Sessak
398f12970f
Remove AVFilterGraphDesc struct.
...
Now the parser link the filters from the graph directly
with avfilter_link().
Commited in SoC by Vitor Sessak on 2008-03-29 15:12:47
Originally committed as revision 12743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:17 +00:00
Vitor Sessak
c4913b812d
Rename uninit() to avfilter_destroy_graph() and make it non-static
...
Commited in SoC by Vitor Sessak on 2008-03-27 19:34:24
Originally committed as revision 12742 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:14 +00:00
Vitor Sessak
d66e946b12
Rename functions now static
...
Commited in SoC by Vitor Sessak on 2008-03-26 21:06:01
Originally committed as revision 12741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:11 +00:00
Vitor Sessak
de0e3e81d3
Move funtion to avoid forward declaration
...
Commited in SoC by Vitor Sessak on 2008-03-26 20:57:17
Originally committed as revision 12740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:08 +00:00
Vitor Sessak
0c3177737b
Move mess (to be removed) to where it is actually used.
...
Commited in SoC by Vitor Sessak on 2008-03-26 20:56:05
Originally committed as revision 12739 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:06 +00:00
Vitor Sessak
87506daafd
Remove usage of AVFilterGraphDesc outside avfiltergraph.c
...
Commited in SoC by Vitor Sessak on 2008-03-26 20:51:24
Originally committed as revision 12738 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:09:02 +00:00
Vitor Sessak
58f472d10f
Simplify graph_load_from_desc3()
...
Commited in SoC by Vitor Sessak on 2008-03-26 20:37:43
Originally committed as revision 12737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:59 +00:00
Vitor Sessak
9f39bb37e4
Rename variable GraphContext -> AVFilterGraph
...
Commited in SoC by Vitor Sessak on 2008-03-26 20:31:53
Originally committed as revision 12736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:56 +00:00
Vitor Sessak
5c2ff9fd46
Merge avfiltergraphdesc.c in avfiltergraph.c
...
Commited in SoC by Vitor Sessak on 2008-03-24 20:46:50
Originally committed as revision 12735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:52 +00:00
Vitor Sessak
f2ee8083c8
Remove avfilter_vf_graph
...
Commited in SoC by Vitor Sessak on 2008-03-24 20:13:01
Originally committed as revision 12734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:49 +00:00
Vitor Sessak
7264695fe1
Remove more leftovers from the old parser
...
Commited in SoC by Vitor Sessak on 2008-03-24 19:58:44
Originally committed as revision 12733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:46 +00:00
Vitor Sessak
4160400d04
Remove code made unused by the two last patches
...
Commited in SoC by Vitor Sessak on 2008-03-24 19:29:15
Originally committed as revision 12732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:44 +00:00
Vitor Sessak
45a09319b2
Split graph_load_from_dest() to have a version independent of avfilter_vf_graph
...
Commited in SoC by Vitor Sessak on 2008-03-24 19:19:38
Originally committed as revision 12731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:40 +00:00
Vitor Sessak
b6be4acc1f
Remove declaration of non-existing functions
...
Commited in SoC by Vitor Sessak on 2008-03-24 19:11:27
Originally committed as revision 12730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:37 +00:00
Vitor Sessak
789210fa22
Almost from scratch rewrite of filter parser.
...
Functional as is, but still work-in-progress in the
sense that some things need to be fixed before sending
it as a patch to SVN.
Commited in SoC by Vitor Sessak on 2008-03-20 21:48:30
Originally committed as revision 12729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:34 +00:00
Vitor Sessak
3ec394ea82
Remove ugly forward declaration
...
Commited in SoC by Vitor Sessak on 2008-02-24 11:41:22
Originally committed as revision 12728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:31 +00:00
Vitor Sessak
de065016f0
Fix doxy comment
...
Commited in SoC by Vitor Sessak on 2008-02-24 11:30:41
Originally committed as revision 12727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:28 +00:00
Vitor Sessak
177ff26052
Spelling and puctuation
...
Commited in SoC by Vitor Sessak on 2008-02-16 17:52:49
Originally committed as revision 12726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:26 +00:00
Vitor Sessak
c7330a90ef
Make comment match code
...
Commited in SoC by Vitor Sessak on 2008-02-16 17:48:31
Originally committed as revision 12725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:22 +00:00
Vitor Sessak
25a0d98074
Make multiple inclusion guard adhere to convention
...
Commited in SoC by Vitor Sessak on 2008-02-16 17:48:09
Originally committed as revision 12724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:19 +00:00
Vitor Sessak
4dae572fff
Remove header now made useless
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:59:51
Originally committed as revision 12723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:16 +00:00
Vitor Sessak
9958f07a81
Remove author field
...
Suggested by Baptiste Coudurier
Commited in SoC by Vitor Sessak on 2008-02-11 19:56:27
Originally committed as revision 12722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:13 +00:00
Vitor Sessak
2b05243960
Use CodecType for pad type
...
Commited in SoC by Vitor Sessak on 2008-02-10 20:41:57
Originally committed as revision 12721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:10 +00:00
Vitor Sessak
d42927893b
Header inclusion redux
...
Commited in SoC by Vitor Sessak on 2008-02-10 08:46:50
Originally committed as revision 12720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:07 +00:00
Vitor Sessak
ec8398a322
Nits: more punctuation and capitalization
...
Commited in SoC by Vitor Sessak on 2008-02-09 20:02:29
Originally committed as revision 12719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:05 +00:00
Vitor Sessak
affadb5b99
Implement poll_frame() method. Fix ffmpeg.c bug with
...
vf_fps filter.
Commited in SoC by Vitor Sessak on 2008-02-06 19:55:36
Originally committed as revision 12718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:08:02 +00:00
Vitor Sessak
095ae1bcb7
Rework link property configuration system.
...
This can now handle filters which are added to graphs out of order,
including auto-inserted scale filters. As an added bonus, it can
now detect circular filter chains which wouldn't work anyway.
Commited in SoC by Bobby Bingham on 2007-12-24 03:22:10
Originally committed as revision 12717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:59 +00:00
Vitor Sessak
f3f42a3c51
Use separate fake filters for exporting inputs and outputs from filter graphs.
...
This makes the code a little less confusing, and is needed for the patch to
improve the link configuration process, to be committed next.
Commited in SoC by Bobby Bingham on 2007-12-24 02:53:56
Originally committed as revision 12716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:56 +00:00
Vitor Sessak
d22ebb1b98
Use a filter graph description for creating simple chain graphs so we
...
can reuse the same graph creation code.
Commited in SoC by Bobby Bingham on 2007-12-22 19:13:04
Originally committed as revision 12715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:54 +00:00
Vitor Sessak
16db7fe0ac
Make filter graph description parsing code independent of the code to
...
read said description from a file.
Commited in SoC by Bobby Bingham on 2007-12-22 17:16:21
Originally committed as revision 12714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:50 +00:00
Vitor Sessak
1df675bf44
Use av_log(ctx, ...) instead of av_log(NULL, ...)
...
Commited in SoC by Vitor Sessak on 2007-12-21 11:10:29
Originally committed as revision 12713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:47 +00:00
Vitor Sessak
de5985b69f
10l
...
Commited in SoC by Bobby Bingham on 2007-12-20 20:21:19
Originally committed as revision 12712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:44 +00:00
Vitor Sessak
7b4708780c
Rewrite colorspace negotiation.
...
Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26
Originally committed as revision 12711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:41 +00:00
Vitor Sessak
8af6261c27
Fix a small memory leak
...
Commited in SoC by Bobby Bingham on 2007-12-20 19:30:34
Originally committed as revision 12710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:39 +00:00
Vitor Sessak
54d7fcc120
initialize filter graphs completely even if there is no list of filters
...
given to initially load.
Commited in SoC by Bobby Bingham on 2007-12-20 16:50:45
Originally committed as revision 12709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:37 +00:00
Vitor Sessak
5a7414f3ca
Handle failure properly
...
Commited in SoC by Vitor Sessak on 2007-11-29 19:35:17
Originally committed as revision 12708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:34 +00:00
Vitor Sessak
6c66596eed
Remove useless empty functions
...
Commited in SoC by Vitor Sessak on 2007-11-04 17:20:17
Originally committed as revision 12707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:31 +00:00
Vitor Sessak
9eb36c05df
Silence warning caused by my last commit
...
Commited in SoC by Vitor Sessak on 2007-10-30 21:15:19
Originally committed as revision 12706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:29 +00:00
Vitor Sessak
5a1dacda9d
Minor simplification
...
Commited in SoC by Vitor Sessak on 2007-10-30 21:11:34
Originally committed as revision 12705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:07:17 +00:00
Vitor Sessak
6ea1446466
Prefix names of filter structs
...
Commited in SoC by Bobby Bingham on 2007-08-18 18:17:30
Originally committed as revision 12704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:54 +00:00
Vitor Sessak
d1633ac695
Rename avfilter_create to avfilter_open and remove the wrapper function
...
avfilter_create_by_name.
Commited in SoC by Bobby Bingham on 2007-08-17 23:39:55
Originally committed as revision 12703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:47 +00:00
Vitor Sessak
66d9e9be50
Doxygenize some comments
...
Commited in SoC by Bobby Bingham on 2007-08-17 22:59:59
Originally committed as revision 12702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:45 +00:00
Vitor Sessak
5ded633e07
Remove the data parameter from draw_slice(). It's unneeded and often more
...
work than it's worth.
Commited in SoC by Bobby Bingham on 2007-08-17 14:39:11
Originally committed as revision 12701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:42 +00:00
Vitor Sessak
57d4a1575c
Allow creation of filter graphs from a graph description structure which
...
can be created programmatically or loaded from a file.
Commited in SoC by Bobby Bingham on 2007-08-14 22:27:05
Originally committed as revision 12700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:37 +00:00
Vitor Sessak
1d2067e2c7
Let request_frame() indicate success or failure
...
Commited in SoC by Bobby Bingham on 2007-08-11 17:42:36
Originally committed as revision 12699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:34 +00:00
Vitor Sessak
81c25293c8
Need to copy over colorspace property too
...
Commited in SoC by Bobby Bingham on 2007-08-08 05:39:40
Originally committed as revision 12698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:31 +00:00
Vitor Sessak
7b712850d2
Fix behavior when exporting output pad with default query_formats()
...
Commited in SoC by Bobby Bingham on 2007-08-08 04:25:08
Originally committed as revision 12697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:28 +00:00
Vitor Sessak
7f8fb52f06
Let the filter graph export input and output pads from the filters it contains.
...
Commited in SoC by Bobby Bingham on 2007-08-07 22:33:46
Originally committed as revision 12696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:25 +00:00
Vitor Sessak
256d0e0a72
Separate the process of creating links between filters from that of configuring
...
the links.
Commited in SoC by Bobby Bingham on 2007-08-07 21:02:18
Originally committed as revision 12695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:22 +00:00
Vitor Sessak
1deec58ba3
Fix memory leak.
...
Commited in SoC by Bobby Bingham on 2007-07-31 20:11:25
Originally committed as revision 12694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:19 +00:00
Vitor Sessak
b9a7a65ab4
Make the filter graph just another normal filter.
...
Commited in SoC by Bobby Bingham on 2007-07-31 20:08:38
Originally committed as revision 12693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:17 +00:00
Vitor Sessak
1ac87cc890
Allow code to pass data to filters it creates.
...
Commited in SoC by Bobby Bingham on 2007-07-15 16:45:50
Originally committed as revision 12692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:13 +00:00
Vitor Sessak
fc27b8081e
Don't mangle the input strings. The caller may want to reuse it later.
...
Commited in SoC by Bobby Bingham on 2007-07-15 16:13:17
Originally committed as revision 12691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:06:10 +00:00
Vitor Sessak
65a4bd9c9e
Ensure that the filter_count member is reset to zero when emptying the graph
...
Commited in SoC by Bobby Bingham on 2007-07-14 23:19:22
Originally committed as revision 12690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:05:01 +00:00
Vitor Sessak
ba56640c30
Fix possible segfault
...
Commited in SoC by Bobby Bingham on 2007-07-14 23:16:15
Originally committed as revision 12689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:04:58 +00:00
Vitor Sessak
f8c77c823c
Move simple filter chain loading code over to the filter graph.
...
Commited in SoC by Bobby Bingham on 2007-07-14 22:26:37
Originally committed as revision 12688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:04:55 +00:00
Vitor Sessak
ffcaef3485
Move destruction of the graph's filters to its own helper function.
...
Commited in SoC by Bobby Bingham on 2007-07-14 21:41:34
Originally committed as revision 12687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:03:33 +00:00
Vitor Sessak
eccb6fb7ce
Split filter graphs out into their own source & header files.
...
Commited in SoC by Bobby Bingham on 2007-07-14 21:20:21
Originally committed as revision 12686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-04 20:02:10 +00:00
Michael Niedermayer
a27c8d5fa9
Improve AVFilterFormats doxy.
...
Originally committed as revision 12672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-02 22:07:21 +00:00
Diego Biurrun
13ca50f367
Rename --enable-swscaler --> enable-swscale to be consistent with the
...
directory name and other option names. Also rename variables accordingly.
Originally committed as revision 12408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-10 17:54:24 +00:00
Diego Biurrun
9b25f4a65f
cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
...
Originally committed as revision 12364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-08 14:39:43 +00:00
Måns Rullgård
0e32c8c65a
simplify library version handling
...
Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 19:27:17 +00:00
Måns Rullgård
b049ad5054
fix AVClass for avfilter
...
Originally committed as revision 12357 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-07 09:08:28 +00:00
Måns Rullgård
5671fc14f6
consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
...
Originally committed as revision 12354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 20:44:44 +00:00
Panagiotis Issaris
d42a814ef1
Make av_class a pointer to a const AVClass. Addresses one warning in
...
imgresample.c.
Originally committed as revision 12352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-06 17:41:31 +00:00
Vitor Sessak
c2b0b21d15
Add correct version number to shared libavfilter
...
Originally committed as revision 12341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 19:43:07 +00:00
Vitor Sessak
ea28ecb093
Fix avfilter compilation with --enable-shared and no libswscaler
...
Originally committed as revision 12340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 18:26:44 +00:00
Vitor Sessak
81124ba0d1
Fix libavfilter compilation and make it more in line
...
with the other libav*.
Originally committed as revision 12301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-03 20:53:15 +00:00
Vitor Sessak
be19d752ba
Make libavfilter define its version like the other libav* libs
...
Originally committed as revision 12248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-26 21:21:17 +00:00
Michael Niedermayer
b9c2fb3444
Ascii art to explain what avfilter_formats_changeref() does.
...
Originally committed as revision 12176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 22:33:40 +00:00
Michael Niedermayer
eb30e86c7d
cosmetic
...
Originally committed as revision 12175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 22:26:24 +00:00
Michael Niedermayer
33a0facf0b
Better description (merge is too vague IMHO).
...
Originally committed as revision 12174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 22:19:51 +00:00
Michael Niedermayer
4c4de9ca49
Better description for merge_ref().
...
Originally committed as revision 12173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 22:10:11 +00:00
Michael Niedermayer
09b63a42a5
Document avfilter_formats_ref() with some ascii art.
...
Originally committed as revision 12172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-21 22:02:53 +00:00
Vitor Sessak
b6f5794597
Remove unneeded function.
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:54:11
Originally committed as revision 12120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:15:13 +00:00
Vitor Sessak
11de6cac7e
Oops
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:43:49
Originally committed as revision 12119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:15:09 +00:00
Vitor Sessak
e4152452d5
Missed this file in my conditional compilation patch
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:40:32
Originally committed as revision 12118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:15:06 +00:00
Víctor Paesa
a7d4665709
Add libavfilter_version
...
Patch by Víctor Paesa
Commited in SoC by Vitor Sessak on 2008-02-12 20:31:53
Originally committed as revision 12117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:15:04 +00:00
Vitor Sessak
765f96c6e1
Remove author field
...
Suggested by Baptiste Coudurier
Commited in SoC by Vitor Sessak on 2008-02-11 19:56:27
Originally committed as revision 12116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:58 +00:00
Vitor Sessak
daafdb6eae
Use CodecType for pad type
...
Commited in SoC by Vitor Sessak on 2008-02-10 20:41:57
Originally committed as revision 12115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:55 +00:00
Vitor Sessak
0155b1a1cc
Nit: remove odd whitespace
...
Commited in SoC by Vitor Sessak on 2008-02-10 20:32:56
Originally committed as revision 12114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:52 +00:00
Vitor Sessak
b04c740a18
Group avfilter_poll_frame() with related funcions and add doxygen comment
...
Commited in SoC by Vitor Sessak on 2008-02-10 20:30:50
Originally committed as revision 12113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:49 +00:00
Vitor Sessak
853961a999
Update comment to match code
...
Commited in SoC by Vitor Sessak on 2008-02-10 08:55:18
Originally committed as revision 12112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:46 +00:00
Vitor Sessak
664f659526
Nits: punctuation and capitalization
...
Commited in SoC by Vitor Sessak on 2008-02-09 19:47:46
Originally committed as revision 12111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:44 +00:00
Vitor Sessak
2844dd393a
Add const to silence warnings
...
Commited in SoC by Vitor Sessak on 2008-02-09 15:59:47
Originally committed as revision 12110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:41 +00:00
Vitor Sessak
d224d73a5d
Implement poll_frame() method. Fix ffmpeg.c bug with
...
vf_fps filter.
Commited in SoC by Vitor Sessak on 2008-02-06 19:55:36
Originally committed as revision 12109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:37 +00:00
Vitor Sessak
d177bd183f
Indentation
...
Commited in SoC by Bobby Bingham on 2007-12-24 03:24:26
Originally committed as revision 12108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:32 +00:00
Vitor Sessak
24c4eff657
Rework link property configuration system.
...
This can now handle filters which are added to graphs out of order,
including auto-inserted scale filters. As an added bonus, it can
now detect circular filter chains which wouldn't work anyway.
Commited in SoC by Bobby Bingham on 2007-12-24 03:22:10
Originally committed as revision 12107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:25 +00:00
Vitor Sessak
3afcca9dfd
Fix misc. warnings
...
Commited in SoC by Vitor Sessak on 2007-12-21 10:53:16
Originally committed as revision 12106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:23 +00:00
Vitor Sessak
35f3fdf48d
Rewrite colorspace negotiation.
...
Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26
Originally committed as revision 12105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:20 +00:00
Vitor Sessak
2621f4a36b
Add pixel aspect ratio to AVFilterPicRef structure
...
Commited in SoC by Bobby Bingham on 2007-08-20 14:33:24
Originally committed as revision 12104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:17 +00:00
Vitor Sessak
b3ab2f7e84
Add another "reuse" permission, to distinguish between the case where a
...
source filter will simply want to re-output the same image multiple times
and reuse a buffer to do it, and the case where the source filter will
output multiple image by modifying a single buffer and outputting it multiple
times.
Commited in SoC by Bobby Bingham on 2007-08-18 02:21:01
Originally committed as revision 12103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:14 +00:00
Vitor Sessak
056f0431f3
use units of 1/AV_TIME_BASE for pts rather than milliseconds
...
Commited in SoC by Bobby Bingham on 2007-08-18 01:42:42
Originally committed as revision 12102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:06 +00:00
Vitor Sessak
fc815c5623
Rename avfilter_create to avfilter_open and remove the wrapper function
...
avfilter_create_by_name.
Commited in SoC by Bobby Bingham on 2007-08-17 23:39:55
Originally committed as revision 12101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:14:02 +00:00
Vitor Sessak
16415eafdb
Revert braindead linked list of permissions
...
Commited in SoC by Bobby Bingham on 2007-08-17 22:44:03
Originally committed as revision 12100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:59 +00:00
Vitor Sessak
52f97a0d8d
Track the permissions that have been given out to each picture.
...
This should make it easier to know what can be done to a buffer once
it's been passed to your filter without falling back to copying it "just
to be safe".
Commited in SoC by Bobby Bingham on 2007-08-17 18:21:07
Originally committed as revision 12099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:56 +00:00
Vitor Sessak
60bf6ce3ba
Allow filters to set the requirements on permissions for incoming buffers.
...
Commited in SoC by Bobby Bingham on 2007-08-17 16:40:26
Originally committed as revision 12098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:52 +00:00
Vitor Sessak
b42a6a92ff
spelling fix
...
Commited in SoC by Bobby Bingham on 2007-08-17 14:40:55
Originally committed as revision 12097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:47 +00:00
Vitor Sessak
72f6d6317c
Remove the data parameter from draw_slice(). It's unneeded and often more
...
work than it's worth.
Commited in SoC by Bobby Bingham on 2007-08-17 14:39:11
Originally committed as revision 12096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:44 +00:00
Vitor Sessak
13ff8fd01c
Add many new and improve existing doxy comments.
...
Commited in SoC by Bobby Bingham on 2007-08-14 16:39:26
Originally committed as revision 12095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:40 +00:00
Vitor Sessak
63f64e6f4d
Let request_frame() indicate success or failure
...
Commited in SoC by Bobby Bingham on 2007-08-11 17:42:36
Originally committed as revision 12094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:33 +00:00
Vitor Sessak
a9c81431bd
Helper functions for adding new pads to filters at runtime
...
Commited in SoC by Bobby Bingham on 2007-08-07 22:31:56
Originally committed as revision 12093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:30 +00:00
Vitor Sessak
85322466ef
Separate the process of creating links between filters from that of configuring
...
the links.
Commited in SoC by Bobby Bingham on 2007-08-07 21:02:18
Originally committed as revision 12092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:28 +00:00
Vitor Sessak
901e6b39b0
Move default entry point implementations to their own file.
...
Make them externally visible because they may be useful for filters to use.
Commited in SoC by Bobby Bingham on 2007-08-02 15:14:05
Originally committed as revision 12091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:24 +00:00
Vitor Sessak
7c9066a3e4
Make input/output pads modifiable on a per-instance basis.
...
This makes it possible to change filter callbacks (eg. to a SIMD version
on supported processors). It also allows filters to change their own
input and output pads.
Commited in SoC by Bobby Bingham on 2007-07-31 19:20:54
Originally committed as revision 12090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:18 +00:00
Vitor Sessak
95bcf49885
Make the opaque init parameter non-const.
...
Commited in SoC by Bobby Bingham on 2007-07-30 18:53:17
Originally committed as revision 12089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:13 +00:00
Vitor Sessak
25f8e6014a
Fix some potential segfaults.
...
Commited in SoC by Bobby Bingham on 2007-07-30 15:53:33
Originally committed as revision 12088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:10 +00:00
Vitor Sessak
6e365c5720
Allow code to pass data to filters it creates.
...
Commited in SoC by Bobby Bingham on 2007-07-15 16:45:50
Originally committed as revision 12087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:05 +00:00
Vitor Sessak
443e73f08f
Split filter graphs out into their own source & header files.
...
Commited in SoC by Bobby Bingham on 2007-07-14 21:20:21
Originally committed as revision 12086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:13:02 +00:00
Vitor Sessak
13a75d5a76
Add a simple filter graph structure and functions
...
Commited in SoC by Bobby Bingham on 2007-07-14 20:12:54
Originally committed as revision 12085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:59 +00:00
Vitor Sessak
dcea24825f
Allow giving filter instances names, in anticipation of the upcoming
...
AVFilterGraph structure and related functions.
Commited in SoC by Bobby Bingham on 2007-07-14 19:33:28
Originally committed as revision 12084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:54 +00:00
Vitor Sessak
1a18860a8f
Add pts to frame references
...
Commited in SoC by Bobby Bingham on 2007-07-14 17:31:40
Originally committed as revision 12083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:50 +00:00
Vitor Sessak
462f57dbd8
Adjust the default start_frame() and end_frame() implementations to simplify
...
the implementation of simple filters.
Commited in SoC by Bobby Bingham on 2007-07-08 16:48:15
Originally committed as revision 12082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:47 +00:00
Vitor Sessak
8fb48e7c44
Make avfilter_ref_pic also handle removal of permissions for the caller.
...
Commited in SoC by Bobby Bingham on 2007-07-08 16:14:49
Originally committed as revision 12081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:43 +00:00
Vitor Sessak
d3e57c15cf
Rework filter initialization sequence. Now supports passing user parameters,
...
querying supported colorspaces, etc.
Commited in SoC by Bobby Bingham on 2007-07-05 20:48:48
Originally committed as revision 12080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:41 +00:00
Vitor Sessak
4d96a914f9
Support passing parameters to filters.
...
Commited in SoC by Bobby Bingham on 2007-07-02 15:17:22
Originally committed as revision 12079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:12:37 +00:00
Vitor Sessak
bbf42679c5
Make linesize a per-reference property
...
Commited in SoC by Bobby Bingham on 2007-06-30 16:15:14
Originally committed as revision 12078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:11:29 +00:00
Vitor Sessak
a5cbb2f4cb
Initial stab at an API
...
Commited in SoC by Bobby Bingham on 2007-06-29 17:03:03
Originally committed as revision 12077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:11:25 +00:00
Vitor Sessak
5c212e6fbc
Add last file of main filter framework
...
Originally committed as revision 12076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:02:51 +00:00
Vitor Sessak
790a03d701
Force alignment of pic->linesize
...
Commited in SoC by Vitor Sessak on 2008-02-15 21:05:06
Originally committed as revision 12075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:13 +00:00
Vitor Sessak
4cf48782f8
Force linesize to be a multiple of 16
...
Commited in SoC by Vitor Sessak on 2008-02-10 20:51:58
Originally committed as revision 12074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:09 +00:00
Vitor Sessak
459821c533
Rework link property configuration system.
...
This can now handle filters which are added to graphs out of order,
including auto-inserted scale filters. As an added bonus, it can
now detect circular filter chains which wouldn't work anyway.
Commited in SoC by Bobby Bingham on 2007-12-24 03:22:10
Originally committed as revision 12073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:07 +00:00
Vitor Sessak
e363730c01
Rewrite colorspace negotiation.
...
Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26
Originally committed as revision 12072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:03 +00:00
Vitor Sessak
d0e4eba57c
Make an invalid use of a default callback implementation return an error.
...
Commited in SoC by Bobby Bingham on 2007-08-18 01:45:42
Originally committed as revision 12071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 22:00:00 +00:00
Vitor Sessak
4f90956596
Ensure that buffers returned by the default allocator are readable, or else
...
they're useless for outputting.
Commited in SoC by Bobby Bingham on 2007-08-17 22:52:18
Originally committed as revision 12070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:59:57 +00:00
Vitor Sessak
23274667c2
Revert braindead linked list of permissions
...
Commited in SoC by Bobby Bingham on 2007-08-17 22:44:03
Originally committed as revision 12069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:59:50 +00:00
Vitor Sessak
4d62c9d377
Track the permissions that have been given out to each picture.
...
This should make it easier to know what can be done to a buffer once
it's been passed to your filter without falling back to copying it "just
to be safe".
Commited in SoC by Bobby Bingham on 2007-08-17 18:21:07
Originally committed as revision 12068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:59:47 +00:00
Vitor Sessak
fc0f39c222
indentation
...
Commited in SoC by Bobby Bingham on 2007-08-17 17:09:19
Originally committed as revision 12067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:59:44 +00:00
Vitor Sessak
552c020875
Make default end_frame() implementation more useful.
...
Commited in SoC by Bobby Bingham on 2007-08-17 16:45:47
Originally committed as revision 12066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:59:41 +00:00
Vitor Sessak
712048daf5
Allow filters to set the requirements on permissions for incoming buffers.
...
Commited in SoC by Bobby Bingham on 2007-08-17 16:40:26
Originally committed as revision 12065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:59:38 +00:00
Vitor Sessak
f66f53dac8
Separate the process of creating links between filters from that of configuring
...
the links.
Commited in SoC by Bobby Bingham on 2007-08-07 21:02:18
Originally committed as revision 12064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:58:29 +00:00
Vitor Sessak
bf4ce7a364
Move default entry point implementations to their own file.
...
Make them externally visible because they may be useful for filters to use.
Commited in SoC by Bobby Bingham on 2007-08-02 15:14:05
Originally committed as revision 12063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:58:25 +00:00
Vitor Sessak
805d0232c5
Do not copy more data than needed
...
Commited in SoC by Vitor Sessak on 2008-02-15 21:11:35
Originally committed as revision 12061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:42:01 +00:00
Vitor Sessak
e9f54274c7
Remove header now made useless
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:59:51
Originally committed as revision 12060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:49 +00:00
Vitor Sessak
3bc2a52643
Remove unneeded function.
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:54:11
Originally committed as revision 12059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:43 +00:00
Vitor Sessak
b57fc32787
Missed this file in my conditional compilation patch
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:40:32
Originally committed as revision 12058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:40 +00:00
Vitor Sessak
74b46655d4
Simplify
...
Commited in SoC by Vitor Sessak on 2008-02-11 18:19:37
Originally committed as revision 12057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:38 +00:00
Vitor Sessak
ce657d80cc
Simplify
...
Commited in SoC by Vitor Sessak on 2008-02-11 17:35:13
Originally committed as revision 12056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:35 +00:00
Vitor Sessak
c245ddf23f
Indent after last commit
...
Commited in SoC by Vitor Sessak on 2008-02-11 17:29:12
Originally committed as revision 12055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:31 +00:00
Vitor Sessak
c48e31aef9
Remove unneded else
...
Commited in SoC by Vitor Sessak on 2008-02-11 17:18:16
Originally committed as revision 12054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:28 +00:00
Vitor Sessak
a5b5d95a70
Cosmetical: indentation
...
Commited in SoC by Vitor Sessak on 2008-02-11 17:17:15
Originally committed as revision 12053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:23 +00:00
Vitor Sessak
b3431ecde2
Nit: Alignment
...
Commited in SoC by Vitor Sessak on 2008-02-11 17:16:35
Originally committed as revision 12052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:19 +00:00
Vitor Sessak
d9b575d384
Remove useless ()
...
Commited in SoC by Vitor Sessak on 2008-02-11 17:16:05
Originally committed as revision 12051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:15 +00:00
Vitor Sessak
7a9fd2a03c
Do not always fail for circular filter chains
...
Commited in SoC by Vitor Sessak on 2008-02-10 16:52:54
Originally committed as revision 12050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:11 +00:00
Vitor Sessak
5b7c403353
Remove unused var (dead code leftover?).
...
Commited in SoC by Vitor Sessak on 2008-02-10 09:55:55
Originally committed as revision 12049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:08 +00:00
Vitor Sessak
ac8a116e87
Avoid link_dpad() overuse in avfilter_start_frame()
...
Commited in SoC by Vitor Sessak on 2008-02-10 09:53:00
Originally committed as revision 12048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:41:03 +00:00
Vitor Sessak
2c5741b857
Add context to av_log()
...
Commited in SoC by Vitor Sessak on 2008-02-10 09:05:39
Originally committed as revision 12047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:59 +00:00
Vitor Sessak
19dc71045d
Merge loops
...
Commited in SoC by Vitor Sessak on 2008-02-10 09:01:31
Originally committed as revision 12046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:55 +00:00
Vitor Sessak
e079d22ea2
Coding style changes
...
Commited in SoC by Vitor Sessak on 2008-02-09 23:43:45
Originally committed as revision 12045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:46 +00:00
Vitor Sessak
02e9479717
Remove unneded headers
...
Commited in SoC by Vitor Sessak on 2008-02-09 23:35:19
Originally committed as revision 12044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:43 +00:00
Vitor Sessak
16790dc3ae
Nits: more punctuation and capitalization
...
Commited in SoC by Vitor Sessak on 2008-02-09 20:02:29
Originally committed as revision 12043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:40 +00:00
Vitor Sessak
be36bc0950
Move setting the pts of the copied frame to a more adequated place.
...
Suggested by Bobby Bingham.
Commited in SoC by Vitor Sessak on 2008-02-09 16:56:55
Originally committed as revision 12042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:36 +00:00
Vitor Sessak
05decb00cb
Add const to silence warnings
...
Commited in SoC by Vitor Sessak on 2008-02-09 15:59:47
Originally committed as revision 12041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:33 +00:00
Vitor Sessak
35db407eb2
The filter framework as is hangs with filters that
...
modify the input buffer, even if it asks for the right
permission. This is a fix for that.
See "Box blurring with libavfilter" thread in libav-user.
Commited in SoC by Vitor Sessak on 2008-02-09 11:03:35
Originally committed as revision 12040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:30 +00:00
Vitor Sessak
7b02c484eb
Implement poll_frame() method. Fix ffmpeg.c bug with
...
vf_fps filter.
Commited in SoC by Vitor Sessak on 2008-02-06 19:55:36
Originally committed as revision 12039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:26 +00:00
Vitor Sessak
b62966c02e
Add movie file video source filter.
...
Commited in SoC by on 2008-01-31 20:55:50
Originally committed as revision 12038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:23 +00:00
Vitor Sessak
0970ec6ae0
Presentation timestamp (PTS) modification filter
...
Commited in SoC by on 2008-01-12 00:35:29
Originally committed as revision 12037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:20 +00:00
Vitor Sessak
be69699067
Rename filter
...
Commited in SoC by Vitor Sessak on 2008-01-06 17:03:21
Originally committed as revision 12036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:06 +00:00
Vitor Sessak
0715e6d598
90 degrees counter-clockwise rotation filter
...
Commited in SoC by Vitor Sessak on 2008-01-06 13:19:12
Originally committed as revision 12035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:40:02 +00:00
Vitor Sessak
e946c25a2f
Add an equivalent to the mplayer format filter
...
Commited in SoC by Bobby Bingham on 2007-12-24 21:53:10
Originally committed as revision 12034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:55 +00:00
Vitor Sessak
cc0bb5a160
Change the passthrough filter to a noformat filter. It's now similar to
...
the mplayer noformat filter except that the default behavior if no formats
are specified is to allow allow all formats (ie. virtually the same as the
old passthrough behavior)
Commited in SoC by Bobby Bingham on 2007-12-24 21:42:56
Originally committed as revision 12033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:51 +00:00
Vitor Sessak
2fd46877f8
Indentation
...
Commited in SoC by Bobby Bingham on 2007-12-24 03:24:26
Originally committed as revision 12032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:47 +00:00
Vitor Sessak
698181056d
Rework link property configuration system.
...
This can now handle filters which are added to graphs out of order,
including auto-inserted scale filters. As an added bonus, it can
now detect circular filter chains which wouldn't work anyway.
Commited in SoC by Bobby Bingham on 2007-12-24 03:22:10
Originally committed as revision 12031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:41 +00:00
Vitor Sessak
c35a047373
Add horizontal flip filter.
...
Commited in SoC by on 2007-12-21 09:21:29
Originally committed as revision 12030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:36 +00:00
Vitor Sessak
e3065c8b59
Need to be careful when dealing with references.
...
Commited in SoC by Bobby Bingham on 2007-12-20 23:38:49
Originally committed as revision 12029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:32 +00:00
Vitor Sessak
07d0bba507
When inserting a filter, don't lose any information we may already have
...
about the colorspaces supported across the link.
Commited in SoC by Bobby Bingham on 2007-12-20 20:47:11
Originally committed as revision 12028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:28 +00:00
Vitor Sessak
75ce65468f
Rewrite colorspace negotiation.
...
Commited in SoC by Bobby Bingham on 2007-12-20 19:36:26
Originally committed as revision 12027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:24 +00:00
Vitor Sessak
52362e9dc1
Make filter auto-insertion code its own function.
...
Commited in SoC by Bobby Bingham on 2007-11-04 22:03:14
Originally committed as revision 12026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:19 +00:00
Vitor Sessak
4ea0ab3c39
Remove no-longer accurate comment
...
Commited in SoC by Bobby Bingham on 2007-11-04 21:21:25
Originally committed as revision 12025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:16 +00:00
Vitor Sessak
8f618f4c04
Check for error so that
...
avfilter_open(av_filter_get_by_name(...etc...)) fails
gracefully.
Commited in SoC by Vitor Sessak on 2007-10-29 16:00:27
Originally committed as revision 12024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:12 +00:00
Vitor Sessak
4d7c9be36d
Remove dummy and ppm filters which were only for testing.
...
Remove rgb2bgr filter now that there is a proper colorspace conversion filter.
Commited in SoC by Bobby Bingham on 2007-08-20 18:01:34
Originally committed as revision 12023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:05 +00:00
Vitor Sessak
f9033975fc
Image negating filter
...
Commited in SoC by Bobby Bingham on 2007-08-20 05:27:17
Originally committed as revision 12022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:39:02 +00:00
Vitor Sessak
d21cbbff0b
Auto insert scale filter to convert colrospaces when needed
...
Commited in SoC by Bobby Bingham on 2007-08-20 05:24:57
Originally committed as revision 12021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:58 +00:00
Vitor Sessak
2a553ef529
Add scale/colorspace conversion filter
...
Commited in SoC by Bobby Bingham on 2007-08-19 17:35:59
Originally committed as revision 12020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:52 +00:00
Vitor Sessak
7bce27a3a3
Prefix names of filter structs
...
Commited in SoC by Bobby Bingham on 2007-08-18 18:17:30
Originally committed as revision 12019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:48 +00:00
Vitor Sessak
dd299c681f
Rename "buffer" filter to "fifo"
...
Commited in SoC by Bobby Bingham on 2007-08-18 16:40:31
Originally committed as revision 12018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:45 +00:00
Vitor Sessak
8179953777
Add a filter to output the same video to two outputs
...
Commited in SoC by Bobby Bingham on 2007-08-18 03:38:40
Originally committed as revision 12017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:40 +00:00
Vitor Sessak
0838e7316b
Add a filter to act as a buffer between filters which may output multiple
...
frames for a single call to request_filter(), and a following filter which
assumes it will only receive one frame per call.
Commited in SoC by Bobby Bingham on 2007-08-18 03:17:52
Originally committed as revision 12016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:35 +00:00
Vitor Sessak
f4cb446216
Use av_freep instead of av_free
...
Commited in SoC by Bobby Bingham on 2007-08-17 23:43:23
Originally committed as revision 12015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:29 +00:00
Vitor Sessak
44b73497d3
Rename avfilter_create to avfilter_open and remove the wrapper function
...
avfilter_create_by_name.
Commited in SoC by Bobby Bingham on 2007-08-17 23:39:55
Originally committed as revision 12014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:25 +00:00
Vitor Sessak
6d8c67a778
Change registered filter list to a linked list
...
Commited in SoC by Bobby Bingham on 2007-08-17 23:24:32
Originally committed as revision 12013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:20 +00:00
Vitor Sessak
e675dccdc0
Be more consistent in style of code for falling back to defaults.
...
Commited in SoC by Bobby Bingham on 2007-08-17 23:16:38
Originally committed as revision 12012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:17 +00:00
Vitor Sessak
cdf2a3326f
replace memcpy with assignment
...
Commited in SoC by Bobby Bingham on 2007-08-17 23:04:33
Originally committed as revision 12011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:13 +00:00
Vitor Sessak
269b9847ab
Revert braindead linked list of permissions
...
Commited in SoC by Bobby Bingham on 2007-08-17 22:44:03
Originally committed as revision 12010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:10 +00:00
Vitor Sessak
a4af86c878
Track the permissions that have been given out to each picture.
...
This should make it easier to know what can be done to a buffer once
it's been passed to your filter without falling back to copying it "just
to be safe".
Commited in SoC by Bobby Bingham on 2007-08-17 18:21:07
Originally committed as revision 12009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:38:06 +00:00
Vitor Sessak
c949d86763
Allow filters to set the requirements on permissions for incoming buffers.
...
Commited in SoC by Bobby Bingham on 2007-08-17 16:40:26
Originally committed as revision 12008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:57 +00:00
Vitor Sessak
6fb0648d37
Use macros for better readability
...
Commited in SoC by Bobby Bingham on 2007-08-17 15:18:59
Originally committed as revision 12007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:54 +00:00
Vitor Sessak
ef35d13a84
Remove the data parameter from draw_slice(). It's unneeded and often more
...
work than it's worth.
Commited in SoC by Bobby Bingham on 2007-08-17 14:39:11
Originally committed as revision 12006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:52 +00:00
Vitor Sessak
7a61cc4d4b
Remove test program and test video output module since ffplay can be used
...
for testing for a while now.
Commited in SoC by Bobby Bingham on 2007-08-14 22:31:51
Originally committed as revision 12005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:49 +00:00
Vitor Sessak
f9285377b2
Allow creation of filter graphs from a graph description structure which
...
can be created programmatically or loaded from a file.
Commited in SoC by Bobby Bingham on 2007-08-14 22:27:05
Originally committed as revision 12004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:44 +00:00
Vitor Sessak
ef712a3b28
Add a filter to overlay one video on top of another, picture-in-picture style.
...
Commited in SoC by Bobby Bingham on 2007-08-13 16:53:19
Originally committed as revision 12003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:39 +00:00
Vitor Sessak
49d915cbf5
Add a filter to modify the framerate.
...
This demonstrates differing number of input and output frames.
Commited in SoC by Bobby Bingham on 2007-08-11 17:50:36
Originally committed as revision 12002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:36 +00:00
Vitor Sessak
3306f8bd15
Let request_frame() indicate success or failure
...
Commited in SoC by Bobby Bingham on 2007-08-11 17:42:36
Originally committed as revision 12001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:31 +00:00
Vitor Sessak
e2fcb3cb9a
Add a vertical flip filter
...
Commited in SoC by Bobby Bingham on 2007-08-08 17:22:54
Originally committed as revision 12000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:26 +00:00
Vitor Sessak
246184413a
Helper functions for adding new pads to filters at runtime
...
Commited in SoC by Bobby Bingham on 2007-08-07 22:31:56
Originally committed as revision 11999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:22 +00:00
Vitor Sessak
01942f1d90
Separate the process of creating links between filters from that of configuring
...
the links.
Commited in SoC by Bobby Bingham on 2007-08-07 21:02:18
Originally committed as revision 11998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:18 +00:00
Vitor Sessak
78b0c0bbbf
Move default entry point implementations to their own file.
...
Make them externally visible because they may be useful for filters to use.
Commited in SoC by Bobby Bingham on 2007-08-02 15:14:05
Originally committed as revision 11997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:15 +00:00
Vitor Sessak
d4169dd3a4
Make the filter graph just another normal filter.
...
Commited in SoC by Bobby Bingham on 2007-07-31 20:08:38
Originally committed as revision 11996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:13 +00:00
Vitor Sessak
c5ef7d7b3e
Make input/output pads modifiable on a per-instance basis.
...
This makes it possible to change filter callbacks (eg. to a SIMD version
on supported processors). It also allows filters to change their own
input and output pads.
Commited in SoC by Bobby Bingham on 2007-07-31 19:20:54
Originally committed as revision 11995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:07 +00:00
Vitor Sessak
c6b0aa6802
Fix warnings
...
Commited in SoC by Bobby Bingham on 2007-07-30 18:56:40
Originally committed as revision 11994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:04 +00:00
Vitor Sessak
97fb0c2cb3
Cosmetics: fix indentation
...
Commited in SoC by Bobby Bingham on 2007-07-30 15:54:16
Originally committed as revision 11993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:37:00 +00:00
Vitor Sessak
7d0e1392a7
Fix some potential segfaults.
...
Commited in SoC by Bobby Bingham on 2007-07-30 15:53:33
Originally committed as revision 11992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:57 +00:00
Vitor Sessak
a360f71e3a
Allow code to pass data to filters it creates.
...
Commited in SoC by Bobby Bingham on 2007-07-15 16:45:50
Originally committed as revision 11991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:50 +00:00
Vitor Sessak
e6f560bbaa
Split filter graphs out into their own source & header files.
...
Commited in SoC by Bobby Bingham on 2007-07-14 21:20:21
Originally committed as revision 11990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:46 +00:00
Vitor Sessak
2350e69cee
Use av_strdup/av_free instead of strdup/free
...
Commited in SoC by Bobby Bingham on 2007-07-14 20:13:57
Originally committed as revision 11989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:40 +00:00
Vitor Sessak
f60208f443
Add a simple filter graph structure and functions
...
Commited in SoC by Bobby Bingham on 2007-07-14 20:12:54
Originally committed as revision 11988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:37 +00:00
Vitor Sessak
6ae82d1ec7
Allow giving filter instances names, in anticipation of the upcoming
...
AVFilterGraph structure and related functions.
Commited in SoC by Bobby Bingham on 2007-07-14 19:33:28
Originally committed as revision 11987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:33 +00:00
Vitor Sessak
1653c11f23
cosmetics: vertical alignment
...
Commited in SoC by Bobby Bingham on 2007-07-14 17:34:04
Originally committed as revision 11986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:29 +00:00
Vitor Sessak
af838d4c1e
Add pts to frame references
...
Commited in SoC by Bobby Bingham on 2007-07-14 17:31:40
Originally committed as revision 11985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:25 +00:00
Vitor Sessak
998a7aa3dc
Actually fail when colorspaces don't match
...
Commited in SoC by Bobby Bingham on 2007-07-08 17:58:45
Originally committed as revision 11984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:21 +00:00
Vitor Sessak
9586ba3a13
Provide a default for request_frame() which does the right thing for simple
...
filters.
Commited in SoC by Bobby Bingham on 2007-07-08 16:55:09
Originally committed as revision 11983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:17 +00:00
Vitor Sessak
3628fbe092
Adjust the default start_frame() and end_frame() implementations to simplify
...
the implementation of simple filters.
Commited in SoC by Bobby Bingham on 2007-07-08 16:48:15
Originally committed as revision 11982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:13 +00:00
Vitor Sessak
72e3037a2c
Missing semicolon typo
...
Commited in SoC by Bobby Bingham on 2007-07-08 16:18:21
Originally committed as revision 11981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:10 +00:00
Vitor Sessak
efb36bfc21
Make avfilter_ref_pic also handle removal of permissions for the caller.
...
Commited in SoC by Bobby Bingham on 2007-07-08 16:14:49
Originally committed as revision 11980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:06 +00:00
Vitor Sessak
426d5c252f
Add an RGB24 <-> BGR24 conversion filter
...
Commited in SoC by Bobby Bingham on 2007-07-08 16:08:15
Originally committed as revision 11979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:36:03 +00:00
Vitor Sessak
eaf7eb6617
Add a simple video source filter which loads a PPM file and outputs it as
...
the videos frames. Useful for testing PRESERVE buffers, and soon automatic
colorspace conversion.
Commited in SoC by Bobby Bingham on 2007-07-08 16:06:30
Originally committed as revision 11978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:59 +00:00
Vitor Sessak
ce356b0980
Add a filter to cut video frames into smaller slices.
...
Commited in SoC by Bobby Bingham on 2007-07-06 17:57:36
Originally committed as revision 11977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:56 +00:00
Vitor Sessak
102fb0e3ac
Provide some default functions to simplify the implementation of common one
...
input one output video filters.
Commited in SoC by Bobby Bingham on 2007-07-06 15:25:52
Originally committed as revision 11976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:53 +00:00
Vitor Sessak
ba6b903510
cosmetic: more vertical alignment
...
Commited in SoC by Bobby Bingham on 2007-07-05 21:39:33
Originally committed as revision 11975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:49 +00:00
Vitor Sessak
e0752603a1
Rework filter initialization sequence. Now supports passing user parameters,
...
querying supported colorspaces, etc.
Commited in SoC by Bobby Bingham on 2007-07-05 20:48:48
Originally committed as revision 11974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:45 +00:00
Vitor Sessak
89e64908a3
Support passing parameters to filters.
...
Commited in SoC by Bobby Bingham on 2007-07-02 15:17:22
Originally committed as revision 11973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:43 +00:00
Vitor Sessak
92beffdc92
Cosmetic: align arguments to memcpys
...
Commited in SoC by Bobby Bingham on 2007-07-02 14:34:02
Originally committed as revision 11972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:40 +00:00
Vitor Sessak
a4ca73890e
Even better way to pass size to memcpy.
...
Commited in SoC by Bobby Bingham on 2007-07-02 14:33:18
Originally committed as revision 11971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:35 +00:00
Vitor Sessak
4f770f667f
typo
...
Commited in SoC by Bobby Bingham on 2007-06-30 17:11:22
Originally committed as revision 11970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:31 +00:00
Vitor Sessak
9cc321bd9a
Fix a pointer type
...
Commited in SoC by Bobby Bingham on 2007-06-30 16:17:56
Originally committed as revision 11969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:29 +00:00
Vitor Sessak
c74032b7a8
Make linesize a per-reference property
...
Commited in SoC by Bobby Bingham on 2007-06-30 16:15:14
Originally committed as revision 11968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:35:25 +00:00
Vitor Sessak
58a9b20fb6
Use memcpy() to copy an array.
...
Commited in SoC by Bobby Bingham on 2007-06-30 16:05:03
Originally committed as revision 11967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:34:07 +00:00
Vitor Sessak
d72a138e43
Some simple filters for testing
...
Commited in SoC by Bobby Bingham on 2007-06-29 17:07:44
Originally committed as revision 11966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:34:04 +00:00
Vitor Sessak
4dbbcdee1e
Initial stab at an API
...
Commited in SoC by Bobby Bingham on 2007-06-29 17:03:03
Originally committed as revision 11965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 21:33:56 +00:00
Vitor Sessak
0fdf410a3a
Remove everything not yet commited to svn
...
Originally committed as revision 11958 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:36:58 +00:00
Vitor Sessak
a1e3e4ba3e
Improve conditional compilation of vsrc_movie.c
...
Commited in SoC by Vitor Sessak on 2008-02-13 17:59:45
Originally committed as revision 11957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:35:06 +00:00
Vitor Sessak
538e94d505
Fix compilation
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:51:02
Originally committed as revision 11956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:34:54 +00:00
Vitor Sessak
217296130c
True conditional compilation
...
Commited in SoC by Vitor Sessak on 2008-02-12 20:35:37
Originally committed as revision 11955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:34:43 +00:00
Vitor Sessak
0d6423514b
Add movie file video source filter.
...
Commited in SoC by Víctor Paesa on 2008-01-31 20:55:50
Originally committed as revision 11954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:34:10 +00:00
Vitor Sessak
223c84acf4
Cosmetics: split long line
...
Commited in SoC by Víctor Paesa on 2008-01-12 11:33:59
Originally committed as revision 11953 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:33:48 +00:00
Vitor Sessak
b4aa24fdfa
Link to libraries in dependency order.
...
Commited in SoC by Víctor Paesa on 2008-01-12 11:31:09
Originally committed as revision 11952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:33:36 +00:00
Vitor Sessak
8d990c1914
More targets addition
...
Merge of several patches in SoC, by various authors.
Originally committed as revision 11951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:33:05 +00:00
Víctor Paesa
bb9cb87ca0
Fix Cygwin compilation.
...
Patch by Víctor Paesa.
Commited in SoC by Vitor Sessak on 2007-11-10 20:00:16
Originally committed as revision 11950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:31:19 +00:00
Vitor Sessak
9f4a53d1f8
Targets addition and removal
...
Commited in SoC by Bobby Bingham
Originally committed as revision 11949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:30:58 +00:00
Vitor Sessak
0a46caf92a
Remove test program and test video output module since ffplay can be used
...
for testing for a while now.
Commited in SoC by Bobby Bingham on 2007-08-14 22:31:51
Originally committed as revision 11948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:29:00 +00:00
Vitor Sessak
da84232310
Merge of several revisions that add more targets to the
...
Makefile.
Commited in SoC by Bobby Bingham on sep. 2007.
Originally committed as revision 11947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:24:25 +00:00
Vitor Sessak
782e83e21b
work into the ffmpeg build system
...
Commited in SoC by Bobby Bingham on 2007-07-24 17:59:16
Originally committed as revision 11946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:21:42 +00:00
Vitor Sessak
52bfefeb45
Add rule for make clean.
...
Commited in SoC by Bobby Bingham on 2007-07-15 16:16:36
Originally committed as revision 11945 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:21:21 +00:00
Vitor Sessak
bc305cc32b
Merge of several revisions adding filters
...
Commited in SoC by Bobby Bingham from 2007-07-06 to
2007-07-08.
Originally committed as revision 11944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:20:46 +00:00
Vitor Sessak
2012358455
First version of libavfilter Makefile
...
Original commit message:
Simple filter test program
Commited in SoC by Bobby Bingham on 2007-06-29 17:08:49
Originally committed as revision 11943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 19:18:12 +00:00
Vitor Sessak
9189411bdb
Coding style changes
...
Originally committed as revision 11901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:05:02 +00:00
Vitor Sessak
93faa9fad7
More code factorization
...
Originally committed as revision 11900 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:55 +00:00
Vitor Sessak
37e0b997a8
Factor duplicated loop
...
Originally committed as revision 11899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:52 +00:00
Vitor Sessak
d3a4e41c8a
Do not hardcode the list of pixel formats and use PIX_FMT_NB instead.
...
Originally committed as revision 11898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:49 +00:00
Vitor Sessak
243370cb4d
Do not hardcode the type of AVFilterFormats.formats in allocation
...
Originally committed as revision 11897 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:43 +00:00
Vitor Sessak
bd8ae4885b
Oops, my last commit broke compilation...
...
Originally committed as revision 11896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:38 +00:00
Vitor Sessak
5ced2c996d
Make regression tests to pass with libavfilter.
...
Originally committed as revision 11895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:36 +00:00
Vitor Sessak
eac2495095
Need to be careful when dealing with references.
...
Commited in SoC by Bobby Bingham
Originally committed as revision 11894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:32 +00:00
Vitor Sessak
30f4baebf8
10l. parameter was unused and redundant.
...
Commited in SoC by Bobby Bingham
Originally committed as revision 11893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:04:27 +00:00
Vitor Sessak
88cfb80418
avfilter_formats_unref() should remove the given reference, not the last
...
reference.
Commited in SoC by Bobby Bingham
Originally committed as revision 11892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:03:18 +00:00
Vitor Sessak
391354656c
First libavfilter commit.
...
Original log message:
Forgot to add in the big colorspace commit
Commited in SoC by Bobby Bingham
Originally committed as revision 11891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-10 18:02:11 +00:00