Mercurial > libavcodec.hg
comparison idcinvideo.c @ 6218:dfdff1ca78a7 libavcodec
consts
I have underestimated this a little, and these are just some ...
author | michael |
---|---|
date | Fri, 01 Feb 2008 03:26:31 +0000 |
parents | 2b72f9bc4f06 |
children | 814c8bd77d91 |
comparison
equal
deleted
inserted
replaced
6217:f838213ca91b | 6218:dfdff1ca78a7 |
---|---|
67 | 67 |
68 AVCodecContext *avctx; | 68 AVCodecContext *avctx; |
69 DSPContext dsp; | 69 DSPContext dsp; |
70 AVFrame frame; | 70 AVFrame frame; |
71 | 71 |
72 unsigned char *buf; | 72 const unsigned char *buf; |
73 int size; | 73 int size; |
74 | 74 |
75 hnode_t huff_nodes[256][HUF_TOKENS*2]; | 75 hnode_t huff_nodes[256][HUF_TOKENS*2]; |
76 int num_huff_nodes[256]; | 76 int num_huff_nodes[256]; |
77 | 77 |
210 } | 210 } |
211 } | 211 } |
212 | 212 |
213 static int idcin_decode_frame(AVCodecContext *avctx, | 213 static int idcin_decode_frame(AVCodecContext *avctx, |
214 void *data, int *data_size, | 214 void *data, int *data_size, |
215 uint8_t *buf, int buf_size) | 215 const uint8_t *buf, int buf_size) |
216 { | 216 { |
217 IdcinContext *s = avctx->priv_data; | 217 IdcinContext *s = avctx->priv_data; |
218 AVPaletteControl *palette_control = avctx->palctrl; | 218 AVPaletteControl *palette_control = avctx->palctrl; |
219 | 219 |
220 s->buf = buf; | 220 s->buf = buf; |