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

Side by Side Diff: media/base/video_util.cc

Issue 2354903003: Don't include the tracing in gpu_memory_buffer.h (Closed)
Patch Set: Fix linux build again Created 4 years, 2 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/video_util.h" 5 #include "media/base/video_util.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/bind.h"
9 #include "base/logging.h" 10 #include "base/logging.h"
10 #include "base/numerics/safe_conversions.h" 11 #include "base/numerics/safe_conversions.h"
11 #include "base/numerics/safe_math.h" 12 #include "base/numerics/safe_math.h"
12 #include "media/base/video_frame.h" 13 #include "media/base/video_frame.h"
13 #include "media/base/yuv_convert.h" 14 #include "media/base/yuv_convert.h"
14 #include "third_party/libyuv/include/libyuv.h" 15 #include "third_party/libyuv/include/libyuv.h"
15 16
16 namespace media { 17 namespace media {
17 18
18 namespace { 19 namespace {
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 dst_frame->stride(VideoFrame::kVPlane), 413 dst_frame->stride(VideoFrame::kVPlane),
413 VideoFrame::PlaneSize(PIXEL_FORMAT_I420, VideoFrame::kVPlane, 414 VideoFrame::PlaneSize(PIXEL_FORMAT_I420, VideoFrame::kVPlane,
414 dst_frame->coded_size()), 415 dst_frame->coded_size()),
415 VideoFrame::PlaneSize(PIXEL_FORMAT_I420, VideoFrame::kVPlane, 416 VideoFrame::PlaneSize(PIXEL_FORMAT_I420, VideoFrame::kVPlane,
416 src_frame.visible_rect().size())); 417 src_frame.visible_rect().size()));
417 418
418 return true; 419 return true;
419 } 420 }
420 421
421 } // namespace media 422 } // namespace media
OLDNEW
« no previous file with comments | « media/base/android/stream_texture_wrapper.h ('k') | media/capture/video/file_video_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698