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

Commit fc013844 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 4c22a5dd 5692578e
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -33,8 +33,8 @@ class MemoryDealer;
class SkipCutBuffer;
class SkipCutBuffer;


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


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