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

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

Issue 2911643002: Create BUILD.gn files for //media/filters. (Closed)
Patch Set: Fix mac build. Created 3 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 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> 8 #include <stdint.h>
9 9
10 #include "media/base/media_export.h"
mlamouri (slow - plz ping) 2017/06/05 12:30:16 Why are you adding this?
a.suchit2 2017/06/05 18:22:25 It is not needed. I forgot to remove it. I will Up
11
10 namespace media { 12 namespace media {
11 13
12 // The Opus specification is part of IETF RFC 6716: 14 // The Opus specification is part of IETF RFC 6716:
13 // http://tools.ietf.org/html/rfc6716 15 // http://tools.ietf.org/html/rfc6716
14 16
15 // Opus Extra Data contents: 17 // Opus Extra Data contents:
16 // - "OpusHead" magic signature (64 bits) 18 // - "OpusHead" magic signature (64 bits)
17 // - version number (8 bits) 19 // - version number (8 bits)
18 // - Channels C (8 bits) 20 // - Channels C (8 bits)
19 // - Pre-skip (16 bits) 21 // - Pre-skip (16 bits)
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 extern const uint8_t kFFmpegChannelDecodingLayouts[OPUS_MAX_VORBIS_CHANNELS] 107 extern const uint8_t kFFmpegChannelDecodingLayouts[OPUS_MAX_VORBIS_CHANNELS]
106 [OPUS_MAX_VORBIS_CHANNELS]; 108 [OPUS_MAX_VORBIS_CHANNELS];
107 109
108 // Opus internal to Vorbis channel order mapping written in the header. 110 // Opus internal to Vorbis channel order mapping written in the header.
109 extern const uint8_t 111 extern const uint8_t
110 kOpusVorbisChannelMap[OPUS_MAX_VORBIS_CHANNELS][OPUS_MAX_VORBIS_CHANNELS]; 112 kOpusVorbisChannelMap[OPUS_MAX_VORBIS_CHANNELS][OPUS_MAX_VORBIS_CHANNELS];
111 113
112 } // namespace media 114 } // namespace media
113 115
114 #endif // MEDIA_FILTERS_OPUS_CONSTANTS_H_ 116 #endif // MEDIA_FILTERS_OPUS_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698