• S.N. Hemanth Meenakshisundaram's avatar
    Generalize pixel format enum fields to int formats. · bdab614b
    S.N. Hemanth Meenakshisundaram authored
    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
    bdab614b
Name
Last commit
Last update
..
Makefile Loading commit data...
allfilters.c Loading commit data...
avfilter.c Loading commit data...
avfilter.h Loading commit data...
avfiltergraph.c Loading commit data...
avfiltergraph.h Loading commit data...
defaults.c Loading commit data...
formats.c Loading commit data...
graphparser.c Loading commit data...
graphparser.h Loading commit data...
internal.h Loading commit data...
libavfilter.v Loading commit data...
parseutils.c Loading commit data...
parseutils.h Loading commit data...
vf_aspect.c Loading commit data...
vf_crop.c Loading commit data...
vf_format.c Loading commit data...
vf_null.c Loading commit data...
vf_pad.c Loading commit data...
vf_pixdesctest.c Loading commit data...
vf_scale.c Loading commit data...
vf_slicify.c Loading commit data...
vf_unsharp.c Loading commit data...
vf_vflip.c Loading commit data...
vsink_nullsink.c Loading commit data...
vsrc_buffer.c Loading commit data...
vsrc_buffer.h Loading commit data...
vsrc_nullsrc.c Loading commit data...