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

Commit 5692578e authored by Sungtak Lee's avatar Sungtak Lee
Browse files

CCodec: Increase max linear buffer size for 8K video

Increase max linear buffer size to fit a 8K video frame.

Bug: 172190459
Test: atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small

Change-Id: I47cfc2718447ac51be0f90638d7e7055fd7d95ba
parent adec76d0
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.