Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(519)

Side by Side Diff: services/video_capture/public/interfaces/video_capture_format.mojom

Issue 2419793003: media: Use native video enum types in media mojo interfaces (Closed)
Patch Set: media: Use native video enum types in media mojo interfaces Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « media/mojo/interfaces/media_types.typemap ('k') | services/video_capture/public/interfaces/video_capture_format_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698