blob: 88445cb90be0d8ebdf5a447f17b140ebfd16bbc2 [file] [log] [blame]
// Copyright 2017 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 MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_INFO_H_
#define MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_INFO_H_
#include "media/capture/video/video_capture_device_descriptor.h"
#include "media/capture/video_capture_types.h"
namespace media {
// Bundles a VideoCaptureDeviceDescriptor with corresponding supported
// video formats.
struct CAPTURE_EXPORT VideoCaptureDeviceInfo {
VideoCaptureDeviceInfo();
VideoCaptureDeviceInfo(VideoCaptureDeviceDescriptor descriptor);
VideoCaptureDeviceInfo(const VideoCaptureDeviceInfo& other);
~VideoCaptureDeviceInfo();
VideoCaptureDeviceInfo& operator=(const VideoCaptureDeviceInfo& other);
VideoCaptureDeviceDescriptor descriptor;
VideoCaptureFormats supported_formats;
};
} // namespace media
#endif // MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_INFO_H_