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

Side by Side Diff: webrtc/rtc_tools/converter/converter.cc

Issue 2965593002: Move webrtc/{tools => rtc_tools} (Closed)
Patch Set: Adding back root changes 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 (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 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 #include <stdio.h> 10 #include <stdio.h>
11 #include <stdlib.h> 11 #include <stdlib.h>
12 #include <sys/stat.h> 12 #include <sys/stat.h>
13 13
14 #include <iomanip> 14 #include <iomanip>
15 #include <sstream> 15 #include <sstream>
16 16
17 #include "webrtc/tools/converter/converter.h" 17 #include "webrtc/rtc_tools/converter/converter.h"
18 18
19 #ifdef WIN32 19 #ifdef WIN32
20 #define SEPARATOR '\\' 20 #define SEPARATOR '\\'
21 #define STAT _stat 21 #define STAT _stat
22 #else 22 #else
23 #define SEPARATOR '/' 23 #define SEPARATOR '/'
24 #define STAT stat 24 #define STAT stat
25 #endif 25 #endif
26 26
27 namespace webrtc { 27 namespace webrtc {
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 std::stringstream tmp; 167 std::stringstream tmp;
168 168
169 // Zero-pad number to a string. 169 // Zero-pad number to a string.
170 tmp << std::setfill('0') << std::setw(width) << number; 170 tmp << std::setfill('0') << std::setw(width) << number;
171 171
172 return "frame_" + tmp.str(); 172 return "frame_" + tmp.str();
173 } 173 }
174 174
175 } // namespace test 175 } // namespace test
176 } // namespace webrtc 176 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/rtc_tools/converter/converter.h ('k') | webrtc/rtc_tools/converter/rgba_to_i420_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698