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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc

Issue 1422023002: Use webrtc/base/logging.h for rtp_rtcp. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 #include "webrtc/modules/rtp_rtcp/source/rtp_format_vp8.h" 11 #include "webrtc/modules/rtp_rtcp/source/rtp_format_vp8.h"
12 12
13 #include <assert.h> // assert 13 #include <assert.h> // assert
14 #include <string.h> // memcpy 14 #include <string.h> // memcpy
15 15
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/base/logging.h"
18 #include "webrtc/modules/rtp_rtcp/source/vp8_partition_aggregator.h" 19 #include "webrtc/modules/rtp_rtcp/source/vp8_partition_aggregator.h"
19 #include "webrtc/system_wrappers/interface/logging.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 namespace { 22 namespace {
23 int ParseVP8PictureID(RTPVideoHeaderVP8* vp8, 23 int ParseVP8PictureID(RTPVideoHeaderVP8* vp8,
24 const uint8_t** data, 24 const uint8_t** data,
25 size_t* data_length, 25 size_t* data_length,
26 size_t* parsed_bytes) { 26 size_t* parsed_bytes) {
27 assert(vp8 != NULL); 27 assert(vp8 != NULL);
28 if (*data_length == 0) 28 if (*data_length == 0)
29 return -1; 29 return -1;
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 if (ParseVP8FrameSize(parsed_payload, payload_data, payload_data_length) != 734 if (ParseVP8FrameSize(parsed_payload, payload_data, payload_data_length) !=
735 0) { 735 0) {
736 return false; 736 return false;
737 } 737 }
738 738
739 parsed_payload->payload = payload_data; 739 parsed_payload->payload = payload_data;
740 parsed_payload->payload_length = payload_data_length; 740 parsed_payload->payload_length = payload_data_length;
741 return true; 741 return true;
742 } 742 }
743 } // namespace webrtc 743 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_sender.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698