1 /* 2 * Copyright (c) 2019 The WebM project authors. All Rights Reserved. 3 * 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 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 #ifndef VPX_VP9_ENCODER_VP9_BLOCKINESS_H_ 12 #define VPX_VP9_ENCODER_VP9_BLOCKINESS_H_ 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 double vp9_get_blockiness(const uint8_t *img1, int img1_pitch, 19 const uint8_t *img2, int img2_pitch, int width, 20 int height); 21 22 #ifdef __cplusplus 23 } // extern "C" 24 #endif 25 26 #endif // VPX_VP9_ENCODER_VP9_BLOCKINESS_H_ 27