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

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

Issue 816353010: Implemented HEVC video demuxing and parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT Created 5 years, 3 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.interfaces; 5 module media.interfaces;
6 6
7 import "ui/mojo/geometry/geometry.mojom"; 7 import "ui/mojo/geometry/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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // Kept in sync with media::ColorSpace via static_asserts. 113 // Kept in sync with media::ColorSpace via static_asserts.
114 enum ColorSpace { 114 enum ColorSpace {
115 UNSPECIFIED = 0, 115 UNSPECIFIED = 0,
116 JPEG = 1, 116 JPEG = 1,
117 HD_REC709 = 2, 117 HD_REC709 = 2,
118 SD_REC601 = 3, 118 SD_REC601 = 3,
119 MAX = SD_REC601, 119 MAX = SD_REC601,
120 }; 120 };
121 121
122 // See media/base/video_decoder_config.h for descriptions. 122 // See media/base/video_decoder_config.h for descriptions.
123 // Kept in sync with media::VideoCodec via static_asserts. 123 // Kept in sync with media::VideoCodec via static_asserts.
wolenetz 2015/09/02 20:43:19 Please update media_type_converters.cc's VideoCode
servolk 2015/09/03 00:17:51 Done.
124 enum VideoCodec { 124 enum VideoCodec {
125 UNKNOWN = 0, 125 UNKNOWN = 0,
126 H264, 126 H264,
127 VC1, 127 VC1,
128 MPEG2, 128 MPEG2,
129 MPEG4, 129 MPEG4,
130 Theora, 130 Theora,
131 VP8, 131 VP8,
132 VP9, 132 VP9,
133 Max = VP9, 133 HEVC,
134 Max = HEVC,
134 }; 135 };
135 136
136 // See media/base/video_decoder_config.h for descriptions. 137 // See media/base/video_decoder_config.h for descriptions.
137 // Kept in sync with media::VideoCodecProfile via static_asserts. 138 // Kept in sync with media::VideoCodecProfile via static_asserts.
138 enum VideoCodecProfile { 139 enum VideoCodecProfile {
139 VIDEO_CODEC_PROFILE_UNKNOWN = -1, 140 VIDEO_CODEC_PROFILE_UNKNOWN = -1,
140 VIDEO_CODEC_PROFILE_MIN = VIDEO_CODEC_PROFILE_UNKNOWN, 141 VIDEO_CODEC_PROFILE_MIN = VIDEO_CODEC_PROFILE_UNKNOWN,
141 H264PROFILE_MIN = 0, 142 H264PROFILE_MIN = 0,
142 H264PROFILE_BASELINE = H264PROFILE_MIN, 143 H264PROFILE_BASELINE = H264PROFILE_MIN,
143 H264PROFILE_MAIN = 1, 144 H264PROFILE_MAIN = 1,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. 224 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted.
224 DecryptConfig? decrypt_config; 225 DecryptConfig? decrypt_config;
225 226
226 // These fields indicate the amount of data to discard after decoding. 227 // These fields indicate the amount of data to discard after decoding.
227 int64 front_discard_usec; 228 int64 front_discard_usec;
228 int64 back_discard_usec; 229 int64 back_discard_usec;
229 230
230 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. 231 // Indicates this buffer is part of a splice around |splice_timestamp_usec|.
231 int64 splice_timestamp_usec; 232 int64 splice_timestamp_usec;
232 }; 233 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698