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

Side by Side Diff: webrtc/modules/video_coding/utility/vp8_header_parser.cc

Issue 1435873003: Use webrtc/base/logging.h for video coding/processing. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: move stdint/stdio headers to proper location Created 5 years, 1 month 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
OLDNEW
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 <stdint.h>
11 #include <stdio.h>
12
13 #include "webrtc/modules/video_coding/utility/include/vp8_header_parser.h" 10 #include "webrtc/modules/video_coding/utility/include/vp8_header_parser.h"
14 11
15 #include "webrtc/system_wrappers/include/logging.h" 12 #include "webrtc/base/logging.h"
16 13
17 namespace webrtc { 14 namespace webrtc {
18 15
19 namespace vp8 { 16 namespace vp8 {
20 namespace { 17 namespace {
21 const size_t kCommonPayloadHeaderLength = 3; 18 const size_t kCommonPayloadHeaderLength = 3;
22 const size_t kKeyPayloadHeaderLength = 10; 19 const size_t kKeyPayloadHeaderLength = 10;
23 } // namespace 20 } // namespace
24 21
25 static uint32_t BSwap32(uint32_t x) { 22 static uint32_t BSwap32(uint32_t x) {
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 LOG(LS_WARNING) << "Failed to get QP, end of file reached."; 195 LOG(LS_WARNING) << "Failed to get QP, end of file reached.";
199 return false; 196 return false;
200 } 197 }
201 *qp = base_q0; 198 *qp = base_q0;
202 return true; 199 return true;
203 } 200 }
204 201
205 } // namespace vp8 202 } // namespace vp8
206 203
207 } // namespace webrtc 204 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698