michael@0: /******************************************************************** michael@0: * * michael@0: * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * michael@0: * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * michael@0: * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * michael@0: * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * michael@0: * * michael@0: * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * michael@0: * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * michael@0: * * michael@0: ******************************************************************** michael@0: michael@0: function: michael@0: last mod: $Id: quant.h 16503 2009-08-22 18:14:02Z giles $ michael@0: michael@0: ********************************************************************/ michael@0: michael@0: #if !defined(_quant_H) michael@0: # define _quant_H (1) michael@0: # include "theora/codec.h" michael@0: # include "ocintrin.h" michael@0: michael@0: typedef ogg_uint16_t oc_quant_table[64]; michael@0: michael@0: michael@0: /*Maximum scaled quantizer value.*/ michael@0: #define OC_QUANT_MAX (1024<<2) michael@0: michael@0: michael@0: void oc_dequant_tables_init(ogg_uint16_t *_dequant[64][3][2], michael@0: int _pp_dc_scale[64],const th_quant_info *_qinfo); michael@0: michael@0: #endif