chromium/third_party/libgav1/src/src/frame_buffer.cc

// Copyright 2020 The libgav1 Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "src/gav1/frame_buffer.h"

#include <cstdint>

#include "src/frame_buffer_utils.h"
#include "src/utils/common.h"

extern "C" {

Libgav1StatusCode Libgav1ComputeFrameBufferInfo(
    int bitdepth, Libgav1ImageFormat image_format, int width, int height,
    int left_border, int right_border, int top_border, int bottom_border,
    int stride_alignment, Libgav1FrameBufferInfo* info) {}

Libgav1StatusCode Libgav1SetFrameBuffer(const Libgav1FrameBufferInfo* info,
                                        uint8_t* y_buffer, uint8_t* u_buffer,
                                        uint8_t* v_buffer,
                                        void* buffer_private_data,
                                        Libgav1FrameBuffer* frame_buffer) {}

}  // extern "C"