Mercurial > libavcodec.hg
comparison ppc/dsputil_altivec.h @ 11382:50415a8f1451 libavcodec
PPC: move prototypes to headers and make some functions static
author | mru |
---|---|
date | Sat, 06 Mar 2010 22:37:14 +0000 |
parents | cf4d575b1982 |
children | 06abedae2906 |
comparison
equal
deleted
inserted
replaced
11381:f5ccf2e590d6 | 11382:50415a8f1451 |
---|---|
22 | 22 |
23 #ifndef AVCODEC_PPC_DSPUTIL_ALTIVEC_H | 23 #ifndef AVCODEC_PPC_DSPUTIL_ALTIVEC_H |
24 #define AVCODEC_PPC_DSPUTIL_ALTIVEC_H | 24 #define AVCODEC_PPC_DSPUTIL_ALTIVEC_H |
25 | 25 |
26 #include <stdint.h> | 26 #include <stdint.h> |
27 | 27 #include "libavcodec/dsputil.h" |
28 int has_altivec(void); | |
29 | 28 |
30 void put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); | 29 void put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); |
31 | 30 |
32 void avg_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); | 31 void avg_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); |
33 | 32 |
33 int has_altivec(void); | |
34 | |
35 void fdct_altivec(int16_t *block); | |
36 void gmc1_altivec(uint8_t *dst, uint8_t *src, int stride, int h, | |
37 int x16, int y16, int rounder); | |
38 void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block); | |
39 void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); | |
40 | |
41 void ff_vp3_idct_altivec(DCTELEM *block); | |
42 void ff_vp3_idct_put_altivec(uint8_t *dest, int line_size, DCTELEM *block); | |
43 void ff_vp3_idct_add_altivec(uint8_t *dest, int line_size, DCTELEM *block); | |
44 | |
45 void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx); | |
46 | |
47 void dsputil_init_altivec(DSPContext* c, AVCodecContext *avctx); | |
48 void vc1dsp_init_altivec(DSPContext* c, AVCodecContext *avctx); | |
49 void float_init_altivec(DSPContext* c, AVCodecContext *avctx); | |
50 void int_init_altivec(DSPContext* c, AVCodecContext *avctx); | |
51 | |
34 #endif /* AVCODEC_PPC_DSPUTIL_ALTIVEC_H */ | 52 #endif /* AVCODEC_PPC_DSPUTIL_ALTIVEC_H */ |