Top | Description | Object Hierarchy | Properties | Signals | ![]() |
![]() |
![]() |
![]() |
ClutterGstCameraDeviceClutterGstCameraDevice — GObject representing a camera device using GStreamer. |
struct ClutterGstCameraDevice; struct ClutterGstCameraDeviceClass; void clutter_gst_camera_device_get_capture_resolution (ClutterGstCameraDevice *device
,gint *width
,gint *height
); const gchar * clutter_gst_camera_device_get_name (ClutterGstCameraDevice *device
); const gchar * clutter_gst_camera_device_get_node (ClutterGstCameraDevice *device
); const GPtrArray * clutter_gst_camera_device_get_supported_resolutions (ClutterGstCameraDevice *device
); void clutter_gst_camera_device_set_capture_resolution (ClutterGstCameraDevice *device
,gint width
,gint height
);
"element-factory" GstElementFactory* : Read / Write / Construct Only "name" gchar* : Read / Write / Construct Only "node" gchar* : Read / Write / Construct Only
struct ClutterGstCameraDevice;
GObject representing a camera device using GStreamer.
The ClutterGstCameraDevice structure contains only private data and should not be accessed directly.
struct ClutterGstCameraDeviceClass { };
Base class for ClutterGstCameraDevice.
void clutter_gst_camera_device_get_capture_resolution (ClutterGstCameraDevice *device
,gint *width
,gint *height
);
Retrieve the current capture resolution being used by device
.
|
a ClutterGstCameraDevice |
|
Pointer to store the current capture resolution width |
|
Pointer to store the current capture resolution height |
const gchar * clutter_gst_camera_device_get_name (ClutterGstCameraDevice *device
);
Retrieve the name of the device
.
|
a ClutterGstCameraDevice |
Returns : |
the device name. [transfer none] |
const gchar * clutter_gst_camera_device_get_node (ClutterGstCameraDevice *device
);
Retrieve the node (location) of the device
.
|
a ClutterGstCameraDevice |
Returns : |
the device node. [transfer none] |
const GPtrArray * clutter_gst_camera_device_get_supported_resolutions
(ClutterGstCameraDevice *device
);
Retrieve the supported resolutions of the device
.
|
a ClutterGstCameraDevice |
Returns : |
an array of ClutterGstVideoResolution with the supported resolutions. [transfer none][element-type ClutterGst.VideoResolution] |
void clutter_gst_camera_device_set_capture_resolution (ClutterGstCameraDevice *device
,gint width
,gint height
);
Set the capture resolution to be used by device
.
|
a ClutterGstCameraDevice |
|
The new capture resolution width to use |
|
The new capture resolution height to use |
"element-factory"
property "element-factory" GstElementFactory* : Read / Write / Construct Only
The GstElementFactory for this device.
"name"
property "name" gchar* : Read / Write / Construct Only
The device name.
Default value: NULL
"capture-resolution-changed"
signalvoid user_function (ClutterGstCameraDevice *device,
gint width,
gint height,
gpointer user_data) : Run Last
The ::capture-resolution-changed signal is emitted whenever the value of clutter_gst_camera_device_get_capture_resolution changes.
|
the device which received the signal |
|
The new width |
|
The new height |
|
user data set when the signal handler was connected. |