Skip to content

Commit

Permalink
[android scene modes] Add defines for additional scene modes
Browse files Browse the repository at this point in the history
  • Loading branch information
piggz committed Oct 9, 2018
1 parent da053a9 commit 386445c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions rpm/0007-Add-android-scene-modes.patch
@@ -0,0 +1,31 @@
diff --git a/gst-libs/gst/interfaces/photography.h b/gst-libs/gst/interfaces/photography.h
index 0475d71aa..56537cb0b 100644
--- a/gst-libs/gst/interfaces/photography.h
+++ b/gst-libs/gst/interfaces/photography.h
@@ -264,6 +264,12 @@ typedef enum
* of scenes lit by candles (Since 1.2)
* @GST_PHOTOGRAPHY_SCENE_MODE_BARCODE: Applications are looking for
* a barcode (Since 1.2)
+ * @GST_PHOTOGRAPHY_SCENE_MODE_ASD: Automatic Scene Detection (Since 1.?)
+ * @GST_PHOTOGRAPHY_SCENE_MODE_BACKLIGHT: Backlit photos (Since 1.?)
+ * @GST_PHOTOGRAPHY_SCENE_MODE_FLOWERS: For shooting flowers (Since 1.?)
+ * @GST_PHOTOGRAPHY_SCENE_MODE_AR: Specific for Augmented Reality (Since 1.?)
+ * @GST_PHOTOGRAPHY_SCENE_MODE_HDR: High Dynamic Range photography (Since 1.?)
+ *
*
* Each mode contains preset #GstPhotography options in order to produce
* good capturing result in certain scene.
@@ -287,7 +293,12 @@ typedef enum
GST_PHOTOGRAPHY_SCENE_MODE_FIREWORKS,
GST_PHOTOGRAPHY_SCENE_MODE_PARTY,
GST_PHOTOGRAPHY_SCENE_MODE_CANDLELIGHT,
- GST_PHOTOGRAPHY_SCENE_MODE_BARCODE
+ GST_PHOTOGRAPHY_SCENE_MODE_BARCODE,
+ GST_PHOTOGRAPHY_SCENE_MODE_ASD,
+ GST_PHOTOGRAPHY_SCENE_MODE_BACKLIGHT,
+ GST_PHOTOGRAPHY_SCENE_MODE_FLOWERS,
+ GST_PHOTOGRAPHY_SCENE_MODE_AR,
+ GST_PHOTOGRAPHY_SCENE_MODE_HDR
} GstPhotographySceneMode;

/**
1 change: 1 addition & 0 deletions rpm/gst-plugins-bad.spec
Expand Up @@ -67,6 +67,7 @@ are not tested well enough, or the code is not of good enough quality.
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1

%build
NOCONFIGURE=1 ./autogen.sh
Expand Down

0 comments on commit 386445c

Please sign in to comment.