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

Side by Side Diff: media/formats/mp2t/es_parser_h264.h

Issue 2533273002: media: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 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/formats/mp2t/es_parser_adts.h ('k') | media/formats/mp2t/es_parser_mpeg1audio.h » ('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 #ifndef MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_ 5 #ifndef MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
6 #define MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_ 6 #define MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "media/base/media_export.h" 17 #include "media/base/media_export.h"
18 #include "media/base/video_decoder_config.h" 18 #include "media/base/video_decoder_config.h"
19 #include "media/formats/mp2t/es_adapter_video.h" 19 #include "media/formats/mp2t/es_adapter_video.h"
20 #include "media/formats/mp2t/es_parser.h" 20 #include "media/formats/mp2t/es_parser.h"
21 21
22 namespace media { 22 namespace media {
23 class EncryptionScheme; 23 class EncryptionScheme;
24 class H264Parser; 24 class H264Parser;
25 struct H264SPS; 25 struct H264SPS;
26 class OffsetByteQueue;
27 } 26 }
28 27
29 namespace media { 28 namespace media {
30 namespace mp2t { 29 namespace mp2t {
31 30
32 // A few remarks: 31 // A few remarks:
33 // - In this h264 parser, frame splitting is based on AUD nals. 32 // - In this h264 parser, frame splitting is based on AUD nals.
34 // Mpeg2 TS spec: "2.14 Carriage of Rec. ITU-T H.264 | ISO/IEC 14496-10 video" 33 // Mpeg2 TS spec: "2.14 Carriage of Rec. ITU-T H.264 | ISO/IEC 14496-10 video"
35 // "Each AVC access unit shall contain an access unit delimiter NAL Unit;" 34 // "Each AVC access unit shall contain an access unit delimiter NAL Unit;"
36 // - PES packets do not necessarily map to an H264 access unit although the HLS 35 // - PES packets do not necessarily map to an H264 access unit although the HLS
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // Last video decoder config. 84 // Last video decoder config.
86 VideoDecoderConfig last_video_decoder_config_; 85 VideoDecoderConfig last_video_decoder_config_;
87 86
88 DISALLOW_COPY_AND_ASSIGN(EsParserH264); 87 DISALLOW_COPY_AND_ASSIGN(EsParserH264);
89 }; 88 };
90 89
91 } // namespace mp2t 90 } // namespace mp2t
92 } // namespace media 91 } // namespace media
93 92
94 #endif // MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_ 93 #endif // MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
OLDNEW
« no previous file with comments | « media/formats/mp2t/es_parser_adts.h ('k') | media/formats/mp2t/es_parser_mpeg1audio.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698