nengel@2: /* nengel@2: * Copyright (c) 2002 Brian Foley nengel@2: * Copyright (c) 2002 Dieter Shirley nengel@2: * Copyright (c) 2003-2004 Romain Dolbeau nengel@2: * nengel@2: * This file is part of FFmpeg. nengel@2: * nengel@2: * FFmpeg is free software; you can redistribute it and/or nengel@2: * modify it under the terms of the GNU Lesser General Public nengel@2: * License as published by the Free Software Foundation; either nengel@2: * version 2.1 of the License, or (at your option) any later version. nengel@2: * nengel@2: * FFmpeg is distributed in the hope that it will be useful, nengel@2: * but WITHOUT ANY WARRANTY; without even the implied warranty of nengel@2: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU nengel@2: * Lesser General Public License for more details. nengel@2: * nengel@2: * You should have received a copy of the GNU Lesser General Public nengel@2: * License along with FFmpeg; if not, write to the Free Software nengel@2: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA nengel@2: */ nengel@2: nengel@2: #ifndef AVCODEC_PPC_DSPUTIL_ALTIVEC_H nengel@2: #define AVCODEC_PPC_DSPUTIL_ALTIVEC_H nengel@2: nengel@2: #include nengel@2: #include "libavcodec/dsputil.h" nengel@2: nengel@2: void put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); nengel@2: nengel@2: void avg_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); nengel@2: nengel@2: int has_altivec(void); nengel@2: nengel@2: void fdct_altivec(int16_t *block); nengel@2: void gmc1_altivec(uint8_t *dst, uint8_t *src, int stride, int h, nengel@2: int x16, int y16, int rounder); nengel@2: void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block); nengel@2: void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); nengel@2: nengel@2: void ff_vp3_idct_altivec(DCTELEM *block); nengel@2: void ff_vp3_idct_put_altivec(uint8_t *dest, int line_size, DCTELEM *block); nengel@2: void ff_vp3_idct_add_altivec(uint8_t *dest, int line_size, DCTELEM *block); nengel@2: nengel@2: void dsputil_h264_init_ppc(DSPContext* c); nengel@2: nengel@2: void dsputil_init_altivec(DSPContext* c); nengel@2: //void vc1dsp_init_altivec(DSPContext* c, AVCodecContext *avctx); nengel@2: //void float_init_altivec(DSPContext* c, AVCodecContext *avctx); nengel@2: //void int_init_altivec(DSPContext* c, AVCodecContext *avctx); nengel@2: nengel@2: #endif /* AVCODEC_PPC_DSPUTIL_ALTIVEC_H */