| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 module video_capture.mojom; | |
| 6 | |
| 7 import "media/mojo/interfaces/media_types.mojom"; | |
| 8 import "ui/gfx/geometry/mojo/geometry.mojom"; | |
| 9 | |
| 10 enum VideoPixelStorage { | |
| 11 CPU, | |
| 12 GPUMEMORYBUFFER | |
| 13 }; | |
| 14 | |
| 15 struct VideoCaptureFormat { | |
| 16 gfx.mojom.Size frame_size; | |
| 17 float frame_rate; | |
| 18 media.mojom.VideoFormat pixel_format; | |
| 19 VideoPixelStorage pixel_storage; | |
| 20 }; | |
| 21 | |
| OLD | NEW |