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

Side by Side Diff: media/mpeg2/mpeg2ts_crc.h

Issue 23566013: Mpeg2 TS stream parser for media source. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698