media/libtheora/lib/huffdec.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial