huffdec.h 1.3 KB

123456789101112131415161718192021222324252627282930313233
  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. function:
  13. last mod: $Id: huffdec.h 17410 2010-09-21 21:53:48Z tterribe $
  14. ********************************************************************/
  15. #if !defined(_huffdec_H)
  16. # define _huffdec_H (1)
  17. # include "huffman.h"
  18. # include "bitpack.h"
  19. int oc_huff_trees_unpack(oc_pack_buf *_opb,
  20. ogg_int16_t *_nodes[TH_NHUFFMAN_TABLES]);
  21. int oc_huff_trees_copy(ogg_int16_t *_dst[TH_NHUFFMAN_TABLES],
  22. const ogg_int16_t *const _src[TH_NHUFFMAN_TABLES]);
  23. void oc_huff_trees_clear(ogg_int16_t *_nodes[TH_NHUFFMAN_TABLES]);
  24. int oc_huff_token_decode_c(oc_pack_buf *_opb,const ogg_int16_t *_node);
  25. #endif