comparison vp56.h @ 5821:51918cb97f6f libavcodec

add support for VP6 with huffman encoded blocks closes issue 104
author aurel
date Sun, 14 Oct 2007 22:30:59 +0000
parents 314be1cfdcb0
children 1d83e9c34641
comparison
equal deleted inserted replaced
5820:ffac546a3861 5821:51918cb97f6f
155 vp56_parse_coeff_models_t parse_coeff_models; 155 vp56_parse_coeff_models_t parse_coeff_models;
156 vp56_parse_header_t parse_header; 156 vp56_parse_header_t parse_header;
157 157
158 vp56_model_t *modelp; 158 vp56_model_t *modelp;
159 vp56_model_t models[2]; 159 vp56_model_t models[2];
160
161 /* huffman decoding */
162 int use_huffman;
163 GetBitContext gb;
164 VLC dccv_vlc[2];
165 VLC runv_vlc[2];
166 VLC ract_vlc[2][3][6];
167 unsigned int nb_null[2][2]; /* number of consecutive NULL DC/AC */
160 }; 168 };
161 169
162 170
163 void vp56_init(AVCodecContext *avctx, int flip, int has_alpha); 171 void vp56_init(AVCodecContext *avctx, int flip, int has_alpha);
164 int vp56_free(AVCodecContext *avctx); 172 int vp56_free(AVCodecContext *avctx);