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

Commit 935f91c6 authored by Dorin Drimus's avatar Dorin Drimus
Browse files

Add codec profile for DTS codecs

Adding DTSHDProfileLBR, DTSHDProfileMA, DTSUHDProfileP1, DTSUHDProfileP2
profiles for DTS-LBR, DTS-MA, DTS-UHD P1 and DTS-UHD P2 bitstreams.

Bug: 235469058
Test: Builds, Presubmit
Change-Id: I0377d704681ca2d7be430030f2b77880d134b07b
parent 7edaca37
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -21574,6 +21574,11 @@ package android.media {
    field public static final int AVCProfileHigh422 = 32; // 0x20
    field public static final int AVCProfileHigh422 = 32; // 0x20
    field public static final int AVCProfileHigh444 = 64; // 0x40
    field public static final int AVCProfileHigh444 = 64; // 0x40
    field public static final int AVCProfileMain = 2; // 0x2
    field public static final int AVCProfileMain = 2; // 0x2
    field public static final int DTS_HDProfileHRA = 1; // 0x1
    field public static final int DTS_HDProfileLBR = 2; // 0x2
    field public static final int DTS_HDProfileMA = 4; // 0x4
    field public static final int DTS_UHDProfileP1 = 1; // 0x1
    field public static final int DTS_UHDProfileP2 = 2; // 0x2
    field public static final int DolbyVisionLevel8k30 = 1024; // 0x400
    field public static final int DolbyVisionLevel8k30 = 1024; // 0x400
    field public static final int DolbyVisionLevel8k60 = 2048; // 0x800
    field public static final int DolbyVisionLevel8k60 = 2048; // 0x800
    field public static final int DolbyVisionLevelFhd24 = 4; // 0x4
    field public static final int DolbyVisionLevelFhd24 = 4; // 0x4
+16 −0
Original line number Original line Diff line number Diff line
@@ -4106,6 +4106,22 @@ public final class MediaCodecInfo {
        public static final int AV1Level72      = 0x400000;
        public static final int AV1Level72      = 0x400000;
        public static final int AV1Level73      = 0x800000;
        public static final int AV1Level73      = 0x800000;


        /** DTS codec profile for DTS HRA. */
        @SuppressLint("AllUpper")
        public static final int DTS_HDProfileHRA = 0x1;
        /** DTS codec profile for DTS Express. */
        @SuppressLint("AllUpper")
        public static final int DTS_HDProfileLBR = 0x2;
        /** DTS codec profile for DTS-HD Master Audio */
        @SuppressLint("AllUpper")
        public static final int DTS_HDProfileMA = 0x4;
        /** DTS codec profile for DTS:X Profile 1 */
        @SuppressLint("AllUpper")
        public static final int DTS_UHDProfileP1 = 0x1;
        /** DTS codec profile for DTS:X Profile 2 */
        @SuppressLint("AllUpper")
        public static final int DTS_UHDProfileP2 = 0x2;

        /**
        /**
         * The profile of the media content. Depending on the type of media this can be
         * The profile of the media content. Depending on the type of media this can be
         * one of the profile values defined in this class.
         * one of the profile values defined in this class.