media/libtheora/lib/dec/dct.h
author Chris Double <chris.double@double.co.nz>
Wed, 06 Aug 2008 12:47:37 +1200
changeset 16410 d9167d3c4207f461b551ea7aa509b19bc54be418
parent 16296 modules/libtheora/lib/dec/dct.h@beb6a98d95cb28d441c5e5f804f3742f70f4db0c
child 24021 53a4746eb1bac470f323da7d1c0bf41ee6ccb33e
permissions -rw-r--r--
Bug 448834. Move Ogg libraries from modules/ to media/. r+sr=roc

/********************************************************************
 *                                                                  *
 * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE.   *
 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
 *                                                                  *
 * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2007                *
 * by the Xiph.Org Foundation http://www.xiph.org/                  *
 *                                                                  *
 ********************************************************************

  function:
  last mod: $Id: dct.h 13884 2007-09-22 08:38:10Z giles $

 ********************************************************************/

/*Definitions shared by the forward and inverse DCT transforms.*/
#if !defined(_dct_H)
# define _dct_H (1)

/*cos(n*pi/16) (resp. sin(m*pi/16)) scaled by 65536.*/
#define OC_C1S7 ((ogg_int32_t)64277)
#define OC_C2S6 ((ogg_int32_t)60547)
#define OC_C3S5 ((ogg_int32_t)54491)
#define OC_C4S4 ((ogg_int32_t)46341)
#define OC_C5S3 ((ogg_int32_t)36410)
#define OC_C6S2 ((ogg_int32_t)25080)
#define OC_C7S1 ((ogg_int32_t)12785)

#endif