Searched refs:cos_table (Results 1 – 6 of 6) sorted by relevance
179 g_free (marble->cos_table); in gst_marble_finalize()195 g_free (marble->cos_table); in marble_prepare()198 marble->cos_table = g_malloc0 (sizeof (gdouble) * 256); in marble_prepare()204 marble->cos_table[i] = marble->yscale * cos (angle); in marble_prepare()221 *in_y = y + marble->cos_table[displacement]; in marble_map()
143 g_free (diffuse->cos_table); in gst_diffuse_finalize()160 diffuse->cos_table = g_malloc0 (sizeof (gdouble) * 256); in diffuse_prepare()166 diffuse->cos_table[i] = diffuse->scale * cos (angle); in diffuse_prepare()183 *in_y = y + distance * diffuse->cos_table[angle]; in diffuse_map()
76 gdouble *cos_table; member
81 gdouble *cos_table; member
56 #define COS_T(x) (c->cos_table[(x) & 2047])104 int32_t cos_table[2048]; member250 c->cos_table[0] = 0x7fffffff; in encode_init()251 c->cos_table[512] = 0; in encode_init()252 c->cos_table[1024] = -c->cos_table[0]; in encode_init()254 c->cos_table[i] = (int32_t)(0x7fffffff * cos(M_PI * i / 1024)); in encode_init()255 c->cos_table[1024-i] = -c->cos_table[i]; in encode_init()256 c->cos_table[1024+i] = -c->cos_table[i]; in encode_init()257 c->cos_table[2048-i] = +c->cos_table[i]; in encode_init()
52 static const unsigned short cos_table[(1 << COS_TABLE_BITS) + 2] = { variable87 p = cos_table + (a >> CSHIFT); in int_cos()