// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_CHROMEOS_CAMERA_DMABUF_UTILS_H_ #define COMPONENTS_CHROMEOS_CAMERA_DMABUF_UTILS_H_ #include #include #include "base/memory/scoped_refptr.h" #include "components/chromeos_camera/common/dmabuf.mojom.h" #include "media/base/video_types.h" #include "ui/gfx/geometry/size.h" namespace media { class VideoFrame; } namespace chromeos_camera { scoped_refptr ConstructVideoFrame( std::vector dma_buf_planes, media::VideoPixelFormat pixel_format, const gfx::Size& coded_size); } // namespace chromeos_camera #endif // COMPONENTS_CHROMEOS_CAMERA_DMABUF_UTILS_H_