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

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

Issue 483513002: Fix windows compilation warning in es_parser_adts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « media/formats/mp2t/es_parser.h ('k') | no next file » | 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 <list> 8 #include <list>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 14 matching lines...) Expand all
25 } 25 }
26 26
27 namespace media { 27 namespace media {
28 namespace mp2t { 28 namespace mp2t {
29 29
30 // Remark: 30 // Remark:
31 // In this h264 parser, frame splitting is based on AUD nals. 31 // In this h264 parser, frame splitting is based on AUD nals.
32 // Mpeg2 TS spec: "2.14 Carriage of Rec. ITU-T H.264 | ISO/IEC 14496-10 video" 32 // Mpeg2 TS spec: "2.14 Carriage of Rec. ITU-T H.264 | ISO/IEC 14496-10 video"
33 // "Each AVC access unit shall contain an access unit delimiter NAL Unit;" 33 // "Each AVC access unit shall contain an access unit delimiter NAL Unit;"
34 // 34 //
35 class MEDIA_EXPORT EsParserH264 : NON_EXPORTED_BASE(public EsParser) { 35 class MEDIA_EXPORT EsParserH264 : public EsParser {
36 public: 36 public:
37 typedef base::Callback<void(const VideoDecoderConfig&)> NewVideoConfigCB; 37 typedef base::Callback<void(const VideoDecoderConfig&)> NewVideoConfigCB;
38 38
39 EsParserH264(const NewVideoConfigCB& new_video_config_cb, 39 EsParserH264(const NewVideoConfigCB& new_video_config_cb,
40 const EmitBufferCB& emit_buffer_cb); 40 const EmitBufferCB& emit_buffer_cb);
41 virtual ~EsParserH264(); 41 virtual ~EsParserH264();
42 42
43 // EsParser implementation. 43 // EsParser implementation.
44 virtual bool Parse(const uint8* buf, int size, 44 virtual bool Parse(const uint8* buf, int size,
45 base::TimeDelta pts, 45 base::TimeDelta pts,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Last video decoder config. 89 // Last video decoder config.
90 VideoDecoderConfig last_video_decoder_config_; 90 VideoDecoderConfig last_video_decoder_config_;
91 91
92 DISALLOW_COPY_AND_ASSIGN(EsParserH264); 92 DISALLOW_COPY_AND_ASSIGN(EsParserH264);
93 }; 93 };
94 94
95 } // namespace mp2t 95 } // namespace mp2t
96 } // namespace media 96 } // namespace media
97 97
98 #endif 98 #endif
OLDNEW
« no previous file with comments | « media/formats/mp2t/es_parser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698