OLD | NEW |
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 #ifndef MEDIA_CAST_SENDER_VP8_QUANTIZER_PARSER_H_ | 5 #ifndef MEDIA_CAST_SENDER_VP8_QUANTIZER_PARSER_H_ |
6 #define MEDIA_CAST_SENDER_VP8_QUANTIZER_PARSER_H_ | 6 #define MEDIA_CAST_SENDER_VP8_QUANTIZER_PARSER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include "media/cast/cast_config.h" | 11 #include "media/cast/cast_config.h" |
9 | 12 |
10 namespace media { | 13 namespace media { |
11 namespace cast { | 14 namespace cast { |
12 | 15 |
13 // Partially parse / skip data in the header and the first partition, | 16 // Partially parse / skip data in the header and the first partition, |
14 // and return the base quantizer in the range [0,63], or -1 on parse error. | 17 // and return the base quantizer in the range [0,63], or -1 on parse error. |
15 int ParseVp8HeaderQuantizer(const uint8_t* data, size_t size); | 18 int ParseVp8HeaderQuantizer(const uint8_t* data, size_t size); |
16 | 19 |
17 } // namespace cast | 20 } // namespace cast |
18 } // namespace media | 21 } // namespace media |
19 | 22 |
20 #endif // MEDIA_CAST_SENDER_VP8_QUANTIZER_PARSER_H_ | 23 #endif // MEDIA_CAST_SENDER_VP8_QUANTIZER_PARSER_H_ |
OLD | NEW |