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

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

Issue 812643005: Re-add AC3/EAC3 audio demuxing support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: buildfix Created 4 years, 11 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 11 matching lines...) Expand all
22 PCM = 3, 22 PCM = 3,
23 Vorbis = 4, 23 Vorbis = 4,
24 FLAC = 5, 24 FLAC = 5,
25 AMR_NB = 6, 25 AMR_NB = 6,
26 AMR_WB = 7, 26 AMR_WB = 7,
27 PCM_MULAW = 8, 27 PCM_MULAW = 8,
28 GSM_MS = 9, 28 GSM_MS = 9,
29 PCM_S16BE = 10, 29 PCM_S16BE = 10,
30 PCM_S24BE = 11, 30 PCM_S24BE = 11,
31 Opus = 12, 31 Opus = 12,
32 // EAC3 = 13, 32 EAC3 = 13,
33 PCM_ALAW = 14, 33 PCM_ALAW = 14,
34 ALAC = 15, 34 ALAC = 15,
35 MAX = ALAC, 35 AC3 = 16,
36 MAX = AC3,
36 }; 37 };
37 38
38 // See media/base/channel_layout.h for descriptions. 39 // See media/base/channel_layout.h for descriptions.
39 // Kept in sync with media::ChannelLayout via static_asserts. 40 // Kept in sync with media::ChannelLayout via static_asserts.
40 // TODO(tim): The bindings generators will always prepend the enum name, should 41 // TODO(tim): The bindings generators will always prepend the enum name, should
41 // mojom therefore allow enum values starting with numbers? 42 // mojom therefore allow enum values starting with numbers?
42 enum ChannelLayout { 43 enum ChannelLayout {
43 k_NONE = 0, 44 k_NONE = 0,
44 k_UNSUPPORTED = 1, 45 k_UNSUPPORTED = 1,
45 k_MONO = 2, 46 k_MONO = 2,
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 bool end_of_stream; 281 bool end_of_stream;
281 282
282 // Timestamp in microseconds of the associated frame. 283 // Timestamp in microseconds of the associated frame.
283 int64 timestamp_usec; 284 int64 timestamp_usec;
284 285
285 // Frame data for each plane. Will be null for EOS buffers. 286 // Frame data for each plane. Will be null for EOS buffers.
286 array<uint8>? y_data; 287 array<uint8>? y_data;
287 array<uint8>? u_data; 288 array<uint8>? u_data;
288 array<uint8>? v_data; 289 array<uint8>? v_data;
289 }; 290 };
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