OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 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 #include "base/basictypes.h" | |
6 | |
7 namespace media { | |
8 namespace mpeg2ts { | |
9 | |
10 class Mpeg2TsCrc { | |
11 public: | |
12 Mpeg2TsCrc(); | |
13 | |
14 // Update the CRC using the LSB of |data|. | |
acolwell GONE FROM CHROMIUM
2013/09/05 18:29:10
nit: s/LSB/LSb/ since you are referring to the lea
damienv1
2013/09/09 23:29:45
I am referring to bits. Since the signature of thi
| |
15 void Update(uint32 data, int nbits); | |
16 | |
17 bool IsValid(); | |
18 | |
19 private: | |
20 uint32 crc_; | |
21 }; | |
22 | |
23 } // namespace mpeg2ts | |
24 } // namespace media | |
25 | |
OLD | NEW |