Searched refs:anim_state (Results 1 – 1 of 1) sorted by relevance
49 } anim_state; variable56 if (anim_state.running) { in animate_render_rect()57 GstVideoRectangle *r = &anim_state.rect; in animate_render_rect()58 gdouble s = sin (3.0 * anim_state.a); in animate_render_rect()59 gdouble c = cos (2.0 * anim_state.a); in animate_render_rect()61 anim_state.a += anim_state.p; in animate_render_rect()62 if (anim_state.a > (G_PI + G_PI)) in animate_render_rect()63 anim_state.a -= (G_PI + G_PI); in animate_render_rect()65 r->w = anim_state.w / 2; in animate_render_rect()67 r->h = anim_state.h / 2; in animate_render_rect()[all …]