Mercurial > libavcodec.hg
comparison avcodec.h @ 6520:c7b922e9477e libavcodec
Document AVCodec.capabilities.
author | michael |
---|---|
date | Fri, 21 Mar 2008 11:35:32 +0000 |
parents | 2191d340f80d |
children | bac421a6c4da |
comparison
equal
deleted
inserted
replaced
6519:f57fee2decd6 | 6520:c7b922e9477e |
---|---|
2215 int (*init)(AVCodecContext *); | 2215 int (*init)(AVCodecContext *); |
2216 int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data); | 2216 int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data); |
2217 int (*close)(AVCodecContext *); | 2217 int (*close)(AVCodecContext *); |
2218 int (*decode)(AVCodecContext *, void *outdata, int *outdata_size, | 2218 int (*decode)(AVCodecContext *, void *outdata, int *outdata_size, |
2219 const uint8_t *buf, int buf_size); | 2219 const uint8_t *buf, int buf_size); |
2220 /** | |
2221 * Codec capabilities. | |
2222 * see CODEC_CAP_* | |
2223 */ | |
2220 int capabilities; | 2224 int capabilities; |
2221 struct AVCodec *next; | 2225 struct AVCodec *next; |
2222 void (*flush)(AVCodecContext *); | 2226 void (*flush)(AVCodecContext *); |
2223 const AVRational *supported_framerates; ///array of supported framerates, or NULL if any, array is terminated by {0,0} | 2227 const AVRational *supported_framerates; ///array of supported framerates, or NULL if any, array is terminated by {0,0} |
2224 const enum PixelFormat *pix_fmts; ///array of supported pixel formats, or NULL if unknown, array is terminanted by -1 | 2228 const enum PixelFormat *pix_fmts; ///array of supported pixel formats, or NULL if unknown, array is terminanted by -1 |