Lines Matching refs:fb_id
67 guint fb_id; member
153 self->fb_id = g_value_get_uint (value); in gst_kms_src_set_property()
199 g_value_set_uint (value, self->fb_id); in gst_kms_src_get_property()
223 guint fb_id; in gst_kms_src_get_crtc_fb() local
229 fb_id = crtc->buffer_id; in gst_kms_src_get_crtc_fb()
232 return fb_id; in gst_kms_src_get_crtc_fb()
239 guint fb_id; in gst_kms_src_get_encoder_fb() local
245 fb_id = gst_kms_src_get_crtc_fb (self, encoder->crtc_id); in gst_kms_src_get_encoder_fb()
248 return fb_id; in gst_kms_src_get_encoder_fb()
255 guint fb_id; in gst_kms_src_get_connector_fb() local
261 fb_id = gst_kms_src_get_encoder_fb (self, connector->encoder_id); in gst_kms_src_get_connector_fb()
264 return fb_id; in gst_kms_src_get_connector_fb()
271 guint fb_id; in gst_kms_src_get_plane_fb() local
277 fb_id = plane->fb_id; in gst_kms_src_get_plane_fb()
280 return fb_id; in gst_kms_src_get_plane_fb()
286 if (self->fb_id) in gst_kms_src_get_fb_id()
287 return self->fb_id; in gst_kms_src_get_fb_id()
455 gboolean sync_fb = self->sync_fb && !self->fb_id; in gst_kms_src_get_next_fb_id()
457 guint fb_id; in gst_kms_src_get_next_fb_id() local
471 fb_id = gst_kms_src_get_fb_id (self); in gst_kms_src_get_next_fb_id()
472 if (!fb_id) in gst_kms_src_get_next_fb_id()
475 if (!sync_fb || fb_id != self->last_fb_id) { in gst_kms_src_get_next_fb_id()
479 return fb_id; in gst_kms_src_get_next_fb_id()
571 gst_kms_src_get_fb (GstKmsSrc * self, guint fb_id, struct kmssrc_fb * kmssrc_fb) in gst_kms_src_get_fb() argument
582 fb2 = drmModeGetFB2 (self->fd, fb_id); in gst_kms_src_get_fb()
597 fb = drmModeGetFB (self->fd, fb_id); in gst_kms_src_get_fb()
628 gst_kms_src_import_drm_fb (GstKmsSrc * self, guint fb_id) in gst_kms_src_import_drm_fb() argument
637 if (!gst_kms_src_get_fb (self, fb_id, &fb)) { in gst_kms_src_import_drm_fb()
638 GST_ERROR_OBJECT (self, "could not get DRM FB %d", fb_id); in gst_kms_src_import_drm_fb()
711 guint fb_id; in gst_kms_src_create() local
715 fb_id = gst_kms_src_get_next_fb_id (self); in gst_kms_src_create()
716 if (!fb_id) { in gst_kms_src_create()
722 fb_id, self->last_fb_id); in gst_kms_src_create()
724 buf = gst_kms_src_import_drm_fb (self, fb_id); in gst_kms_src_create()
726 GST_ERROR_OBJECT (self, "could not import FB %d", fb_id); in gst_kms_src_create()
731 self->last_fb_id = fb_id; in gst_kms_src_create()
783 guint fb_id; in gst_kms_src_get_caps() local
785 fb_id = gst_kms_src_get_fb_id (self); in gst_kms_src_get_caps()
786 if (!fb_id) in gst_kms_src_get_caps()
789 if (!gst_kms_src_get_fb (self, fb_id, &fb)) { in gst_kms_src_get_caps()
790 GST_ERROR_OBJECT (self, "could not get DRM FB %d", fb_id); in gst_kms_src_get_caps()
894 if (!self->fb_id && !self->plane_id && !self->connector_id && in gst_kms_src_start()
940 self->fb_id = 0; in gst_kms_src_init()