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: dct.h 16503 2009-08-22 18:14:02Z giles $ michael@0: michael@0: ********************************************************************/ michael@0: michael@0: /*Definitions shared by the forward and inverse DCT transforms.*/ michael@0: #if !defined(_dct_H) michael@0: # define _dct_H (1) michael@0: michael@0: /*cos(n*pi/16) (resp. sin(m*pi/16)) scaled by 65536.*/ michael@0: #define OC_C1S7 ((ogg_int32_t)64277) michael@0: #define OC_C2S6 ((ogg_int32_t)60547) michael@0: #define OC_C3S5 ((ogg_int32_t)54491) michael@0: #define OC_C4S4 ((ogg_int32_t)46341) michael@0: #define OC_C5S3 ((ogg_int32_t)36410) michael@0: #define OC_C6S2 ((ogg_int32_t)25080) michael@0: #define OC_C7S1 ((ogg_int32_t)12785) michael@0: michael@0: #endif