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 #include "webrtc/modules/video_coding/utility/include/vp8_header_parser.h" | 10 #include "webrtc/modules/video_coding/utility/vp8_header_parser.h" |
11 | 11 |
12 #include "webrtc/base/logging.h" | 12 #include "webrtc/base/logging.h" |
13 | 13 |
14 namespace webrtc { | 14 namespace webrtc { |
15 | 15 |
16 namespace vp8 { | 16 namespace vp8 { |
17 namespace { | 17 namespace { |
18 const size_t kCommonPayloadHeaderLength = 3; | 18 const size_t kCommonPayloadHeaderLength = 3; |
19 const size_t kKeyPayloadHeaderLength = 10; | 19 const size_t kKeyPayloadHeaderLength = 10; |
20 } // namespace | 20 } // namespace |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 LOG(LS_WARNING) << "Failed to get QP, end of file reached."; | 195 LOG(LS_WARNING) << "Failed to get QP, end of file reached."; |
196 return false; | 196 return false; |
197 } | 197 } |
198 *qp = base_q0; | 198 *qp = base_q0; |
199 return true; | 199 return true; |
200 } | 200 } |
201 | 201 |
202 } // namespace vp8 | 202 } // namespace vp8 |
203 | 203 |
204 } // namespace webrtc | 204 } // namespace webrtc |
OLD | NEW |