• Home
  • Raw
  • Download

Lines Matching refs:diffuse

87 GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (diffuse, "diffuse", GST_RANK_NONE,
95 GstDiffuse *diffuse; in gst_diffuse_set_property() local
100 diffuse = GST_DIFFUSE_CAST (object); in gst_diffuse_set_property()
102 GST_OBJECT_LOCK (diffuse); in gst_diffuse_set_property()
106 if (v != diffuse->scale) { in gst_diffuse_set_property()
107 diffuse->scale = v; in gst_diffuse_set_property()
115 GST_OBJECT_UNLOCK (diffuse); in gst_diffuse_set_property()
122 GstDiffuse *diffuse; in gst_diffuse_get_property() local
124 diffuse = GST_DIFFUSE_CAST (object); in gst_diffuse_get_property()
128 g_value_set_double (value, diffuse->scale); in gst_diffuse_get_property()
140 GstDiffuse *diffuse = GST_DIFFUSE_CAST (obj); in gst_diffuse_finalize() local
142 g_free (diffuse->sin_table); in gst_diffuse_finalize()
143 g_free (diffuse->cos_table); in gst_diffuse_finalize()
153 GstDiffuse *diffuse = GST_DIFFUSE_CAST (trans); in diffuse_prepare() local
156 if (diffuse->sin_table) in diffuse_prepare()
159 diffuse->sin_table = g_malloc0 (sizeof (gdouble) * 256); in diffuse_prepare()
160 diffuse->cos_table = g_malloc0 (sizeof (gdouble) * 256); in diffuse_prepare()
165 diffuse->sin_table[i] = diffuse->scale * sin (angle); in diffuse_prepare()
166 diffuse->cos_table[i] = diffuse->scale * cos (angle); in diffuse_prepare()
175 GstDiffuse *diffuse = GST_DIFFUSE_CAST (gt); in diffuse_map() local
182 *in_x = x + distance * diffuse->sin_table[angle]; in diffuse_map()
183 *in_y = y + distance * diffuse->cos_table[angle]; in diffuse_map()
185 GST_DEBUG_OBJECT (diffuse, "Inversely mapped %d %d into %lf %lf", in diffuse_map()