/*****************************************************************************1* dct.h: ppc transform and zigzag2*****************************************************************************3* Copyright (C) 2003-2016 x264 project4*5* Authors: Eric Petit <[email protected]>6* Guillaume Poirier <[email protected]>7*8* This program is free software; you can redistribute it and/or modify9* it under the terms of the GNU General Public License as published by10* the Free Software Foundation; either version 2 of the License, or11* (at your option) any later version.12*13* This program is distributed in the hope that it will be useful,14* but WITHOUT ANY WARRANTY; without even the implied warranty of15* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16* GNU General Public License for more details.17*18* You should have received a copy of the GNU General Public License19* along with this program; if not, write to the Free Software20* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.21*22* This program is also available under a commercial proprietary license.23* For more information, contact us at [email protected].24*****************************************************************************/2526#ifndef X264_PPC_DCT_H27#define X264_PPC_DCT_H2829void x264_sub4x4_dct_altivec( int16_t dct[16], uint8_t *pix1, uint8_t *pix2 );30void x264_sub8x8_dct_altivec( int16_t dct[4][16], uint8_t *pix1, uint8_t *pix2 );31void x264_sub16x16_dct_altivec( int16_t dct[16][16], uint8_t *pix1, uint8_t *pix2 );3233void x264_add4x4_idct_altivec( uint8_t *p_dst, int16_t dct[16] );34void x264_add8x8_idct_altivec( uint8_t *p_dst, int16_t dct[4][16] );35void x264_add16x16_idct_altivec( uint8_t *p_dst, int16_t dct[16][16] );3637void x264_sub8x8_dct8_altivec( int16_t dct[64], uint8_t *pix1, uint8_t *pix2 );38void x264_sub16x16_dct8_altivec( int16_t dct[4][64], uint8_t *pix1, uint8_t *pix2 );3940void x264_add8x8_idct8_altivec( uint8_t *dst, int16_t dct[64] );41void x264_add16x16_idct8_altivec( uint8_t *dst, int16_t dct[4][64] );4243void x264_zigzag_scan_4x4_frame_altivec( int16_t level[16], int16_t dct[16] );44void x264_zigzag_scan_4x4_field_altivec( int16_t level[16], int16_t dct[16] );4546#endif474849