chromium/media/gpu/vaapi/test/fake_libva_driver/fake_buffer.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/numerics/checked_math.h"

#include "media/gpu/vaapi/test/fake_libva_driver/fake_buffer.h"

namespace {

size_t CalculateDataSize(unsigned int size_per_element,
                         unsigned int num_elements) {}

}  // namespace

namespace media::internal {

FakeBuffer::FakeBuffer(IdType id,
                       VAContextID context,
                       VABufferType type,
                       unsigned int size_per_element,
                       unsigned int num_elements,
                       const void* data)
    :{}

FakeBuffer::~FakeBuffer() = default;

FakeBuffer::IdType FakeBuffer::GetID() const {}

VAContextID FakeBuffer::GetContextID() const {}

VABufferType FakeBuffer::GetType() const {}

size_t FakeBuffer::GetDataSize() const {}

void* FakeBuffer::GetData() const {}

}  // namespace media::internal