mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
photography interface: update the noise_reduction type from guint to GstPhotographyNoiseReduction
https://bugzilla.gnome.org/show_bug.cgi?id=616814
This commit is contained in:
parent
3f683e0288
commit
a11b314b1e
2 changed files with 4 additions and 4 deletions
|
@ -313,7 +313,7 @@ GST_PHOTOGRAPHY_FUNC_TEMPLATE (flash_mode, GstFlashMode);
|
||||||
*
|
*
|
||||||
* Since: 0.10.21
|
* Since: 0.10.21
|
||||||
*/
|
*/
|
||||||
GST_PHOTOGRAPHY_FUNC_TEMPLATE (noise_reduction, guint);
|
GST_PHOTOGRAPHY_FUNC_TEMPLATE (noise_reduction, GstPhotographyNoiseReduction);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_photography_set_zoom:
|
* gst_photography_set_zoom:
|
||||||
|
|
|
@ -217,7 +217,7 @@ typedef struct
|
||||||
gfloat zoom;
|
gfloat zoom;
|
||||||
GstFlickerReductionMode flicker_mode;
|
GstFlickerReductionMode flicker_mode;
|
||||||
GstFocusMode focus_mode;
|
GstFocusMode focus_mode;
|
||||||
guint noise_reduction;
|
GstPhotographyNoiseReduction noise_reduction;
|
||||||
} GstPhotoSettings;
|
} GstPhotoSettings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -341,7 +341,7 @@ gboolean gst_photography_get_scene_mode (GstPhotography * photo,
|
||||||
gboolean gst_photography_get_flash_mode (GstPhotography * photo,
|
gboolean gst_photography_get_flash_mode (GstPhotography * photo,
|
||||||
GstFlashMode * flash_mode);
|
GstFlashMode * flash_mode);
|
||||||
gboolean gst_photography_get_noise_reduction (GstPhotography * photo,
|
gboolean gst_photography_get_noise_reduction (GstPhotography * photo,
|
||||||
guint * noise_reduction);
|
GstPhotographyNoiseReduction * noise_reduction);
|
||||||
gboolean gst_photography_get_zoom (GstPhotography * photo, gfloat * zoom);
|
gboolean gst_photography_get_zoom (GstPhotography * photo, gfloat * zoom);
|
||||||
gboolean gst_photography_get_flicker_mode (GstPhotography * photo,
|
gboolean gst_photography_get_flicker_mode (GstPhotography * photo,
|
||||||
GstFlickerReductionMode *mode);
|
GstFlickerReductionMode *mode);
|
||||||
|
@ -363,7 +363,7 @@ gboolean gst_photography_set_scene_mode (GstPhotography * photo,
|
||||||
gboolean gst_photography_set_flash_mode (GstPhotography * photo,
|
gboolean gst_photography_set_flash_mode (GstPhotography * photo,
|
||||||
GstFlashMode flash_mode);
|
GstFlashMode flash_mode);
|
||||||
gboolean gst_photography_set_noise_reduction (GstPhotography * photo,
|
gboolean gst_photography_set_noise_reduction (GstPhotography * photo,
|
||||||
guint noise_reduction);
|
GstPhotographyNoiseReduction noise_reduction);
|
||||||
gboolean gst_photography_set_zoom (GstPhotography * photo, gfloat zoom);
|
gboolean gst_photography_set_zoom (GstPhotography * photo, gfloat zoom);
|
||||||
gboolean gst_photography_set_flicker_mode (GstPhotography * photo,
|
gboolean gst_photography_set_flicker_mode (GstPhotography * photo,
|
||||||
GstFlickerReductionMode mode);
|
GstFlickerReductionMode mode);
|
||||||
|
|
Loading…
Reference in a new issue