[FFmpeg-cvslog] r21006 - trunk/libavcodec/avcodec.h
stefano
subversion
Sun Jan 3 22:21:41 CET 2010
Author: stefano
Date: Sun Jan 3 22:21:41 2010
New Revision: 21006
Log:
Document avcodec_pix_fmt_to_codec_tag().
Modified:
trunk/libavcodec/avcodec.h
Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h Sun Jan 3 15:31:25 2010 (r21005)
+++ trunk/libavcodec/avcodec.h Sun Jan 3 22:21:41 2010 (r21006)
@@ -2984,7 +2984,13 @@ void avcodec_set_dimensions(AVCodecConte
* Finally if no pixel format has been found, returns PIX_FMT_NONE.
*/
enum PixelFormat avcodec_get_pix_fmt(const char* name);
-unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat p);
+
+/**
+ * Returns a value representing the fourCC code associated to the
+ * pixel format pix_fmt, or 0 if no associated fourCC code can be
+ * found.
+ */
+unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat pix_fmt);
#define FF_LOSS_RESOLUTION 0x0001 /**< loss due to resolution change */
#define FF_LOSS_DEPTH 0x0002 /**< loss due to color depth change */
More information about the ffmpeg-cvslog
mailing list