media/libtheora/lib/dct.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libtheora/lib/dct.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     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: dct.h 16503 2009-08-22 18:14:02Z giles $
    1.18 +
    1.19 + ********************************************************************/
    1.20 +
    1.21 +/*Definitions shared by the forward and inverse DCT transforms.*/
    1.22 +#if !defined(_dct_H)
    1.23 +# define _dct_H (1)
    1.24 +
    1.25 +/*cos(n*pi/16) (resp. sin(m*pi/16)) scaled by 65536.*/
    1.26 +#define OC_C1S7 ((ogg_int32_t)64277)
    1.27 +#define OC_C2S6 ((ogg_int32_t)60547)
    1.28 +#define OC_C3S5 ((ogg_int32_t)54491)
    1.29 +#define OC_C4S4 ((ogg_int32_t)46341)
    1.30 +#define OC_C5S3 ((ogg_int32_t)36410)
    1.31 +#define OC_C6S2 ((ogg_int32_t)25080)
    1.32 +#define OC_C7S1 ((ogg_int32_t)12785)
    1.33 +
    1.34 +#endif

mercurial