Home
last modified time | relevance | path

Searched refs:sin_table (Results 1 – 5 of 5) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/
Dgstdiffuse.c142 g_free (diffuse->sin_table); in gst_diffuse_finalize()
156 if (diffuse->sin_table) in diffuse_prepare()
159 diffuse->sin_table = g_malloc0 (sizeof (gdouble) * 256); in diffuse_prepare()
165 diffuse->sin_table[i] = diffuse->scale * sin (angle); in diffuse_prepare()
182 *in_x = x + distance * diffuse->sin_table[angle]; in diffuse_map()
Dgstmarble.c178 g_free (marble->sin_table); in gst_marble_finalize()
194 g_free (marble->sin_table); in marble_prepare()
197 marble->sin_table = g_malloc0 (sizeof (gdouble) * 256); in marble_prepare()
203 marble->sin_table[i] = -marble->yscale * sin (angle); in marble_prepare()
220 *in_x = x + marble->sin_table[displacement]; in marble_map()
Dgstdiffuse.h75 gdouble *sin_table; member
Dgstmarble.h80 gdouble *sin_table; member
/third_party/ffmpeg/libavcodec/
Dqdmc.c73 static float sin_table[512]; variable
180 sin_table[i] = sin(2.0f * i * M_PI * 0.001953125f); in qdmc_init_static_data()
302 s->alt_sin[5-g][j] = sin_table[(((j+1) << (8 - g)) & 0x1FF)]; in qdmc_decode_init()
559 im = level * sin_table[ pindex & 0x1FF]; in add_wave()
560 re = level * sin_table[(pindex + 128) & 0x1FF]; in add_wave()
583 im = level * sin_table[ (phase << 6) & 0x1FF]; in add_wave0()
584 re = level * sin_table[((phase << 6) + 128) & 0x1FF]; in add_wave0()