Home | History | Annotate | Download | only in mpeg
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
      6 #define MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
      7 
      8 #include <stddef.h>
      9 
     10 #include "media/base/channel_layout.h"
     11 #include "media/base/media_export.h"
     12 
     13 namespace media {
     14 
     15 enum {
     16   kADTSHeaderMinSize = 7,
     17   kSamplesPerAACFrame = 1024,
     18 };
     19 
     20 MEDIA_EXPORT extern const int kADTSFrequencyTable[];
     21 MEDIA_EXPORT extern const size_t kADTSFrequencyTableSize;
     22 
     23 MEDIA_EXPORT extern const media::ChannelLayout kADTSChannelLayoutTable[];
     24 MEDIA_EXPORT extern const size_t kADTSChannelLayoutTableSize;
     25 
     26 }  // namespace media
     27 
     28 #endif  // MEDIA_FORMATS_MPEG_ADTS_CONSTANTS_H_
     29