mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-12-04 21:54:05 +00:00
40 lines
1.6 KiB
C
40 lines
1.6 KiB
C
|
#ifndef _PICTURE_X86_H_
|
||
|
#define _PICTURE_X86_H_
|
||
|
/*****************************************************************************
|
||
|
* This file is part of Kvazaar HEVC encoder.
|
||
|
*
|
||
|
* Copyright (C) 2013-2014 Tampere University of Technology and others (see
|
||
|
* COPYING file).
|
||
|
*
|
||
|
* Kvazaar is free software: you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU General Public License version 2 as published
|
||
|
* by the Free Software Foundation.
|
||
|
*
|
||
|
* Kvazaar is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU General Public License
|
||
|
* along with Kvazaar. If not, see <http://www.gnu.org/licenses/>.
|
||
|
****************************************************************************/
|
||
|
|
||
|
/*! \file picture_x86.h
|
||
|
\brief assembly functions header for sad and satd
|
||
|
*/
|
||
|
|
||
|
unsigned kvz_sad_4x4(const pixel*, const pixel*);
|
||
|
unsigned kvz_sad_8x8(const pixel*, const pixel*);
|
||
|
unsigned kvz_sad_16x16(const pixel*, const pixel*);
|
||
|
|
||
|
unsigned kvz_sad_4x4_stride(const pixel *data1, const pixel *data2, unsigned stride);
|
||
|
unsigned kvz_sad_8x8_stride(const pixel *data1, const pixel *data2, unsigned stride);
|
||
|
unsigned kvz_sad_16x16_stride(const pixel *data1, const pixel *data2, unsigned stride);
|
||
|
|
||
|
unsigned kvz_satd_4x4(const pixel *org, const pixel *cur);
|
||
|
unsigned kvz_satd_8x8(const pixel *org, const pixel *cur);
|
||
|
|
||
|
unsigned kvz_satd_8x8_stride(const pixel *org, int32_t org_stride, const pixel *cur, int32_t cur_stride);
|
||
|
|
||
|
#endif
|