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

Commit 9b4d6d3f authored by Courtney Goeltzenleuchter's avatar Courtney Goeltzenleuchter Committed by Android (Google) Code Review
Browse files

Merge "Add dataspace to match upstream EGL extension"

parents 7b2384a5 37606f9f
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -792,7 +792,7 @@ enum Dataspace : int32_t {
    TRANSFER_GAMMA2_8 = 6 << TRANSFER_SHIFT,

    /*
     * SMPTE ST 2084
     * SMPTE ST 2084 (Dolby Perceptual Quantizer)
     *
     * Transfer characteristic curve:
     *  E = ((c1 + c2 * L^n) / (1 + c3 * L^n)) ^ m
@@ -1068,6 +1068,15 @@ enum Dataspace : int32_t {
     */
    BT2020 = STANDARD_BT2020 | TRANSFER_SMPTE_170M | RANGE_FULL,

    /*
     * ITU-R Recommendation 2020 (BT.2020)
     *
     * Ultra High-definition television
     *
     * Use full range, SMPTE 2084 (PQ) transfer and BT2020 standard
     */
    BT2020_PQ = STANDARD_BT2020 | TRANSFER_ST2084 | RANGE_FULL,


    /*
     * Data spaces for non-color formats