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_PARSE_HEADER_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_UTILITY_VP8_PARSE_HEADER_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_UTILITY_VP8_PARSE_HEADER_H_ |
13 | 13 |
14 #include <stdint.h> | |
15 #include <stdio.h> | |
stefan-webrtc
2015/11/11 16:12:38
Why was this moved?
pbos-webrtc
2015/11/11 16:16:21
It should have been in the header (since the heade
| |
16 | |
14 namespace webrtc { | 17 namespace webrtc { |
15 | 18 |
16 namespace vp8 { | 19 namespace vp8 { |
17 | 20 |
18 enum { | 21 enum { |
19 MB_FEATURE_TREE_PROBS = 3, | 22 MB_FEATURE_TREE_PROBS = 3, |
20 NUM_MB_SEGMENTS = 4, | 23 NUM_MB_SEGMENTS = 4, |
21 NUM_REF_LF_DELTAS = 4, | 24 NUM_REF_LF_DELTAS = 4, |
22 NUM_MODE_LF_DELTAS = 4, | 25 NUM_MODE_LF_DELTAS = 4, |
23 }; | 26 }; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 | 71 |
69 // Gets the QP, QP range: [0, 127]. | 72 // Gets the QP, QP range: [0, 127]. |
70 // Returns true on success, false otherwise. | 73 // Returns true on success, false otherwise. |
71 bool GetQp(const uint8_t* buf, size_t length, int* qp); | 74 bool GetQp(const uint8_t* buf, size_t length, int* qp); |
72 | 75 |
73 } // namespace vp8 | 76 } // namespace vp8 |
74 | 77 |
75 } // namespace webrtc | 78 } // namespace webrtc |
76 | 79 |
77 #endif // WEBRTC_MODULES_VIDEO_CODING_UTILITY_VP8_PARSE_HEADER_H_ | 80 #endif // WEBRTC_MODULES_VIDEO_CODING_UTILITY_VP8_PARSE_HEADER_H_ |
OLD | NEW |