#include "src/internal_frame_buffer_list.h"
#include <cassert>
#include <cstdint>
#include <memory>
#include <new>
#include <utility>
#include "src/utils/common.h"
namespace libgav1 {
extern "C" {
Libgav1StatusCode OnInternalFrameBufferSizeChanged(
void* callback_private_data, int bitdepth, Libgav1ImageFormat image_format,
int width, int height, int left_border, int right_border, int top_border,
int bottom_border, int stride_alignment) { … }
Libgav1StatusCode GetInternalFrameBuffer(
void* callback_private_data, int bitdepth, Libgav1ImageFormat image_format,
int width, int height, int left_border, int right_border, int top_border,
int bottom_border, int stride_alignment, Libgav1FrameBuffer* frame_buffer) { … }
void ReleaseInternalFrameBuffer(void* callback_private_data,
void* buffer_private_data) { … }
}
StatusCode InternalFrameBufferList::OnFrameBufferSizeChanged(
int , Libgav1ImageFormat , int ,
int , int , int ,
int , int , int ) { … }
StatusCode InternalFrameBufferList::GetFrameBuffer(
int bitdepth, Libgav1ImageFormat image_format, int width, int height,
int left_border, int right_border, int top_border, int bottom_border,
int stride_alignment, Libgav1FrameBuffer* frame_buffer) { … }
void InternalFrameBufferList::ReleaseFrameBuffer(void* buffer_private_data) { … }
}