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

Commit 55a15a77 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "CCodec: Increase max linear buffer size for 8K video" am: fc013844

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

Change-Id: I782cc79a2fb5e3599907355c677a5dbd9568a57c
parents d9003e98 fc013844
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -33,8 +33,8 @@ class MemoryDealer;
class SkipCutBuffer;

constexpr size_t kLinearBufferSize = 1048576;
// This can fit 4K RGBA frame, and most likely client won't need more than this.
constexpr size_t kMaxLinearBufferSize = 4096 * 2304 * 4;
// This can fit an 8K frame.
constexpr size_t kMaxLinearBufferSize = 7680 * 4320 * 2;

/**
 * Base class for representation of buffers at one port.