chromium/media/gpu/vaapi/vaapi_image_decoder.cc

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

#include "media/gpu/vaapi/vaapi_image_decoder.h"

#include <utility>

#include "base/logging.h"
#include "media/gpu/macros.h"
#include "media/gpu/vaapi/vaapi_utils.h"
#include "media/gpu/vaapi/vaapi_wrapper.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/linux/native_pixmap_dmabuf.h"

namespace media {

void VAContextAndScopedVASurfaceDeleter::operator()(
    ScopedVASurface* scoped_va_surface) const {}

VaapiImageDecoder::VaapiImageDecoder(VAProfile va_profile)
    :{}

VaapiImageDecoder::~VaapiImageDecoder() {}

bool VaapiImageDecoder::Initialize(const ReportErrorToUMACB& error_uma_cb) {}

VaapiImageDecodeStatus VaapiImageDecoder::Decode(
    base::span<const uint8_t> encoded_image) {}

const ScopedVASurface* VaapiImageDecoder::GetScopedVASurface() const {}

std::unique_ptr<NativePixmapAndSizeInfo>
VaapiImageDecoder::ExportAsNativePixmapDmaBuf(VaapiImageDecodeStatus* status) {}

}  // namespace media