Mercurial > libavcodec.hg
comparison ppc/dsputil_altivec.h @ 1949:66215baae7b9 libavcodec
hadamard8_diff8x8 in AltiVec, the 16bits edition by (Romain Dolbeau <dolbeau at irisa dot fr>)
author | michael |
---|---|
date | Tue, 20 Apr 2004 17:05:12 +0000 |
parents | dea5b2946999 |
children | 2599b8444831 |
comparison
equal
deleted
inserted
replaced
1948:d10578f7fd40 | 1949:66215baae7b9 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2002 Brian Foley | 2 * Copyright (c) 2002 Brian Foley |
3 * Copyright (c) 2002 Dieter Shirley | 3 * Copyright (c) 2002 Dieter Shirley |
4 * Copyright (c) 2003-2004 Romain Dolbeau <romain@dolbeau.org> | |
4 * | 5 * |
5 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
7 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
43 extern void avg_pixels8_altivec(uint8_t * block, const uint8_t * pixels, int line_size, int h); | 44 extern void avg_pixels8_altivec(uint8_t * block, const uint8_t * pixels, int line_size, int h); |
44 extern void put_pixels8_xy2_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); | 45 extern void put_pixels8_xy2_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); |
45 extern void put_no_rnd_pixels8_xy2_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); | 46 extern void put_no_rnd_pixels8_xy2_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); |
46 extern void put_pixels16_xy2_altivec(uint8_t * block, const uint8_t * pixels, int line_size, int h); | 47 extern void put_pixels16_xy2_altivec(uint8_t * block, const uint8_t * pixels, int line_size, int h); |
47 extern void put_no_rnd_pixels16_xy2_altivec(uint8_t * block, const uint8_t * pixels, int line_size, int h); | 48 extern void put_no_rnd_pixels16_xy2_altivec(uint8_t * block, const uint8_t * pixels, int line_size, int h); |
49 extern int hadamard8_diff8x8_altivec(/*MpegEncContext*/ void *s, uint8_t *dst, uint8_t *src, int stride, int h); | |
48 | 50 |
49 extern void gmc1_altivec(uint8_t *dst, uint8_t *src, int stride, int h, int x16, int y16, int rounder); | 51 extern void gmc1_altivec(uint8_t *dst, uint8_t *src, int stride, int h, int x16, int y16, int rounder); |
50 | 52 |
51 extern int has_altivec(void); | 53 extern int has_altivec(void); |
52 | 54 |