Mercurial > libavcodec.hg
comparison ppc/dsputil_altivec.h @ 878:6ea69518e5f7 libavcodec
altivec optimizations patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
author | michaelni |
---|---|
date | Tue, 19 Nov 2002 23:22:29 +0000 |
parents | ace3ccd18dd2 |
children | 2cef5c4c0ca6 |
comparison
equal
deleted
inserted
replaced
877:9d50cf6d6361 | 878:6ea69518e5f7 |
---|---|
14 * | 14 * |
15 * You should have received a copy of the GNU Lesser General Public | 15 * You should have received a copy of the GNU Lesser General Public |
16 * License along with this library; if not, write to the Free Software | 16 * License along with this library; if not, write to the Free Software |
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 */ | 18 */ |
19 | 19 |
20 extern int pix_abs16x16_x2_altivec(uint8_t *pix1, uint8_t *pix2, int line_size); | |
21 extern int pix_abs16x16_y2_altivec(uint8_t *pix1, uint8_t *pix2, int line_size); | |
22 extern int pix_abs16x16_xy2_altivec(uint8_t *pix1, uint8_t *pix2, int line_size); | |
20 extern int pix_abs16x16_altivec(uint8_t *pix1, uint8_t *pix2, int line_size); | 23 extern int pix_abs16x16_altivec(uint8_t *pix1, uint8_t *pix2, int line_size); |
21 extern int pix_abs8x8_altivec(uint8_t *pix1, uint8_t *pix2, int line_size); | 24 extern int pix_abs8x8_altivec(uint8_t *pix1, uint8_t *pix2, int line_size); |
25 extern int pix_norm1_altivec(uint8_t *pix, int line_size); | |
22 extern int pix_sum_altivec(UINT8 * pix, int line_size); | 26 extern int pix_sum_altivec(UINT8 * pix, int line_size); |
23 extern void diff_pixels_altivec(DCTELEM* block, const UINT8* s1, const UINT8* s2, int stride); | 27 extern void diff_pixels_altivec(DCTELEM* block, const UINT8* s1, const UINT8* s2, int stride); |
24 extern void get_pixels_altivec(DCTELEM* block, const UINT8 * pixels, int line_size); | 28 extern void get_pixels_altivec(DCTELEM* block, const UINT8 * pixels, int line_size); |
25 | 29 |
26 extern int has_altivec(void); | 30 extern int has_altivec(void); |