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

Side by Side Diff: webrtc/common_video/libyuv/include/webrtc_libyuv.h

Issue 1511603004: Enable cpplint for more webrtc subfolders and fix all uncovered cpplint errors. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Feedback from tommi Created 5 years 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 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 int dst_stride); 145 int dst_stride);
146 int ConvertNV12ToRGB565(const uint8_t* src_frame, 146 int ConvertNV12ToRGB565(const uint8_t* src_frame,
147 uint8_t* dst_frame, 147 uint8_t* dst_frame,
148 int width, int height); 148 int width, int height);
149 149
150 // Compute PSNR for an I420 frame (all planes). 150 // Compute PSNR for an I420 frame (all planes).
151 // Returns the PSNR in decibel, to a maximum of kInfinitePSNR. 151 // Returns the PSNR in decibel, to a maximum of kInfinitePSNR.
152 double I420PSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame); 152 double I420PSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame);
153 // Compute SSIM for an I420 frame (all planes). 153 // Compute SSIM for an I420 frame (all planes).
154 double I420SSIM(const VideoFrame* ref_frame, const VideoFrame* test_frame); 154 double I420SSIM(const VideoFrame* ref_frame, const VideoFrame* test_frame);
155 } 155
156 } // namespace webrtc
156 157
157 #endif // WEBRTC_COMMON_VIDEO_LIBYUV_INCLUDE_WEBRTC_LIBYUV_H_ 158 #endif // WEBRTC_COMMON_VIDEO_LIBYUV_INCLUDE_WEBRTC_LIBYUV_H_
OLDNEW
« no previous file with comments | « webrtc/common_video/i420_video_frame_unittest.cc ('k') | webrtc/common_video/libyuv/libyuv_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698