OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_MODULES_VIDEO_CODING_UTILITY_VP8_PARSE_HEADER_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_UTILITY_VP8_HEADER_PARSER_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_UTILITY_VP8_PARSE_HEADER_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_UTILITY_VP8_HEADER_PARSER_H_ |
13 | 13 |
14 #include <stdint.h> | 14 #include <stdint.h> |
15 #include <stdio.h> | 15 #include <stdio.h> |
16 | 16 |
17 namespace webrtc { | 17 namespace webrtc { |
18 | 18 |
19 namespace vp8 { | 19 namespace vp8 { |
20 | 20 |
21 enum { | 21 enum { |
22 MB_FEATURE_TREE_PROBS = 3, | 22 MB_FEATURE_TREE_PROBS = 3, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 }; | 70 }; |
71 | 71 |
72 // Gets the QP, QP range: [0, 127]. | 72 // Gets the QP, QP range: [0, 127]. |
73 // Returns true on success, false otherwise. | 73 // Returns true on success, false otherwise. |
74 bool GetQp(const uint8_t* buf, size_t length, int* qp); | 74 bool GetQp(const uint8_t* buf, size_t length, int* qp); |
75 | 75 |
76 } // namespace vp8 | 76 } // namespace vp8 |
77 | 77 |
78 } // namespace webrtc | 78 } // namespace webrtc |
79 | 79 |
80 #endif // WEBRTC_MODULES_VIDEO_CODING_UTILITY_VP8_PARSE_HEADER_H_ | 80 #endif // WEBRTC_MODULES_VIDEO_CODING_UTILITY_VP8_HEADER_PARSER_H_ |
OLD | NEW |