• Home
  • Raw
  • Download

Lines Matching refs:visual

55 static void gst_visual_init (GstVisual * visual);
125 gst_visual_init (GstVisual * visual) in gst_visual_init() argument
131 gst_visual_clear_actors (GstVisual * visual) in gst_visual_clear_actors() argument
133 if (visual->actor) { in gst_visual_clear_actors()
134 visual_object_unref (VISUAL_OBJECT (visual->actor)); in gst_visual_clear_actors()
135 visual->actor = NULL; in gst_visual_clear_actors()
137 if (visual->video) { in gst_visual_clear_actors()
138 visual_object_unref (VISUAL_OBJECT (visual->video)); in gst_visual_clear_actors()
139 visual->video = NULL; in gst_visual_clear_actors()
141 if (visual->audio) { in gst_visual_clear_actors()
142 visual_object_unref (VISUAL_OBJECT (visual->audio)); in gst_visual_clear_actors()
143 visual->audio = NULL; in gst_visual_clear_actors()
150 GstVisual *visual = GST_VISUAL (object); in gst_visual_finalize() local
152 gst_visual_clear_actors (visual); in gst_visual_finalize()
160 GstVisual *visual = GST_VISUAL (bscope); in gst_visual_setup() local
163 gst_visual_clear_actors (visual); in gst_visual_setup()
171 visual->actor = in gst_visual_setup()
172 visual_actor_new (GST_VISUAL_GET_CLASS (visual)->plugin->info->plugname); in gst_visual_setup()
173 visual->video = visual_video_new (); in gst_visual_setup()
174 visual->audio = visual_audio_new (); in gst_visual_setup()
176 if (!visual->actor || !visual->video) in gst_visual_setup()
179 if (visual_actor_realize (visual->actor) != 0) in gst_visual_setup()
182 visual_actor_set_video (visual->actor, visual->video); in gst_visual_setup()
184 visual_video_set_depth (visual->video, in gst_visual_setup()
186 visual_video_set_dimension (visual->video, in gst_visual_setup()
189 visual_actor_video_negotiate (visual->actor, 0, FALSE, FALSE); in gst_visual_setup()
191 GST_DEBUG_OBJECT (visual, "WxH: %dx%d, bpp: %d, depth: %d", in gst_visual_setup()
193 GST_VIDEO_INFO_HEIGHT (&bscope->vinfo), visual->video->bpp, depth); in gst_visual_setup()
199 GST_ELEMENT_ERROR (visual, LIBRARY, INIT, (NULL), in gst_visual_setup()
201 gst_visual_clear_actors (visual); in gst_visual_setup()
206 GST_ELEMENT_ERROR (visual, LIBRARY, INIT, (NULL), in gst_visual_setup()
208 gst_visual_clear_actors (visual); in gst_visual_setup()
217 GstVisual *visual = GST_VISUAL (bscope); in gst_visual_render() local
226 visual_video_set_buffer (visual->video, GST_VIDEO_FRAME_PLANE_DATA (video, in gst_visual_render()
228 visual_video_set_pitch (visual->video, GST_VIDEO_FRAME_PLANE_STRIDE (video, in gst_visual_render()
277 GST_ERROR_OBJECT (visual, "unsupported rate %d", bscope->ainfo.rate); in gst_visual_render()
282 visual_audio_samplepool_input_channel (visual->audio->samplepool, in gst_visual_render()
286 visual_audio_samplepool_input_channel (visual->audio->samplepool, rbuf, in gst_visual_render()
293 visual_audio_analyze (visual->audio); in gst_visual_render()
294 visual_actor_run (visual->actor, visual->audio); in gst_visual_render()
295 visual_video_set_buffer (visual->video, NULL); in gst_visual_render()
297 GST_DEBUG_OBJECT (visual, "rendered one frame"); in gst_visual_render()