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