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

Side by Side Diff: media/filters/opus_constants.h

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years 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/filters/opus_audio_decoder.cc ('k') | media/filters/source_buffer_platform_lowmem.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef MEDIA_FILTERS_OPUS_CONSTANTS_H_ 5 #ifndef MEDIA_FILTERS_OPUS_CONSTANTS_H_
6 #define MEDIA_FILTERS_OPUS_CONSTANTS_H_ 6 #define MEDIA_FILTERS_OPUS_CONSTANTS_H_
7 7
8 #include <stdint.h>
9
8 namespace media { 10 namespace media {
9 11
10 // The Opus specification is part of IETF RFC 6716: 12 // The Opus specification is part of IETF RFC 6716:
11 // http://tools.ietf.org/html/rfc6716 13 // http://tools.ietf.org/html/rfc6716
12 14
13 // Opus Extra Data contents: 15 // Opus Extra Data contents:
14 // - "OpusHead" magic signature (64 bits) 16 // - "OpusHead" magic signature (64 bits)
15 // - version number (8 bits) 17 // - version number (8 bits)
16 // - Channels C (8 bits) 18 // - Channels C (8 bits)
17 // - Pre-skip (16 bits) 19 // - Pre-skip (16 bits)
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 extern const uint8_t kFFmpegChannelDecodingLayouts[OPUS_MAX_VORBIS_CHANNELS] 105 extern const uint8_t kFFmpegChannelDecodingLayouts[OPUS_MAX_VORBIS_CHANNELS]
104 [OPUS_MAX_VORBIS_CHANNELS]; 106 [OPUS_MAX_VORBIS_CHANNELS];
105 107
106 // Opus internal to Vorbis channel order mapping written in the header. 108 // Opus internal to Vorbis channel order mapping written in the header.
107 extern const uint8_t 109 extern const uint8_t
108 kOpusVorbisChannelMap[OPUS_MAX_VORBIS_CHANNELS][OPUS_MAX_VORBIS_CHANNELS]; 110 kOpusVorbisChannelMap[OPUS_MAX_VORBIS_CHANNELS][OPUS_MAX_VORBIS_CHANNELS];
109 111
110 } // namespace media 112 } // namespace media
111 113
112 #endif // MEDIA_FILTERS_OPUS_CONSTANTS_H_ 114 #endif // MEDIA_FILTERS_OPUS_CONSTANTS_H_
OLDNEW
« no previous file with comments | « media/filters/opus_audio_decoder.cc ('k') | media/filters/source_buffer_platform_lowmem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698