Revision 80a07f6e libavcodec/avcodec.h
libavcodec/avcodec.h | ||
---|---|---|
2995 | 2995 |
const char *avcodec_get_pix_fmt_name(enum PixelFormat pix_fmt); |
2996 | 2996 |
void avcodec_set_dimensions(AVCodecContext *s, int width, int height); |
2997 | 2997 |
|
2998 |
#if LIBAVCODEC_VERSION_MAJOR < 53 |
|
2998 | 2999 |
/** |
2999 | 3000 |
* Returns the pixel format corresponding to the name name. |
3000 | 3001 |
* |
... | ... | |
3005 | 3006 |
* then for "gray16le". |
3006 | 3007 |
* |
3007 | 3008 |
* Finally if no pixel format has been found, returns PIX_FMT_NONE. |
3009 |
* |
|
3010 |
* @deprecated Deprecated in favor of av_get_pix_fmt(). |
|
3008 | 3011 |
*/ |
3009 |
enum PixelFormat avcodec_get_pix_fmt(const char* name); |
|
3012 |
attribute_deprecated enum PixelFormat avcodec_get_pix_fmt(const char* name); |
|
3013 |
#endif |
|
3010 | 3014 |
|
3011 | 3015 |
/** |
3012 | 3016 |
* Returns a value representing the fourCC code associated to the |
Also available in: Unified diff