Lines Matching refs:circle
93 GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (circle, "circle", GST_RANK_NONE,
101 GstCircle *circle; in gst_circle_set_property() local
107 circle = GST_CIRCLE_CAST (object); in gst_circle_set_property()
109 GST_OBJECT_LOCK (circle); in gst_circle_set_property()
113 if (v != circle->angle) { in gst_circle_set_property()
114 circle->angle = v; in gst_circle_set_property()
120 if (v != circle->spread_angle) { in gst_circle_set_property()
121 circle->spread_angle = v; in gst_circle_set_property()
127 if (h != circle->height) { in gst_circle_set_property()
128 circle->height = h; in gst_circle_set_property()
136 GST_OBJECT_UNLOCK (circle); in gst_circle_set_property()
143 GstCircle *circle; in gst_circle_get_property() local
145 circle = GST_CIRCLE_CAST (object); in gst_circle_get_property()
149 g_value_set_double (value, circle->angle); in gst_circle_get_property()
152 g_value_set_double (value, circle->spread_angle); in gst_circle_get_property()
155 g_value_set_int (value, circle->height); in gst_circle_get_property()
168 GstCircle *circle = GST_CIRCLE_CAST (gt); in circle_map() local
176 theta = atan2 (-dy, -dx) + circle->angle; in circle_map()
180 *in_x = gt->width * theta / (circle->spread_angle + 0.0001); in circle_map()
182 gt->height * (1 - (distance - cgt->precalc_radius) / (circle->height + in circle_map()
185 GST_DEBUG_OBJECT (circle, "Inversely mapped %d %d into %lf %lf", in circle_map()