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

Side by Side Diff: media/filters/vp8_parser.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 4 years, 12 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/filters/vp8_bool_decoder_unittest.cc ('k') | media/filters/vp8_parser_unittest.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 a VP8 raw stream parser, 5 // This file contains an implementation of a VP8 raw stream parser,
6 // as defined in RFC 6386. 6 // as defined in RFC 6386.
7 7
8 #ifndef MEDIA_FILTERS_VP8_PARSER_H_ 8 #ifndef MEDIA_FILTERS_VP8_PARSER_H_
9 #define MEDIA_FILTERS_VP8_PARSER_H_ 9 #define MEDIA_FILTERS_VP8_PARSER_H_
10 10
11 #include <stddef.h>
12 #include <stdint.h>
13
11 #include "base/macros.h" 14 #include "base/macros.h"
12 #include "media/base/media_export.h" 15 #include "media/base/media_export.h"
13 #include "media/filters/vp8_bool_decoder.h" 16 #include "media/filters/vp8_bool_decoder.h"
14 17
15 namespace media { 18 namespace media {
16 19
17 // See spec for definitions of values/fields. 20 // See spec for definitions of values/fields.
18 const size_t kMaxMBSegments = 4; 21 const size_t kMaxMBSegments = 4;
19 const size_t kNumMBFeatureTreeProbs = 3; 22 const size_t kNumMBFeatureTreeProbs = 3;
20 23
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 const uint8_t* stream_; 190 const uint8_t* stream_;
188 size_t bytes_left_; 191 size_t bytes_left_;
189 Vp8BoolDecoder bd_; 192 Vp8BoolDecoder bd_;
190 193
191 DISALLOW_COPY_AND_ASSIGN(Vp8Parser); 194 DISALLOW_COPY_AND_ASSIGN(Vp8Parser);
192 }; 195 };
193 196
194 } // namespace media 197 } // namespace media
195 198
196 #endif // MEDIA_FILTERS_VP8_PARSER_H_ 199 #endif // MEDIA_FILTERS_VP8_PARSER_H_
OLDNEW
« no previous file with comments | « media/filters/vp8_bool_decoder_unittest.cc ('k') | media/filters/vp8_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698