| 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$ |
| 15 | |
| 16 | ********************************************************************/ |
| 17 | |
| 18 | #if !defined(_quant_H) |
| 19 | # define _quant_H (1) |
| 20 | # include "theora/codec.h" |
| 21 | # include "ocintrin.h" |
| 22 | |
| 23 | typedef ogg_uint16_t oc_quant_table[64]; |
| 24 | |
| 25 | |
| 26 | /*Maximum scaled quantizer value.*/ |
| 27 | #define OC_QUANT_MAX (1024<<2) |
| 28 | |
| 29 | |
| 30 | void oc_dequant_tables_init(ogg_uint16_t *_dequant[64][3][2], |
| 31 | int _pp_dc_scale[64],const th_quant_info *_qinfo); |
| 32 | |
| 33 | #endif |
| 34 | |