From 320ef65362608ee1148c299d8d5d7618af34e470 Mon Sep 17 00:00:00 2001 From: Boyuan Yang Date: Sun, 7 Nov 2021 08:50:18 -0500 Subject: New upstream version 0.17.0 --- src/buffer_pool.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/buffer_pool.h') diff --git a/src/buffer_pool.h b/src/buffer_pool.h index f35a633..d9eba6d 100644 --- a/src/buffer_pool.h +++ b/src/buffer_pool.h @@ -17,12 +17,13 @@ #ifndef LIBGAV1_SRC_BUFFER_POOL_H_ #define LIBGAV1_SRC_BUFFER_POOL_H_ +#include #include #include #include #include // NOLINT (unapproved c++11 header) #include -#include +#include #include // NOLINT (unapproved c++11 header) #include "src/dsp/common.h" @@ -52,7 +53,9 @@ enum FrameState : uint8_t { // A reference-counted frame buffer. Clients should access it via // RefCountedBufferPtr, which manages reference counting transparently. -class RefCountedBuffer { +// The alignment requirement is due to the SymbolDecoderContext member +// frame_context_. +class RefCountedBuffer : public MaxAlignedAllocable { public: // Not copyable or movable. RefCountedBuffer(const RefCountedBuffer&) = delete; -- cgit v1.2.3