/* * Copyright (c) 2010 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. */ #pragma once #ifndef _OPTIMISATION_DEBUG_H_ #define _OPTIMISATION_DEBUG_H_ void duplicate_buffer(unsigned int buffer_width, unsigned int buffer_height, const unsigned char* src, int src_pitch, unsigned char* dest, int dest_pitch); bool compare_mb(const unsigned char* buffer_a, int pitch_a, const unsigned char* buffer_b, int pitch_b); bool compare_mb_uv(const unsigned char* buffer_a, int pitch_a, const unsigned char* buffer_b, int pitch_b); bool compare_b(const unsigned char* buffer_a, int pitch_a, const unsigned char* buffer_b, int pitch_b); #endif // _OPTIMISATION_DEBUG_H_