summaryrefslogtreecommitdiff
path: root/vpx_dsp/psnr.c
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2017-12-28 14:57:02 -0800
committerJohann <johannkoenig@google.com>2018-01-11 12:35:24 -0800
commitf5b2dd2a662ec3c52c00ed3319f4e031211b510a (patch)
tree3b2d457da1f4f545b8ce0c3dc39198be3b2d704f /vpx_dsp/psnr.c
parent1633786bfb5a3566d55ccdf827dd7999b2c2fab4 (diff)
downloadlibvpx-f5b2dd2a662ec3c52c00ed3319f4e031211b510a.tar
libvpx-f5b2dd2a662ec3c52c00ed3319f4e031211b510a.tar.gz
libvpx-f5b2dd2a662ec3c52c00ed3319f4e031211b510a.tar.bz2
libvpx-f5b2dd2a662ec3c52c00ed3319f4e031211b510a.zip
adopt some clang 5.0.0 formatting
At least the changes that don't conflict with 4.0.1 Change-Id: I9b6a7c14dadc0738cd0f628a10ece90fc7ee89fd
Diffstat (limited to 'vpx_dsp/psnr.c')
-rw-r--r--vpx_dsp/psnr.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/vpx_dsp/psnr.c b/vpx_dsp/psnr.c
index 47afd4388..48bac0450 100644
--- a/vpx_dsp/psnr.c
+++ b/vpx_dsp/psnr.c
@@ -1,12 +1,12 @@
/*
-* Copyright (c) 2016 The WebM project authors. All Rights Reserved.
-*
-* Use of this source code is governed by a BSD-style license
-* that can be found in the LICENSE file in the root of the source
-* tree. An additional intellectual property rights grant can be found
-* in the file PATENTS. All contributing project authors may
-* be found in the AUTHORS file in the root of the source tree.
-*/
+ * Copyright (c) 2016 The WebM project authors. All Rights Reserved.
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
#include <math.h>
#include <assert.h>
@@ -24,8 +24,8 @@ double vpx_sse_to_psnr(double samples, double peak, double sse) {
}
/* TODO(yaowu): The block_variance calls the unoptimized versions of variance()
-* and highbd_8_variance(). It should not.
-*/
+ * and highbd_8_variance(). It should not.
+ */
static void encoder_variance(const uint8_t *a, int a_stride, const uint8_t *b,
int b_stride, int w, int h, unsigned int *sse,
int *sum) {