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

Side by Side Diff: media/formats/mpeg/adts_constants.h

Issue 1517473002: Support HLS MPEG2 TS with SAMPLE-AES encryption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@encryption_scheme
Patch Set: tidying up prior to review 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
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 #ifndef MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_ 5 #ifndef MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
6 #define MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_ 6 #define MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "media/base/channel_layout.h" 10 #include "media/base/channel_layout.h"
11 #include "media/base/media_export.h" 11 #include "media/base/media_export.h"
12 12
13 namespace media { 13 namespace media {
14 14
15 enum { 15 enum {
16 kADTSHeaderMinSize = 7, 16 kADTSHeaderMinSize = 7,
17 kADTSHeaderSizeNoCrc = 7,
ddorwin 2015/12/10 20:10:59 Is this relevant to this CL?
dougsteed 2015/12/14 22:51:46 Yes. See formats/mp2t/es_parser_adts.cc
18 kADTSHeaderSizeWithCrc = 9,
17 kSamplesPerAACFrame = 1024, 19 kSamplesPerAACFrame = 1024,
18 }; 20 };
19 21
20 MEDIA_EXPORT extern const int kADTSFrequencyTable[]; 22 MEDIA_EXPORT extern const int kADTSFrequencyTable[];
21 MEDIA_EXPORT extern const size_t kADTSFrequencyTableSize; 23 MEDIA_EXPORT extern const size_t kADTSFrequencyTableSize;
22 24
23 MEDIA_EXPORT extern const media::ChannelLayout kADTSChannelLayoutTable[]; 25 MEDIA_EXPORT extern const media::ChannelLayout kADTSChannelLayoutTable[];
24 MEDIA_EXPORT extern const size_t kADTSChannelLayoutTableSize; 26 MEDIA_EXPORT extern const size_t kADTSChannelLayoutTableSize;
25 27
26 } // namespace media 28 } // namespace media
27 29
28 #endif // MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_ 30 #endif // MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698