| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |