diff options
author | Xavier Varricatt <xvarrica@codeaurora.org> | 2015-07-20 19:09:21 +0530 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-30 19:31:23 -0800 |
commit | 7c8c30094aff7633a0033975ee244a73d38ff2dc (patch) | |
tree | 6b8a3a84b78ad6e411642cb71d97f82807e033f6 /media | |
parent | c8614072b7b9cb3d6ccfcf78b2905fcf9e9c55a0 (diff) | |
download | frameworks_base-7c8c30094aff7633a0033975ee244a73d38ff2dc.zip frameworks_base-7c8c30094aff7633a0033975ee244a73d38ff2dc.tar.gz frameworks_base-7c8c30094aff7633a0033975ee244a73d38ff2dc.tar.bz2 |
video: Add QHD & 2K profile for recorder
Add QHD & 2K profile for recorder
Change-Id: I3269ccbedb70b12eb0f7bea8fb038533dbcdf894
Diffstat (limited to 'media')
-rw-r--r-- | media/java/android/media/CamcorderProfile.java | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/media/java/android/media/CamcorderProfile.java b/media/java/android/media/CamcorderProfile.java index c7f381e..6785670 100644 --- a/media/java/android/media/CamcorderProfile.java +++ b/media/java/android/media/CamcorderProfile.java @@ -249,9 +249,33 @@ public class CamcorderProfile */ public static final int QUALITY_HIGH_SPEED_4KDCI = 10006; + /** + * Quality level corresponding to QHD resolution + * @hide + */ + public static final int QUALITY_QHD = 10007; + + /** + * Quality level corresponding to 2K resolution + * @hide + */ + public static final int QUALITY_2k = 10008; + + /** + * Time lapse quality level corresponding to the QHD resolution. + * @hide + */ + public static final int QUALITY_TIME_LAPSE_QHD = 10009; + + /** + * Time lapse quality level corresponding to the 2K resolution. + * @hide + */ + public static final int QUALITY_TIME_LAPSE_2k = 10010; + // Start and end of vendor quality list private static final int QUALITY_VENDOR_LIST_START = QUALITY_VGA; - private static final int QUALITY_VENDOR_LIST_END = QUALITY_HIGH_SPEED_4KDCI; + private static final int QUALITY_VENDOR_LIST_END = QUALITY_TIME_LAPSE_2k; /** * Default recording duration in seconds before the session is terminated. |