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

Commit 8942f0ee authored by Lajos Molnar's avatar Lajos Molnar
Browse files

media: support AVC Level 6+ for CodecCapabilities

Bug: 122971163
Change-Id: I9501113849e43f266e466221d9a2995b4d410834
parent 49beba10
Loading
Loading
Loading
Loading
+23 −17
Original line number Diff line number Diff line
@@ -2108,6 +2108,12 @@ public final class MediaCodecInfo {
                            MBPS =   983040; FS =  36864; BR = 240000; DPB = 184320; break;
                        case CodecProfileLevel.AVCLevel52:
                            MBPS =  2073600; FS =  36864; BR = 240000; DPB = 184320; break;
                        case CodecProfileLevel.AVCLevel6:
                            MBPS =  4177920; FS = 139264; BR = 240000; DPB = 696320; break;
                        case CodecProfileLevel.AVCLevel61:
                            MBPS =  8355840; FS = 139264; BR = 480000; DPB = 696320; break;
                        case CodecProfileLevel.AVCLevel62:
                            MBPS = 16711680; FS = 139264; BR = 800000; DPB = 696320; break;
                        default:
                            Log.w(TAG, "Unrecognized level "
                                    + profileLevel.level + " for " + mime);