annotate libavcodec/ppc/dsputil_altivec.h @ 9:ea1ba68cf0ed

update to match api changes + add sscc produced source
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Wed, 05 Jun 2013 14:43:26 +0200
parents
children
rev   line source
nengel@2 1 /*
nengel@2 2 * Copyright (c) 2002 Brian Foley
nengel@2 3 * Copyright (c) 2002 Dieter Shirley
nengel@2 4 * Copyright (c) 2003-2004 Romain Dolbeau <romain@dolbeau.org>
nengel@2 5 *
nengel@2 6 * This file is part of FFmpeg.
nengel@2 7 *
nengel@2 8 * FFmpeg is free software; you can redistribute it and/or
nengel@2 9 * modify it under the terms of the GNU Lesser General Public
nengel@2 10 * License as published by the Free Software Foundation; either
nengel@2 11 * version 2.1 of the License, or (at your option) any later version.
nengel@2 12 *
nengel@2 13 * FFmpeg is distributed in the hope that it will be useful,
nengel@2 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
nengel@2 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
nengel@2 16 * Lesser General Public License for more details.
nengel@2 17 *
nengel@2 18 * You should have received a copy of the GNU Lesser General Public
nengel@2 19 * License along with FFmpeg; if not, write to the Free Software
nengel@2 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
nengel@2 21 */
nengel@2 22
nengel@2 23 #ifndef AVCODEC_PPC_DSPUTIL_ALTIVEC_H
nengel@2 24 #define AVCODEC_PPC_DSPUTIL_ALTIVEC_H
nengel@2 25
nengel@2 26 #include <stdint.h>
nengel@2 27 #include "libavcodec/dsputil.h"
nengel@2 28
nengel@2 29 void put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h);
nengel@2 30
nengel@2 31 void avg_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h);
nengel@2 32
nengel@2 33 int has_altivec(void);
nengel@2 34
nengel@2 35 void fdct_altivec(int16_t *block);
nengel@2 36 void gmc1_altivec(uint8_t *dst, uint8_t *src, int stride, int h,
nengel@2 37 int x16, int y16, int rounder);
nengel@2 38 void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block);
nengel@2 39 void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block);
nengel@2 40
nengel@2 41 void ff_vp3_idct_altivec(DCTELEM *block);
nengel@2 42 void ff_vp3_idct_put_altivec(uint8_t *dest, int line_size, DCTELEM *block);
nengel@2 43 void ff_vp3_idct_add_altivec(uint8_t *dest, int line_size, DCTELEM *block);
nengel@2 44
nengel@2 45 void dsputil_h264_init_ppc(DSPContext* c);
nengel@2 46
nengel@2 47 void dsputil_init_altivec(DSPContext* c);
nengel@2 48 //void vc1dsp_init_altivec(DSPContext* c, AVCodecContext *avctx);
nengel@2 49 //void float_init_altivec(DSPContext* c, AVCodecContext *avctx);
nengel@2 50 //void int_init_altivec(DSPContext* c, AVCodecContext *avctx);
nengel@2 51
nengel@2 52 #endif /* AVCODEC_PPC_DSPUTIL_ALTIVEC_H */