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