Skip to content
Commit ed4b9472 authored by Lajos Molnar's avatar Lajos Molnar
Browse files

media: added advanced HDR-ready CamcorderProfiles

Added support for CamcorderProfile.getAll() method to retrieve advanced
camcorder profiles. These are profiles that do not capture in 8-bit
YUV 4:2:0 SDR mode.

To ensure app compatibility, whether to return advanced profiles is
gated by target SDK version.

Exteded EncoderProfiles.VideoProfile to surface these additional
parameters: chroma subsampling, HDR format and bit-depth.

(Also added some missing MediaRecorder video codec enumerations
that may be used for HDR capture.)

Bug: 197651595
Test: atest android.media.cts.CamcorderProfileTest
Change-Id: I743e510d425df5bc1ea017710aeff277b8d1c31d
parent eb59ea4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment