Mercurial > libavcodec.hg
comparison avcodec.h @ 1214:327c5a36dfe7 libavcodec
fixing mixed dr1 + internal buffers
author | michaelni |
---|---|
date | Fri, 25 Apr 2003 00:29:48 +0000 |
parents | fbbc429a6fc2 |
children | 3fa9a3de913f |
comparison
equal
deleted
inserted
replaced
1213:a71fe70b428b | 1214:327c5a36dfe7 |
---|---|
1087 * - decoding: which clrtable should be used for 8bit RGB images | 1087 * - decoding: which clrtable should be used for 8bit RGB images |
1088 * table have to be stored somewhere FIXME | 1088 * table have to be stored somewhere FIXME |
1089 */ | 1089 */ |
1090 int color_table_id; | 1090 int color_table_id; |
1091 | 1091 |
1092 /** | |
1093 * internal_buffer count. | |
1094 * Dont touch, used by lavc default_get_buffer() | |
1095 */ | |
1096 int internal_buffer_count; | |
1097 | |
1098 /** | |
1099 * internal_buffers. | |
1100 * Dont touch, used by lavc default_get_buffer() | |
1101 */ | |
1102 void *internal_buffer; | |
1092 } AVCodecContext; | 1103 } AVCodecContext; |
1093 | 1104 |
1094 | 1105 |
1095 /** | 1106 /** |
1096 * AVOption. | 1107 * AVOption. |
1318 AVCodecContext *avcodec_alloc_context(void); | 1329 AVCodecContext *avcodec_alloc_context(void); |
1319 AVFrame *avcodec_alloc_frame(void); | 1330 AVFrame *avcodec_alloc_frame(void); |
1320 | 1331 |
1321 int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic); | 1332 int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic); |
1322 void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic); | 1333 void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic); |
1334 void avcodec_default_free_buffers(AVCodecContext *s); | |
1323 | 1335 |
1324 int avcodec_open(AVCodecContext *avctx, AVCodec *codec); | 1336 int avcodec_open(AVCodecContext *avctx, AVCodec *codec); |
1325 int avcodec_decode_audio(AVCodecContext *avctx, int16_t *samples, | 1337 int avcodec_decode_audio(AVCodecContext *avctx, int16_t *samples, |
1326 int *frame_size_ptr, | 1338 int *frame_size_ptr, |
1327 uint8_t *buf, int buf_size); | 1339 uint8_t *buf, int buf_size); |