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
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
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
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
*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
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
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
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
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
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
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
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
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
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
"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
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