Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/libtheora/dct.h
9903 views
1
/********************************************************************
2
* *
3
* THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
4
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
5
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
6
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
7
* *
8
* THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 *
9
* by the Xiph.Org Foundation and contributors *
10
* https://www.xiph.org/ *
11
* *
12
********************************************************************
13
14
function:
15
16
********************************************************************/
17
18
/*Definitions shared by the forward and inverse DCT transforms.*/
19
#if !defined(_dct_H)
20
# define _dct_H (1)
21
22
/*cos(n*pi/16) (resp. sin(m*pi/16)) scaled by 65536.*/
23
#define OC_C1S7 ((ogg_int32_t)64277)
24
#define OC_C2S6 ((ogg_int32_t)60547)
25
#define OC_C3S5 ((ogg_int32_t)54491)
26
#define OC_C4S4 ((ogg_int32_t)46341)
27
#define OC_C5S3 ((ogg_int32_t)36410)
28
#define OC_C6S2 ((ogg_int32_t)25080)
29
#define OC_C7S1 ((ogg_int32_t)12785)
30
31
#endif
32
33