Skip to content

Commit da2f0ea

Browse files
author
Eino-Ville Talvala
committed
Camera: Add SCENE_MODE_HDR.
Change-Id: I43262e6ecd4bdd9a2ed2e94c05ad95435b32a0cd
1 parent 753e128 commit da2f0ea

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

core/java/android/hardware/Camera.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,6 +1781,15 @@ public class Parameters {
17811781
*/
17821782
public static final String SCENE_MODE_BARCODE = "barcode";
17831783

1784+
/**
1785+
* Capture a scene using high dynamic range imaging techniques. The
1786+
* camera will return an image that has an extended dynamic range
1787+
* compared to a regular capture. Capturing such an image may take
1788+
* longer than a regular capture.
1789+
* @hide
1790+
*/
1791+
public static final String SCENE_MODE_HDR = "hdr";
1792+
17841793
/**
17851794
* Auto-focus mode. Applications should call {@link
17861795
* #autoFocus(AutoFocusCallback)} to start the focus in this mode.
@@ -2784,6 +2793,7 @@ public List<String> getSupportedAntibanding() {
27842793
* @see #SCENE_MODE_SPORTS
27852794
* @see #SCENE_MODE_PARTY
27862795
* @see #SCENE_MODE_CANDLELIGHT
2796+
* @see #SCENE_MODE_BARCODE
27872797
*/
27882798
public String getSceneMode() {
27892799
return get(KEY_SCENE_MODE);

0 commit comments

Comments
 (0)