Mercurial > libavcodec.hg
comparison avcodec.h @ 10765:8963dc7bb923 libavcodec
Document avcodec_pix_fmt_to_codec_tag().
author | stefano |
---|---|
date | Sun, 03 Jan 2010 21:21:41 +0000 |
parents | 4546d91de818 |
children | d1115fb7e914 |
comparison
equal
deleted
inserted
replaced
10764:4546d91de818 | 10765:8963dc7bb923 |
---|---|
2982 * then for "gray16le". | 2982 * then for "gray16le". |
2983 * | 2983 * |
2984 * Finally if no pixel format has been found, returns PIX_FMT_NONE. | 2984 * Finally if no pixel format has been found, returns PIX_FMT_NONE. |
2985 */ | 2985 */ |
2986 enum PixelFormat avcodec_get_pix_fmt(const char* name); | 2986 enum PixelFormat avcodec_get_pix_fmt(const char* name); |
2987 unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat p); | 2987 |
2988 /** | |
2989 * Returns a value representing the fourCC code associated to the | |
2990 * pixel format pix_fmt, or 0 if no associated fourCC code can be | |
2991 * found. | |
2992 */ | |
2993 unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat pix_fmt); | |
2988 | 2994 |
2989 #define FF_LOSS_RESOLUTION 0x0001 /**< loss due to resolution change */ | 2995 #define FF_LOSS_RESOLUTION 0x0001 /**< loss due to resolution change */ |
2990 #define FF_LOSS_DEPTH 0x0002 /**< loss due to color depth change */ | 2996 #define FF_LOSS_DEPTH 0x0002 /**< loss due to color depth change */ |
2991 #define FF_LOSS_COLORSPACE 0x0004 /**< loss due to color space conversion */ | 2997 #define FF_LOSS_COLORSPACE 0x0004 /**< loss due to color space conversion */ |
2992 #define FF_LOSS_ALPHA 0x0008 /**< loss of alpha bits */ | 2998 #define FF_LOSS_ALPHA 0x0008 /**< loss of alpha bits */ |