Top | ![]() |
![]() |
![]() |
![]() |
guint | aperture | Read / Write |
gulong | capabilities | Read |
GstColourToneMode | colour-tone-mode | Read / Write |
gfloat | ev-compensation | Read / Write |
guint | exposure | Read / Write |
GstFlashMode | flash-mode | Read / Write |
GstFlickerReductionMode | flicker-mode | Read / Write |
GstFocusMode | focus-mode | Read / Write |
GstCaps * | image-capture-supported-caps | Read |
guint | iso-speed | Read / Write |
GstSceneMode | scene-mode | Read / Write |
GstWhiteBalanceMode | white-balance-mode | Read / Write |
GstCaps * | image-preview-supported-caps | Read |
GstPhotographyNoiseReduction | noise-reduction | Read / Write |
gfloat | zoom | Read / Write |
GstPhotography | |
enum | GstPhotographyNoiseReduction |
enum | GstWhiteBalanceMode |
enum | GstColourToneMode |
enum | GstSceneMode |
enum | GstFlashMode |
enum | GstFlickerReductionMode |
enum | GstFocusMode |
enum | GstFocusStatus |
enum | GstPhotoCaps |
enum | GstPhotoShakeRisk |
void (*GstPhotoCapturePrepared) (gpointer data
,const GstCaps *configured_caps
);
gboolean gst_photography_get_ev_compensation (GstPhotography *photo
,gfloat *ev_comp
);
gboolean gst_photography_get_iso_speed (GstPhotography *photo
,guint *iso_speed
);
gboolean gst_photography_get_aperture (GstPhotography *photo
,guint *aperture
);
gboolean gst_photography_get_exposure (GstPhotography *photo
,guint32 *exposure
);
gboolean gst_photography_get_white_balance_mode (GstPhotography *photo
,GstWhiteBalanceMode *wb_mode
);
gboolean gst_photography_get_colour_tone_mode (GstPhotography *photo
,GstColourToneMode *tone_mode
);
gboolean gst_photography_get_scene_mode (GstPhotography *photo
,GstSceneMode *scene_mode
);
gboolean gst_photography_get_flash_mode (GstPhotography *photo
,GstFlashMode *flash_mode
);
gboolean gst_photography_get_noise_reduction (GstPhotography *photo
,GstPhotographyNoiseReduction *noise_reduction
);
gboolean gst_photography_get_zoom (GstPhotography *photo
,gfloat *zoom
);
gboolean gst_photography_set_ev_compensation (GstPhotography *photo
,gfloat ev_comp
);
gboolean gst_photography_set_iso_speed (GstPhotography *photo
,guint iso_speed
);
gboolean gst_photography_set_aperture (GstPhotography *photo
,guint aperture
);
gboolean gst_photography_set_exposure (GstPhotography *photo
,guint exposure
);
gboolean gst_photography_set_white_balance_mode (GstPhotography *photo
,GstWhiteBalanceMode wb_mode
);
gboolean gst_photography_set_colour_tone_mode (GstPhotography *photo
,GstColourToneMode tone_mode
);
gboolean gst_photography_set_scene_mode (GstPhotography *photo
,GstSceneMode scene_mode
);
gboolean gst_photography_set_flash_mode (GstPhotography *photo
,GstFlashMode flash_mode
);
gboolean gst_photography_set_noise_reduction (GstPhotography *photo
,GstPhotographyNoiseReduction noise_reduction
);
GstPhotoCaps
gst_photography_get_capabilities (GstPhotography *photo
);
gboolean gst_photography_prepare_for_capture (GstPhotography *photo
,GstPhotoCapturePrepared func
,GstCaps *capture_caps
,gpointer user_data
);
void gst_photography_set_autofocus (GstPhotography *photo
,gboolean on
);
gboolean gst_photography_set_config (GstPhotography *photo
,GstPhotoSettings *config
);
gboolean gst_photography_get_config (GstPhotography *photo
,GstPhotoSettings *config
);
“aperture”
property “aperture” guint
Aperture defines the size of lens opening (0 = auto).
Flags: Read / Write
Allowed values: <= 255
Default value: 0
“capabilities”
property “capabilities” gulong
Tells the photo capabilities of the device.
Flags: Read
“colour-tone-mode”
property“colour-tone-mode” GstColourToneMode
Colour tone setting changes colour shading in the photo.
Flags: Read / Write
Default value: GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NORMAL
“ev-compensation”
property “ev-compensation” gfloat
EV compensation affects the brightness of the image.
Flags: Read / Write
Allowed values: [-2.5,2.5]
Default value: 0
“exposure”
property “exposure” guint
Exposure time defines how long the shutter will stay open (0 = auto).
Flags: Read / Write
Default value: 0
“flash-mode”
property“flash-mode” GstFlashMode
Flash mode defines how the flash light should be used.
Flags: Read / Write
Default value: GST_PHOTOGRAPHY_FLASH_MODE_AUTO
“flicker-mode”
property“flicker-mode” GstFlickerReductionMode
Flicker reduction mode defines a line frequency for flickering prevention.
Flags: Read / Write
Default value: GST_PHOTOGRAPHY_FLICKER_REDUCTION_OFF
“focus-mode”
property“focus-mode” GstFocusMode
Focus mode defines the range of focal lengths to use in autofocus search.
Flags: Read / Write
Default value: GST_PHOTOGRAPHY_FOCUS_MODE_AUTO
“image-capture-supported-caps”
property “image-capture-supported-caps” GstCaps *
Caps describing supported image capture formats.
Flags: Read
“iso-speed”
property “iso-speed” guint
ISO speed defines the light sensitivity (0 = auto).
Flags: Read / Write
Allowed values: <= 6400
Default value: 0
“scene-mode”
property“scene-mode” GstSceneMode
Scene mode works as a preset for different photo shooting mode settings.
Flags: Read / Write
Default value: GST_PHOTOGRAPHY_SCENE_MODE_AUTO
“white-balance-mode”
property“white-balance-mode” GstWhiteBalanceMode
White balance affects the color temperature of the photo.
Flags: Read / Write
Default value: GST_PHOTOGRAPHY_WB_MODE_AUTO
“image-preview-supported-caps”
property “image-preview-supported-caps” GstCaps *
Caps describing supported image preview formats.
Flags: Read
“noise-reduction”
property“noise-reduction” GstPhotographyNoiseReduction
Which noise reduction modes are enabled (0 = disabled).
Flags: Read / Write