Mercurial > libavcodec.hg
comparison lzw.h @ 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 | 1d83e9c34641 |
children | c4a4495715dd |
comparison
equal
deleted
inserted
replaced
6217:f838213ca91b | 6218:dfdff1ca78a7 |
---|---|
41 typedef void LZWState; | 41 typedef void LZWState; |
42 | 42 |
43 /* first two functions de/allocate memory for LZWState */ | 43 /* first two functions de/allocate memory for LZWState */ |
44 void ff_lzw_decode_open(LZWState **p); | 44 void ff_lzw_decode_open(LZWState **p); |
45 void ff_lzw_decode_close(LZWState **p); | 45 void ff_lzw_decode_close(LZWState **p); |
46 int ff_lzw_decode_init(LZWState *s, int csize, uint8_t *buf, int buf_size, int mode); | 46 int ff_lzw_decode_init(LZWState *s, int csize, const uint8_t *buf, int buf_size, int mode); |
47 int ff_lzw_decode(LZWState *s, uint8_t *buf, int len); | 47 int ff_lzw_decode(LZWState *s, uint8_t *buf, int len); |
48 uint8_t* ff_lzw_cur_ptr(LZWState *lzw); | 48 const uint8_t* ff_lzw_cur_ptr(LZWState *lzw); |
49 void ff_lzw_decode_tail(LZWState *lzw); | 49 void ff_lzw_decode_tail(LZWState *lzw); |
50 | 50 |
51 /** LZW encode state */ | 51 /** LZW encode state */ |
52 struct LZWEncodeState; | 52 struct LZWEncodeState; |
53 extern const int ff_lzw_encode_state_size; | 53 extern const int ff_lzw_encode_state_size; |