+14
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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