Chromium Code Reviews| 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 device.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 | |
|
emircan
2016/08/02 22:33:49
Remove GPUMEMORYBUFFER to keep things simple for n
chfremer
2016/08/03 22:14:15
I'd like to keep the enum value around for the ske
| |
| 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 |