2008-07-29 23:38:23 -07:00
|
|
|
/********************************************************************
|
|
|
|
* *
|
|
|
|
* THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
|
|
|
|
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
|
|
|
|
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
|
|
|
|
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
|
|
|
|
* *
|
2009-09-27 15:14:21 -07:00
|
|
|
* THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 *
|
2009-01-21 16:00:49 -08:00
|
|
|
* by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
|
2008-07-29 23:38:23 -07:00
|
|
|
* *
|
|
|
|
********************************************************************
|
|
|
|
|
|
|
|
function:
|
2010-11-07 23:47:34 -08:00
|
|
|
last mod: $Id: huffdec.h 17410 2010-09-21 21:53:48Z tterribe $
|
2008-07-29 23:38:23 -07:00
|
|
|
|
|
|
|
********************************************************************/
|
|
|
|
|
|
|
|
#if !defined(_huffdec_H)
|
|
|
|
# define _huffdec_H (1)
|
|
|
|
# include "huffman.h"
|
2009-09-27 15:14:21 -07:00
|
|
|
# include "bitpack.h"
|
2008-07-29 23:38:23 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
2009-09-27 15:14:21 -07:00
|
|
|
int oc_huff_trees_unpack(oc_pack_buf *_opb,
|
2010-11-07 23:47:34 -08:00
|
|
|
ogg_int16_t *_nodes[TH_NHUFFMAN_TABLES]);
|
|
|
|
int oc_huff_trees_copy(ogg_int16_t *_dst[TH_NHUFFMAN_TABLES],
|
|
|
|
const ogg_int16_t *const _src[TH_NHUFFMAN_TABLES]);
|
|
|
|
void oc_huff_trees_clear(ogg_int16_t *_nodes[TH_NHUFFMAN_TABLES]);
|
|
|
|
int oc_huff_token_decode_c(oc_pack_buf *_opb,const ogg_int16_t *_node);
|
2008-07-29 23:38:23 -07:00
|
|
|
|
|
|
|
#endif
|