mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
photography: Avoid breaking ABI
Move the newly added functions/fields to the end of the structs
This commit is contained in:
parent
96a7f9c8b1
commit
e3d120d725
1 changed files with 6 additions and 5 deletions
|
@ -209,7 +209,6 @@ typedef struct
|
||||||
GstColourToneMode tone_mode;
|
GstColourToneMode tone_mode;
|
||||||
GstSceneMode scene_mode;
|
GstSceneMode scene_mode;
|
||||||
GstFlashMode flash_mode;
|
GstFlashMode flash_mode;
|
||||||
guint noise_reduction;
|
|
||||||
guint32 exposure;
|
guint32 exposure;
|
||||||
guint aperture;
|
guint aperture;
|
||||||
gfloat ev_compensation;
|
gfloat ev_compensation;
|
||||||
|
@ -217,6 +216,7 @@ typedef struct
|
||||||
gfloat zoom;
|
gfloat zoom;
|
||||||
GstFlickerReductionMode flicker_mode;
|
GstFlickerReductionMode flicker_mode;
|
||||||
GstFocusMode focus_mode;
|
GstFocusMode focus_mode;
|
||||||
|
guint noise_reduction;
|
||||||
} GstPhotoSettings;
|
} GstPhotoSettings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -280,8 +280,6 @@ typedef struct _GstPhotographyInterface
|
||||||
GstSceneMode * scene_mode);
|
GstSceneMode * scene_mode);
|
||||||
gboolean (*get_flash_mode) (GstPhotography * photo,
|
gboolean (*get_flash_mode) (GstPhotography * photo,
|
||||||
GstFlashMode * flash_mode);
|
GstFlashMode * flash_mode);
|
||||||
gboolean (*get_noise_reduction) (GstPhotography * photo,
|
|
||||||
guint * noise_reduction);
|
|
||||||
gboolean (*get_zoom) (GstPhotography * photo, gfloat * zoom);
|
gboolean (*get_zoom) (GstPhotography * photo, gfloat * zoom);
|
||||||
gboolean (*get_flicker_mode) (GstPhotography * photo,
|
gboolean (*get_flicker_mode) (GstPhotography * photo,
|
||||||
GstFlickerReductionMode * flicker_mode);
|
GstFlickerReductionMode * flicker_mode);
|
||||||
|
@ -300,8 +298,6 @@ typedef struct _GstPhotographyInterface
|
||||||
GstSceneMode scene_mode);
|
GstSceneMode scene_mode);
|
||||||
gboolean (*set_flash_mode) (GstPhotography * photo,
|
gboolean (*set_flash_mode) (GstPhotography * photo,
|
||||||
GstFlashMode flash_mode);
|
GstFlashMode flash_mode);
|
||||||
gboolean (*set_noise_reduction) (GstPhotography * photo,
|
|
||||||
guint noise_reduction);
|
|
||||||
gboolean (*set_zoom) (GstPhotography * photo, gfloat zoom);
|
gboolean (*set_zoom) (GstPhotography * photo, gfloat zoom);
|
||||||
gboolean (*set_flicker_mode) (GstPhotography * photo,
|
gboolean (*set_flicker_mode) (GstPhotography * photo,
|
||||||
GstFlickerReductionMode flicker_mode);
|
GstFlickerReductionMode flicker_mode);
|
||||||
|
@ -315,6 +311,11 @@ typedef struct _GstPhotographyInterface
|
||||||
gboolean (*set_config) (GstPhotography * photo, GstPhotoSettings * config);
|
gboolean (*set_config) (GstPhotography * photo, GstPhotoSettings * config);
|
||||||
gboolean (*get_config) (GstPhotography * photo, GstPhotoSettings * config);
|
gboolean (*get_config) (GstPhotography * photo, GstPhotoSettings * config);
|
||||||
|
|
||||||
|
gboolean (*get_noise_reduction) (GstPhotography * photo,
|
||||||
|
guint * noise_reduction);
|
||||||
|
gboolean (*set_noise_reduction) (GstPhotography * photo,
|
||||||
|
guint noise_reduction);
|
||||||
|
|
||||||
/*< private > */
|
/*< private > */
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
} GstPhotographyInterface;
|
} GstPhotographyInterface;
|
||||||
|
|
Loading…
Reference in a new issue