PageRenderTime 10ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/media/libtheora/lib/huffdec.h

http://github.com/zpao/v8monkey
C Header | 32 lines | 11 code | 5 blank | 16 comment | 0 complexity | c9d9b3656b186be6ccc570d9354b4ca8 MD5 | raw file
 1/********************************************************************
 2 *                                                                  *
 3 * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE.   *
 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
 5 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
 7 *                                                                  *
 8 * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009                *
 9 * by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
10 *                                                                  *
11 ********************************************************************
12
13  function:
14    last mod: $Id: huffdec.h 17410 2010-09-21 21:53:48Z tterribe $
15
16 ********************************************************************/
17
18#if !defined(_huffdec_H)
19# define _huffdec_H (1)
20# include "huffman.h"
21# include "bitpack.h"
22
23
24
25int oc_huff_trees_unpack(oc_pack_buf *_opb,
26 ogg_int16_t *_nodes[TH_NHUFFMAN_TABLES]);
27int oc_huff_trees_copy(ogg_int16_t *_dst[TH_NHUFFMAN_TABLES],
28 const ogg_int16_t *const _src[TH_NHUFFMAN_TABLES]);
29void oc_huff_trees_clear(ogg_int16_t *_nodes[TH_NHUFFMAN_TABLES]);
30int oc_huff_token_decode_c(oc_pack_buf *_opb,const ogg_int16_t *_node);
31
32#endif