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

Side by Side Diff: media/mojo/interfaces/media_types.mojom

Issue 2121043002: 16 bpp video stream capture, render and WebGL usage - Realsense R200 & SR300 support. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WebGL video to texture support and readPixels from R16UI for CPU access Created 4 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 media.mojom; 5 module media.mojom;
6 6
7 import "ui/gfx/geometry/mojo/geometry.mojom"; 7 import "ui/gfx/geometry/mojo/geometry.mojom";
8 8
9 // See media/base/buffering_state.h for descriptions. 9 // See media/base/buffering_state.h for descriptions.
10 // Kept in sync with media::BufferingState via static_asserts. 10 // Kept in sync with media::BufferingState via static_asserts.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 RGB24, 115 RGB24,
116 RGB32, 116 RGB32,
117 MJPEG, 117 MJPEG,
118 MT21, 118 MT21,
119 YUV420P9, 119 YUV420P9,
120 YUV420P10, 120 YUV420P10,
121 YUV422P9, 121 YUV422P9,
122 YUV422P10, 122 YUV422P10,
123 YUV444P9, 123 YUV444P9,
124 YUV444P10, 124 YUV444P10,
125 FORMAT_MAX = YUV444P10, 125 Y8,
126 Y16,
127 FORMAT_MAX = Y16,
126 }; 128 };
127 129
128 // Kept in sync with media::ColorSpace via static_asserts. 130 // Kept in sync with media::ColorSpace via static_asserts.
129 enum ColorSpace { 131 enum ColorSpace {
130 UNSPECIFIED = 0, 132 UNSPECIFIED = 0,
131 JPEG = 1, 133 JPEG = 1,
132 HD_REC709 = 2, 134 HD_REC709 = 2,
133 SD_REC601 = 3, 135 SD_REC601 = 3,
134 MAX = SD_REC601, 136 MAX = SD_REC601,
135 }; 137 };
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 }; 340 };
339 341
340 struct PipelineStatistics { 342 struct PipelineStatistics {
341 uint64 audio_bytes_decoded; 343 uint64 audio_bytes_decoded;
342 uint64 video_bytes_decoded; 344 uint64 video_bytes_decoded;
343 uint32 video_frames_decoded; 345 uint32 video_frames_decoded;
344 uint32 video_frames_dropped; 346 uint32 video_frames_dropped;
345 int64 audio_memory_usage; 347 int64 audio_memory_usage;
346 int64 video_memory_usage; 348 int64 video_memory_usage;
347 }; 349 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698