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