1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libtheora/lib/quant.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +/******************************************************************** 1.5 + * * 1.6 + * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * 1.7 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 1.8 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 1.9 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 1.10 + * * 1.11 + * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 * 1.12 + * by the Xiph.Org Foundation and contributors http://www.xiph.org/ * 1.13 + * * 1.14 + ******************************************************************** 1.15 + 1.16 + function: 1.17 + last mod: $Id: quant.h 16503 2009-08-22 18:14:02Z giles $ 1.18 + 1.19 + ********************************************************************/ 1.20 + 1.21 +#if !defined(_quant_H) 1.22 +# define _quant_H (1) 1.23 +# include "theora/codec.h" 1.24 +# include "ocintrin.h" 1.25 + 1.26 +typedef ogg_uint16_t oc_quant_table[64]; 1.27 + 1.28 + 1.29 +/*Maximum scaled quantizer value.*/ 1.30 +#define OC_QUANT_MAX (1024<<2) 1.31 + 1.32 + 1.33 +void oc_dequant_tables_init(ogg_uint16_t *_dequant[64][3][2], 1.34 + int _pp_dc_scale[64],const th_quant_info *_qinfo); 1.35 + 1.36 +#endif