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

Side by Side Diff: webrtc/examples/peerconnection/client/main_wnd.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 months 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 2012 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2012 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/examples/peerconnection/client/main_wnd.h" 11 #include "webrtc/examples/peerconnection/client/main_wnd.h"
12 12
13 #include <math.h> 13 #include <math.h>
14 14
15 #include "libyuv/convert_argb.h" 15 #include "libyuv/convert_argb.h"
16 #include "webrtc/api/video/i420_buffer.h" 16 #include "webrtc/api/video/i420_buffer.h"
17 #include "webrtc/examples/peerconnection/client/defaults.h" 17 #include "webrtc/examples/peerconnection/client/defaults.h"
18 #include "webrtc/base/arraysize.h" 18 #include "webrtc/rtc_base/arraysize.h"
19 #include "webrtc/base/checks.h" 19 #include "webrtc/rtc_base/checks.h"
20 #include "webrtc/base/logging.h" 20 #include "webrtc/rtc_base/logging.h"
21 21
22 ATOM MainWnd::wnd_class_ = 0; 22 ATOM MainWnd::wnd_class_ = 0;
23 const wchar_t MainWnd::kClassName[] = L"WebRTC_MainWnd"; 23 const wchar_t MainWnd::kClassName[] = L"WebRTC_MainWnd";
24 24
25 using rtc::sprintfn; 25 using rtc::sprintfn;
26 26
27 namespace { 27 namespace {
28 28
29 const char kConnecting[] = "Connecting... "; 29 const char kConnecting[] = "Connecting... ";
30 const char kNoVideoStreams[] = "(no video streams either way)"; 30 const char kNoVideoStreams[] = "(no video streams either way)";
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 libyuv::I420ToARGB(buffer->DataY(), buffer->StrideY(), 618 libyuv::I420ToARGB(buffer->DataY(), buffer->StrideY(),
619 buffer->DataU(), buffer->StrideU(), 619 buffer->DataU(), buffer->StrideU(),
620 buffer->DataV(), buffer->StrideV(), 620 buffer->DataV(), buffer->StrideV(),
621 image_.get(), 621 image_.get(),
622 bmi_.bmiHeader.biWidth * 622 bmi_.bmiHeader.biWidth *
623 bmi_.bmiHeader.biBitCount / 8, 623 bmi_.bmiHeader.biBitCount / 8,
624 buffer->width(), buffer->height()); 624 buffer->width(), buffer->height());
625 } 625 }
626 InvalidateRect(wnd_, NULL, TRUE); 626 InvalidateRect(wnd_, NULL, TRUE);
627 } 627 }
OLDNEW
« no previous file with comments | « webrtc/examples/peerconnection/client/main_wnd.h ('k') | webrtc/examples/peerconnection/client/peer_connection_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698