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

Side by Side Diff: webrtc/common_video/video_frame_buffer.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
« no previous file with comments | « webrtc/common_video/video_frame.cc ('k') | webrtc/common_video/video_render_frames.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "webrtc/common_video/include/video_frame_buffer.h" 10 #include "webrtc/common_video/include/video_frame_buffer.h"
11 11
12 #include <string.h> 12 #include <string.h>
13 13
14 #include <algorithm> 14 #include <algorithm>
15 15
16 #include "webrtc/base/checks.h"
17 #include "webrtc/base/keep_ref_until_done.h"
18 #include "libyuv/convert.h" 16 #include "libyuv/convert.h"
19 #include "libyuv/planar_functions.h" 17 #include "libyuv/planar_functions.h"
20 #include "libyuv/scale.h" 18 #include "libyuv/scale.h"
19 #include "webrtc/rtc_base/checks.h"
20 #include "webrtc/rtc_base/keep_ref_until_done.h"
21 21
22 namespace webrtc { 22 namespace webrtc {
23 23
24 WrappedI420Buffer::WrappedI420Buffer(int width, 24 WrappedI420Buffer::WrappedI420Buffer(int width,
25 int height, 25 int height,
26 const uint8_t* y_plane, 26 const uint8_t* y_plane,
27 int y_stride, 27 int y_stride,
28 const uint8_t* u_plane, 28 const uint8_t* u_plane,
29 int u_stride, 29 int u_stride,
30 const uint8_t* v_plane, 30 const uint8_t* v_plane,
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 case VideoFrameBuffer::Type::kI444: 178 case VideoFrameBuffer::Type::kI444:
179 return WrapI444Buffer(width, height, y_plane, y_stride, u_plane, u_stride, 179 return WrapI444Buffer(width, height, y_plane, y_stride, u_plane, u_stride,
180 v_plane, v_stride, no_longer_used); 180 v_plane, v_stride, no_longer_used);
181 default: 181 default:
182 FATAL() << "Unexpected frame buffer type."; 182 FATAL() << "Unexpected frame buffer type.";
183 return nullptr; 183 return nullptr;
184 } 184 }
185 } 185 }
186 186
187 } // namespace webrtc 187 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/common_video/video_frame.cc ('k') | webrtc/common_video/video_render_frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698