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

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: Add kCodecHEVC in media/base/android/demuxer_stream_player_params.cc Created 5 years, 6 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // Kept in sync with media::VideoCodec via static_asserts. 108 // Kept in sync with media::VideoCodec via static_asserts.
109 enum VideoCodec { 109 enum VideoCodec {
110 UNKNOWN = 0, 110 UNKNOWN = 0,
111 H264, 111 H264,
112 VC1, 112 VC1,
113 MPEG2, 113 MPEG2,
114 MPEG4, 114 MPEG4,
115 Theora, 115 Theora,
116 VP8, 116 VP8,
117 VP9, 117 VP9,
118 Max = VP9, 118 HEVC,
119 Max = HEVC,
119 }; 120 };
120 121
121 // See media/base/video_decoder_config.h for descriptions. 122 // See media/base/video_decoder_config.h for descriptions.
122 // Kept in sync with media::VideoCodecProfile via static_asserts. 123 // Kept in sync with media::VideoCodecProfile via static_asserts.
123 enum VideoCodecProfile { 124 enum VideoCodecProfile {
124 VIDEO_CODEC_PROFILE_UNKNOWN = -1, 125 VIDEO_CODEC_PROFILE_UNKNOWN = -1,
125 VIDEO_CODEC_PROFILE_MIN = VIDEO_CODEC_PROFILE_UNKNOWN, 126 VIDEO_CODEC_PROFILE_MIN = VIDEO_CODEC_PROFILE_UNKNOWN,
126 H264PROFILE_MIN = 0, 127 H264PROFILE_MIN = 0,
127 H264PROFILE_BASELINE = H264PROFILE_MIN, 128 H264PROFILE_BASELINE = H264PROFILE_MIN,
128 H264PROFILE_MAIN = 1, 129 H264PROFILE_MAIN = 1,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. 208 // DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted.
208 DecryptConfig? decrypt_config; 209 DecryptConfig? decrypt_config;
209 210
210 // These fields indicate the amount of data to discard after decoding. 211 // These fields indicate the amount of data to discard after decoding.
211 int64 front_discard_usec; 212 int64 front_discard_usec;
212 int64 back_discard_usec; 213 int64 back_discard_usec;
213 214
214 // Indicates this buffer is part of a splice around |splice_timestamp_usec|. 215 // Indicates this buffer is part of a splice around |splice_timestamp_usec|.
215 int64 splice_timestamp_usec; 216 int64 splice_timestamp_usec;
216 }; 217 };
OLDNEW
« media/base/mime_util.cc ('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