Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/libtheora/huffdec.h
9903 views
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 *
10
* https://www.xiph.org/ *
11
* *
12
********************************************************************
13
14
function:
15
16
********************************************************************/
17
18
#if !defined(_huffdec_H)
19
# define _huffdec_H (1)
20
# include "huffman.h"
21
# include "bitpack.h"
22
23
24
25
int oc_huff_trees_unpack(oc_pack_buf *_opb,
26
ogg_int16_t *_nodes[TH_NHUFFMAN_TABLES]);
27
int oc_huff_trees_copy(ogg_int16_t *_dst[TH_NHUFFMAN_TABLES],
28
const ogg_int16_t *const _src[TH_NHUFFMAN_TABLES]);
29
void oc_huff_trees_clear(ogg_int16_t *_nodes[TH_NHUFFMAN_TABLES]);
30
int oc_huff_token_decode_c(oc_pack_buf *_opb,const ogg_int16_t *_node);
31
32
#endif
33
34