// One big memory chunk of all 50 (or whatever) frames, allocated in
// the constructor. All data functions just use pointers into this
// pool.
std::unique_ptr<uint8_t[]> frame_pool;
// One big memory chunk of all 50 (or whatever) frames, allocated in
// the constructor. All data functions just use pointers into this
// pool.
std::unique_ptr<uint8_t[]> frame_pool;