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

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: Moved back h265_parser_unittest.cc in media/BUILD.gn 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
« no previous file with comments | « media/media_options.gni ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // Kept in sync with media::VideoCodec via static_asserts. 123 // Kept in sync with media::VideoCodec via static_asserts.
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
« no previous file with comments | « media/media_options.gni ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698