Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 838594ae authored by Yixiao Luo's avatar Yixiao Luo
Browse files

[Media Quality] Picture profile application in native MediaCodec

Access MediaQualityService in native MediaCodec to support the following use cases:
  - Applying app-selected picture profile using
    KEY_PICTURE_PROFILE_INSTANCE or KEY_PICTURE_PROFILE_ID
    on MediaCodec.configure()
  - Applying app-selected picture profile using
    KEY_PICTURE_PROFILE_INSTANCE or KEY_PICTURE_PROFILE_ID
    on MediaCodec.setParameters()
  - Applying app-default picture profile from MediaQualityService on
    MediaCodec.configure()

int_64 value KEY_PICTURE_PROFILE_HANDLE received from MediaQualityService will be sent to CCodec as a parameter.

Bug: 391947448, 394391342
Test: m
Flag: android.media.tv.flags.apply_picture_profiles

Change-Id: I8c9272f8378649744b7e471f7c8c67b3824e01f5
parent b59fec64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment