Skip to content

Commit

Permalink
CamcorderProfile: Add 1440p camcorder profile
Browse files Browse the repository at this point in the history
Add encoding constants (regular and timelapse) for 2k 1440p resolution.

Change-Id: I0ce1dd33458f0c837f4bb1d9e8d07c1649cf338d
  • Loading branch information
kerneltoast authored and YoshiShaPow committed Aug 25, 2015
1 parent b46ba76 commit 6b918be
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions media/java/android/media/CamcorderProfile.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,14 @@ public class CamcorderProfile
*/
public static final int QUALITY_HVGA = 19;

/** @hide
* Quality level corresponding to 1440p resolution
*/
public static final int QUALITY_1440P = 20;

// Start and end of quality list
private static final int QUALITY_LIST_START = QUALITY_LOW;
private static final int QUALITY_LIST_END = QUALITY_HVGA;
private static final int QUALITY_LIST_END = QUALITY_1440P;

/**
* Time lapse quality level corresponding to the lowest available resolution.
Expand Down Expand Up @@ -199,9 +204,14 @@ public class CamcorderProfile
*/
public static final int QUALITY_TIME_LAPSE_4kDCI = 1014;

/** @hide
* Time lapse quality level corresponding to the 1440p resolution.
*/
public static final int QUALITY_TIME_LAPSE_1440P = 1015;

// Start and end of timelapse quality list
private static final int QUALITY_TIME_LAPSE_LIST_START = QUALITY_TIME_LAPSE_LOW;
private static final int QUALITY_TIME_LAPSE_LIST_END = QUALITY_TIME_LAPSE_4kDCI;
private static final int QUALITY_TIME_LAPSE_LIST_END = QUALITY_TIME_LAPSE_1440P;

/**
* High speed ( >= 100fps) quality level corresponding to the lowest available resolution.
Expand Down

1 comment on commit 6b918be

@fusionjack
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this need other commit like camera HAL? blobs?

Please sign in to comment.