Camera
Object Hierarchy:
Description:
Implementation of Player that displays camera streams using GStreamer.
The Camera structure contains only private data and should not be accessed directly.
Namespace: ClutterGst
Package: clutter-gst-3.0
Content:
Properties:
- public CameraDevice device { owned get; set; }
Creation methods:
- public Camera ()
Create a camera actor.
Methods:
- public bool get_brightness (double cur_value)
- public bool get_brightness_range (double min_value, double max_value, double default_value)
- public unowned CameraDevice get_camera_device ()
Retrieve the current selected camera device.
- public bool get_color_balance_property (string property, double cur_value)
Retrieve the current value for the color balance property
property
, - public bool get_color_balance_property_range (string property, double min_value, double max_value, double default_value)
Retrieve the minimum, maximum and default values for the color balance property
property
, - public bool get_contrast (double cur_value)
- public bool get_contrast_range (double min_value, double max_value, double default_value)
- public unowned Element get_filter ()
Retrieve the current filter being used.
- public bool get_gamma (double cur_value)
Retrieve the current gamma value.
- public bool get_gamma_range (double min_value, double max_value, double default_value)
Retrieve the minimum, maximum and default gamma values.
- public bool get_hue (double cur_value)
- public bool get_hue_range (double min_value, double max_value, double default_value)
- public bool get_saturation (double cur_value)
- public bool get_saturation_range (double min_value, double max_value, double default_value)
- public bool is_ready_for_capture ()
Check whether the this is ready for video/photo capture.
- public bool is_recording_video ()
Check whether the this is recording video.
- public bool remove_filter ()
Remove the current filter, if any.
- public bool set_brightness (double value)
- public bool set_camera_device (CameraDevice device)
Set the new active camera device.
- public bool set_color_balance_property (string property, double value)
Set the value for the color balance property
property
tovalue
. - public bool set_contrast (double value)
- public bool set_filter (Element filter)
Set the filter element to be used.
- public bool set_gamma (double value)
Set the gamma value.
- public bool set_hue (double value)
- public void set_photo_profile (EncodingProfile profile)
Set the encoding profile to be used for photo captures.
- public bool set_saturation (double value)
- public void set_video_profile (EncodingProfile profile)
Set the encoding profile to be used for video recording.
- public bool start_video_recording (string filename)
Start a video recording with the this and save it to
filename
. - public void stop_video_recording ()
Stop recording video on the this.
- public bool supports_color_balance ()
Check whether the this supports color balance.
- public bool supports_gamma_correction ()
Check whether the this supports gamma correction.
- public bool take_photo (string filename)
Take a photo with the this and save it to
filename
. - public bool take_photo_pixbuf ()
Take a photo with the this and emit it in the photo_taken signal as a Pixbuf.
Signals:
- public virtual signal void photo_saved ()
The photo_saved signal is emitted when a photo was saved to disk.
- public virtual signal void photo_taken (Pixbuf pixbuf)
The photo_taken signal is emitted when a photo was taken.
- public virtual signal void ready_for_capture (bool ready)
The ready_for_capture signal is emitted whenever the value of clutter_gst_camera_is_ready_for_capture changes.
- public virtual signal void video_saved ()
The video_saved signal is emitted when a video was saved to disk.
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface ClutterGst.Player