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

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

Issue 623263003: replace OVERRIDE and FINAL with override and final in media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « media/formats/mp2t/ts_section_pat.h ('k') | media/formats/mp2t/ts_section_pmt.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_TS_SECTION_PES_H_ 5 #ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_
6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_ 6 #define MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "media/base/byte_queue.h" 11 #include "media/base/byte_queue.h"
12 #include "media/formats/mp2t/ts_section.h" 12 #include "media/formats/mp2t/ts_section.h"
13 13
14 namespace media { 14 namespace media {
15 namespace mp2t { 15 namespace mp2t {
16 16
17 class EsParser; 17 class EsParser;
18 class TimestampUnroller; 18 class TimestampUnroller;
19 19
20 class TsSectionPes : public TsSection { 20 class TsSectionPes : public TsSection {
21 public: 21 public:
22 TsSectionPes(scoped_ptr<EsParser> es_parser, 22 TsSectionPes(scoped_ptr<EsParser> es_parser,
23 TimestampUnroller* timestamp_unroller); 23 TimestampUnroller* timestamp_unroller);
24 virtual ~TsSectionPes(); 24 virtual ~TsSectionPes();
25 25
26 // TsSection implementation. 26 // TsSection implementation.
27 virtual bool Parse(bool payload_unit_start_indicator, 27 virtual bool Parse(bool payload_unit_start_indicator,
28 const uint8* buf, int size) OVERRIDE; 28 const uint8* buf, int size) override;
29 virtual void Flush() OVERRIDE; 29 virtual void Flush() override;
30 virtual void Reset() OVERRIDE; 30 virtual void Reset() override;
31 31
32 private: 32 private:
33 // Emit a reassembled PES packet. 33 // Emit a reassembled PES packet.
34 // Return true if successful. 34 // Return true if successful.
35 // |emit_for_unknown_size| is used to force emission for PES packets 35 // |emit_for_unknown_size| is used to force emission for PES packets
36 // whose size is unknown. 36 // whose size is unknown.
37 bool Emit(bool emit_for_unknown_size); 37 bool Emit(bool emit_for_unknown_size);
38 38
39 // Parse a PES packet, return true if successful. 39 // Parse a PES packet, return true if successful.
40 bool ParseInternal(const uint8* raw_pes, int raw_pes_size); 40 bool ParseInternal(const uint8* raw_pes, int raw_pes_size);
(...skipping 13 matching lines...) Expand all
54 TimestampUnroller* const timestamp_unroller_; 54 TimestampUnroller* const timestamp_unroller_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(TsSectionPes); 56 DISALLOW_COPY_AND_ASSIGN(TsSectionPes);
57 }; 57 };
58 58
59 } // namespace mp2t 59 } // namespace mp2t
60 } // namespace media 60 } // namespace media
61 61
62 #endif 62 #endif
63 63
OLDNEW
« no previous file with comments | « media/formats/mp2t/ts_section_pat.h ('k') | media/formats/mp2t/ts_section_pmt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698