Top | ![]() |
![]() |
![]() |
![]() |
guint | aperture | Read / Write |
gulong | capabilities | Read |
GstColourToneMode | colour-tone-mode | Read / Write |
gfloat | ev-compensation | Read / Write |
guint | exposure | Read / Write |
GstPhotographyFlashMode | flash-mode | Read / Write |
GstPhotographyFlickerReductionMode | flicker-mode | Read / Write |
GstPhotographyFocusMode | focus-mode | Read / Write |
GstCaps * | image-capture-supported-caps | Read |
guint | iso-speed | Read / Write |
GstPhotographySceneMode | scene-mode | Read / Write |
GstPhotographyWhiteBalanceMode | white-balance-mode | Read / Write |
GstCaps * | image-preview-supported-caps | Read |
GstPhotographyNoiseReduction | noise-reduction | Read / Write |
gfloat | zoom | Read / Write |
gfloat | analog-gain | Read / Write |
guint | color-temperature | Read / Write |
GstPhotographyColorToneMode | color-tone-mode | Read / Write |
guint | exposure-time | Read / Write |
gfloat | lens-focus | Read / Write |
guint | max-exposure-time | Read / Write |
guint | min-exposure-time | Read / Write |
GValueArray * | white-point | Read / Write |
void (*GstPhotographyCapturePrepared) (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
,GstPhotographyWhiteBalanceMode *wb_mode
);
gboolean gst_photography_get_color_tone_mode (GstPhotography *photo
,GstPhotographyColorToneMode *tone_mode
);
gboolean gst_photography_get_scene_mode (GstPhotography *photo
,GstPhotographySceneMode *scene_mode
);
gboolean gst_photography_get_flash_mode (GstPhotography *photo
,GstPhotographyFlashMode *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
,GstPhotographyWhiteBalanceMode wb_mode
);
gboolean gst_photography_set_color_tone_mode (GstPhotography *photo
,GstPhotographyColorToneMode tone_mode
);
gboolean gst_photography_set_scene_mode (GstPhotography *photo
,GstPhotographySceneMode scene_mode
);
gboolean gst_photography_set_flash_mode (GstPhotography *photo
,GstPhotographyFlashMode flash_mode
);
gboolean gst_photography_set_noise_reduction (GstPhotography *photo
,GstPhotographyNoiseReduction noise_reduction
);
GstPhotographyCaps
gst_photography_get_capabilities (GstPhotography *photo
);
gboolean gst_photography_prepare_for_capture (GstPhotography *photo
,GstPhotographyCapturePrepared func
,GstCaps *capture_caps
,gpointer user_data
);
void gst_photography_set_autofocus (GstPhotography *photo
,gboolean on
);
gboolean gst_photography_set_config (GstPhotography *photo
,GstPhotographySettings *config
);
gboolean gst_photography_get_config (GstPhotography *photo
,GstPhotographySettings *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” GstPhotographyFlashMode
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” GstPhotographyFlickerReductionMode
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” GstPhotographyFocusMode
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” GstPhotographySceneMode
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” GstPhotographyWhiteBalanceMode
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
“zoom”
property“zoom” gfloat
How much the resulted image will be zoomed.
Flags: Read / Write
Allowed values: [1,10]
Default value: 1
“analog-gain”
property“analog-gain” gfloat
Analog gain applied to the sensor.
Flags: Read / Write
Allowed values: >= 1
Default value: 1
“color-temperature”
property“color-temperature” guint
Color temperature in Kelvin units for manual white balance.
Flags: Read / Write
Default value: 0
“color-tone-mode”
property“color-tone-mode” GstPhotographyColorToneMode
Color tone setting changes color shading in the photo.
Flags: Read / Write
Default value: GST_PHOTOGRAPHY_COLOR_TONE_MODE_NORMAL
“exposure-time”
property“exposure-time” guint
Exposure time defines how long the shutter will stay open (0 = auto).
Flags: Read / Write
Default value: 0
“lens-focus”
property“lens-focus” gfloat
Focus point in diopter units.
Flags: Read / Write
Allowed values: >= 0
Default value: 0
“max-exposure-time”
property“max-exposure-time” guint
Maximum exposure time for automatic exposure mode.
Flags: Read / Write
Default value: 0
“min-exposure-time”
property“min-exposure-time” guint
Minimum exposure time for automatic exposure mode.
Flags: Read / Write
Default value: 0
“white-point”
property“white-point” GValueArray *
Describe color white as raw values.
Flags: Read / Write