Mercurial > libavcodec.hg
comparison ppc/dsputil_ppc.c @ 4838:eeac11145c4e libavcodec
ssd_int8_vs_int16_altivec, not completely benchmarkedwith svq1
author | lu_zero |
---|---|
date | Tue, 10 Apr 2007 09:47:37 +0000 |
parents | 891590781d9e |
children | d5ba514e3f4a |
comparison
equal
deleted
inserted
replaced
4837:79e3bf8af72c | 4838:eeac11145c4e |
---|---|
37 | 37 |
38 void dsputil_init_altivec(DSPContext* c, AVCodecContext *avctx); | 38 void dsputil_init_altivec(DSPContext* c, AVCodecContext *avctx); |
39 void vc1dsp_init_altivec(DSPContext* c, AVCodecContext *avctx); | 39 void vc1dsp_init_altivec(DSPContext* c, AVCodecContext *avctx); |
40 void snow_init_altivec(DSPContext* c, AVCodecContext *avctx); | 40 void snow_init_altivec(DSPContext* c, AVCodecContext *avctx); |
41 void float_init_altivec(DSPContext* c, AVCodecContext *avctx); | 41 void float_init_altivec(DSPContext* c, AVCodecContext *avctx); |
42 void int_init_altivec(DSPContext* c, AVCodecContext *avctx); | |
42 | 43 |
43 #endif | 44 #endif |
44 | 45 |
45 int mm_flags = 0; | 46 int mm_flags = 0; |
46 | 47 |
282 dsputil_init_altivec(c, avctx); | 283 dsputil_init_altivec(c, avctx); |
283 if(ENABLE_SNOW_DECODER) snow_init_altivec(c, avctx); | 284 if(ENABLE_SNOW_DECODER) snow_init_altivec(c, avctx); |
284 if(ENABLE_VC1_DECODER || ENABLE_WMV3_DECODER) | 285 if(ENABLE_VC1_DECODER || ENABLE_WMV3_DECODER) |
285 vc1dsp_init_altivec(c, avctx); | 286 vc1dsp_init_altivec(c, avctx); |
286 float_init_altivec(c, avctx); | 287 float_init_altivec(c, avctx); |
288 int_init_altivec(c, avctx); | |
287 c->gmc1 = gmc1_altivec; | 289 c->gmc1 = gmc1_altivec; |
288 | 290 |
289 #ifdef CONFIG_ENCODERS | 291 #ifdef CONFIG_ENCODERS |
290 if (avctx->dct_algo == FF_DCT_AUTO || | 292 if (avctx->dct_algo == FF_DCT_AUTO || |
291 avctx->dct_algo == FF_DCT_ALTIVEC) | 293 avctx->dct_algo == FF_DCT_ALTIVEC) |