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

Commit 2391872d authored by Lajos Molnar's avatar Lajos Molnar Committed by Automerger Merge Worker
Browse files

CCodec: require static HDR info support for AV1 HDR10 profile am: b857cde4...

CCodec: require static HDR info support for AV1 HDR10 profile am: b857cde4 am: 81e502cf am: 498c8e53 am: 519bfd8c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/18602546



Change-Id: I03cc6e1ee4d469fe37bd3f8ca92de08fc26fc406
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 55e35dad 519bfd8c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -150,9 +150,10 @@ bool addSupportedProfileLevels(
        }
    }

    // For VP9/AV1, the static info is always propagated by framework.
    // VP9 does not support HDR metadata in the bitstream and static metadata
    // can always be carried by the framework. (The framework does not propagate
    // dynamic metadata as that needs to be frame accurate.)
    supportsHdr |= (mediaType == MIMETYPE_VIDEO_VP9);
    supportsHdr |= (mediaType == MIMETYPE_VIDEO_AV1);

    // HDR support implies 10-bit support.
    // TODO: directly check this from the component interface