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

Side by Side Diff: media/filters/h264_bit_reader.h

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years 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/filters/gpu_video_decoder.cc ('k') | media/filters/h264_bitstream_buffer.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 // This file contains an implementation of an H264 Annex-B video stream parser. 5 // This file contains an implementation of an H264 Annex-B video stream parser.
6 6
7 #ifndef MEDIA_FILTERS_H264_BIT_READER_H_ 7 #ifndef MEDIA_FILTERS_H264_BIT_READER_H_
8 #define MEDIA_FILTERS_H264_BIT_READER_H_ 8 #define MEDIA_FILTERS_H264_BIT_READER_H_
9 9
10 #include <stddef.h>
10 #include <stdint.h> 11 #include <stdint.h>
11 #include <sys/types.h> 12 #include <sys/types.h>
12 13
13 #include "base/macros.h" 14 #include "base/macros.h"
14 #include "media/base/media_export.h" 15 #include "media/base/media_export.h"
15 16
16 namespace media { 17 namespace media {
17 18
18 // A class to provide bit-granularity reading of H.264 streams. 19 // A class to provide bit-granularity reading of H.264 streams.
19 // This is not a generic bit reader class, as it takes into account 20 // This is not a generic bit reader class, as it takes into account
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 72
72 // Number of emulation preventation bytes (0x000003) we met. 73 // Number of emulation preventation bytes (0x000003) we met.
73 size_t emulation_prevention_bytes_; 74 size_t emulation_prevention_bytes_;
74 75
75 DISALLOW_COPY_AND_ASSIGN(H264BitReader); 76 DISALLOW_COPY_AND_ASSIGN(H264BitReader);
76 }; 77 };
77 78
78 } // namespace media 79 } // namespace media
79 80
80 #endif // MEDIA_FILTERS_H264_BIT_READER_H_ 81 #endif // MEDIA_FILTERS_H264_BIT_READER_H_
OLDNEW
« no previous file with comments | « media/filters/gpu_video_decoder.cc ('k') | media/filters/h264_bitstream_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698