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

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, 7 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 mojo; 5 module mojo;
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // Kept in sync with media::VideoCodec via static_asserts. 111 // Kept in sync with media::VideoCodec via static_asserts.
112 enum VideoCodec { 112 enum VideoCodec {
113 UNKNOWN = 0, 113 UNKNOWN = 0,
114 H264, 114 H264,
115 VC1, 115 VC1,
116 MPEG2, 116 MPEG2,
117 MPEG4, 117 MPEG4,
118 Theora, 118 Theora,
119 VP8, 119 VP8,
120 VP9, 120 VP9,
121 Max = VP9, 121 HEVC,
122 Max = HEVC,
122 }; 123 };
123 124
124 // See media/base/video_decoder_config.h for descriptions. 125 // See media/base/video_decoder_config.h for descriptions.
125 // Kept in sync with media::VideoCodecProfile via static_asserts. 126 // Kept in sync with media::VideoCodecProfile via static_asserts.
126 enum VideoCodecProfile { 127 enum VideoCodecProfile {
127 VIDEO_CODEC_PROFILE_UNKNOWN = -1, 128 VIDEO_CODEC_PROFILE_UNKNOWN = -1,
128 VIDEO_CODEC_PROFILE_MIN = VIDEO_CODEC_PROFILE_UNKNOWN, 129 VIDEO_CODEC_PROFILE_MIN = VIDEO_CODEC_PROFILE_UNKNOWN,
129 H264PROFILE_MIN = 0, 130 H264PROFILE_MIN = 0,
130 H264PROFILE_BASELINE = H264PROFILE_MIN, 131 H264PROFILE_BASELINE = H264PROFILE_MIN,
131 H264PROFILE_MAIN = 1, 132 H264PROFILE_MAIN = 1,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. 211 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted.
211 DecryptConfig? decrypt_config; 212 DecryptConfig? decrypt_config;
212 213
213 // These fields indicate the amount of data to discard after decoding. 214 // These fields indicate the amount of data to discard after decoding.
214 int64 front_discard_usec; 215 int64 front_discard_usec;
215 int64 back_discard_usec; 216 int64 back_discard_usec;
216 217
217 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. 218 // Indicates this buffer is part of a splice around |splice_timestamp_usec|.
218 int64 splice_timestamp_usec; 219 int64 splice_timestamp_usec;
219 }; 220 };
OLDNEW
« media/media.gyp ('K') | « media/media.gyp ('k') | media/test/data/bear.hevc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698