diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-03 22:26:59 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-03 22:26:59 +0000 |
commit | 4fd1f1876a69af1b3dc9cc039fad088943f498bb (patch) | |
tree | f51e7780c450b6b95bc846cd06bb09a5af2c5c04 /libavfilter/avfilter.h | |
parent | fa4dc9f0828c855a10e131ed88cef37f8b11c495 (diff) | |
download | ffmpeg-4fd1f1876a69af1b3dc9cc039fad088943f498bb.tar.gz |
Implement avfilter_add_colorspace().
Originally committed as revision 21007 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index dba73f8f4b..8315a3bb18 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -25,7 +25,7 @@ #include "libavutil/avutil.h" #define LIBAVFILTER_VERSION_MAJOR 1 -#define LIBAVFILTER_VERSION_MINOR 12 +#define LIBAVFILTER_VERSION_MINOR 13 #define LIBAVFILTER_VERSION_MICRO 0 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ @@ -192,6 +192,14 @@ struct AVFilterFormats AVFilterFormats *avfilter_make_format_list(const enum PixelFormat *pix_fmts); /** + * Adds pix_fmt to the list of pixel formats contained in avff. + * + * @return a non negative value in case of success, or a negative + * value corresponding to an AVERROR code in case of error + */ +int avfilter_add_colorspace(AVFilterFormats *avff, enum PixelFormat pix_fmt); + +/** * Returns a list of all colorspaces supported by FFmpeg. */ AVFilterFormats *avfilter_all_colorspaces(void); |