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

Side by Side Diff: media/formats/common/offset_byte_queue.h

Issue 153103003: Move offset_byte_queue.* from media/mp4 to media/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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 | « no previous file | media/formats/common/offset_byte_queue.cc » ('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_MP4_OFFSET_BYTE_QUEUE_H_ 5 #ifndef MEDIA_FORMATS_MP4_OFFSET_BYTE_QUEUE_H_
acolwell GONE FROM CHROMIUM 2014/02/03 22:29:41 nit: s/FORMATS_MP4/FORMATS_COMMON/ here and below.
6 #define MEDIA_FORMATS_MP4_OFFSET_BYTE_QUEUE_H_ 6 #define MEDIA_FORMATS_MP4_OFFSET_BYTE_QUEUE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "media/base/byte_queue.h" 9 #include "media/base/byte_queue.h"
10 #include "media/base/media_export.h" 10 #include "media/base/media_export.h"
11 11
12 namespace media { 12 namespace media {
13 13
14 // A wrapper around a ByteQueue which maintains a notion of a 14 // A wrapper around a ByteQueue which maintains a notion of a
15 // monotonically-increasing offset. All buffer access is done by passing these 15 // monotonically-increasing offset. All buffer access is done by passing these
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const uint8* buf_; 57 const uint8* buf_;
58 int size_; 58 int size_;
59 int64 head_; 59 int64 head_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(OffsetByteQueue); 61 DISALLOW_COPY_AND_ASSIGN(OffsetByteQueue);
62 }; 62 };
63 63
64 } // namespace media 64 } // namespace media
65 65
66 #endif // MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_ 66 #endif // MEDIA_FORMATS_MP4_MP4_STREAM_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | media/formats/common/offset_byte_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698