Mercurial > libavcodec.hg
comparison ppc/dsputil_ppc.c @ 3542:bdbe52f38868 libavcodec
Cleanup
author | lu_zero |
---|---|
date | Thu, 03 Aug 2006 13:00:37 +0000 |
parents | f52e3f60481b |
children | 5f97ba9a4eaa |
comparison
equal
deleted
inserted
replaced
3541:3fbddeb13686 | 3542:bdbe52f38868 |
---|---|
39 int b_h, int src_x, int src_y, | 39 int b_h, int src_x, int src_y, |
40 int src_stride, slice_buffer * sb, | 40 int src_stride, slice_buffer * sb, |
41 int add, uint8_t * dst8); | 41 int add, uint8_t * dst8); |
42 | 42 |
43 void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx); | 43 void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx); |
44 void vc1dsp_init_altivec(DSPContext* c, AVCodecContext *avctx); | |
44 | 45 |
45 #endif | 46 #endif |
46 | 47 |
47 int mm_flags = 0; | 48 int mm_flags = 0; |
48 | 49 |
249 { | 250 { |
250 return 0; | 251 return 0; |
251 } | 252 } |
252 #endif | 253 #endif |
253 | 254 |
254 #ifdef HAVE_ALTIVEC | |
255 void vc1dsp_init_altivec(DSPContext* c, AVCodecContext *avctx); | |
256 #endif | |
257 | |
258 void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx) | 255 void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx) |
259 { | 256 { |
260 // Common optimizations whether Altivec is available or not | 257 // Common optimizations whether Altivec is available or not |
261 | 258 |
262 switch (check_dcbzl_effect()) { | 259 switch (check_dcbzl_effect()) { |