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