Mercurial > libavcodec.hg
comparison avcodec.h @ 6215:1087db4b4d78 libavcodec
The buffer passed into the decoder should be const.
author | michael |
---|---|
date | Fri, 01 Feb 2008 02:26:19 +0000 |
parents | 098f955eaec8 |
children | 73c09e922744 |
comparison
equal
deleted
inserted
replaced
6214:b2c3654e562d | 6215:1087db4b4d78 |
---|---|
2198 int priv_data_size; | 2198 int priv_data_size; |
2199 int (*init)(AVCodecContext *); | 2199 int (*init)(AVCodecContext *); |
2200 int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data); | 2200 int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data); |
2201 int (*close)(AVCodecContext *); | 2201 int (*close)(AVCodecContext *); |
2202 int (*decode)(AVCodecContext *, void *outdata, int *outdata_size, | 2202 int (*decode)(AVCodecContext *, void *outdata, int *outdata_size, |
2203 uint8_t *buf, int buf_size); | 2203 const uint8_t *buf, int buf_size); |
2204 int capabilities; | 2204 int capabilities; |
2205 struct AVCodec *next; | 2205 struct AVCodec *next; |
2206 void (*flush)(AVCodecContext *); | 2206 void (*flush)(AVCodecContext *); |
2207 const AVRational *supported_framerates; ///array of supported framerates, or NULL if any, array is terminated by {0,0} | 2207 const AVRational *supported_framerates; ///array of supported framerates, or NULL if any, array is terminated by {0,0} |
2208 const enum PixelFormat *pix_fmts; ///array of supported pixel formats, or NULL if unknown, array is terminanted by -1 | 2208 const enum PixelFormat *pix_fmts; ///array of supported pixel formats, or NULL if unknown, array is terminanted by -1 |