comparison ppc/snow_altivec.c @ 7333:a8a79f5385f6 libavcodec

cosmetics: Reformat PPC code in libavcodec according to style guidelines. This includes indentation changes, comment reformatting, consistent brace placement and some prettyprinting.
author diego
date Sun, 20 Jul 2008 18:58:30 +0000
parents f7cbb7733146
children
comparison
equal deleted inserted replaced
7332:b1003e468c3d 7333:a8a79f5385f6
377 v2=(vector signed int *)b2; 377 v2=(vector signed int *)b2;
378 v3=(vector signed int *)b3; 378 v3=(vector signed int *)b3;
379 v4=(vector signed int *)b4; 379 v4=(vector signed int *)b4;
380 v5=(vector signed int *)b5; 380 v5=(vector signed int *)b5;
381 381
382 for (i=0; i< w4;i++) 382 for (i=0; i< w4;i++) {
383 {
384 383
385 #if 0 384 #if 0
386 b4[i] -= (3*(b3[i] + b5[i])+4)>>3; 385 b4[i] -= (3*(b3[i] + b5[i])+4)>>3;
387 b3[i] -= ((b2[i] + b4[i])); 386 b3[i] -= ((b2[i] + b4[i]));
388 b2[i] += ((b1[i] + b3[i])+4*b2[i]+8)>>4; 387 b2[i] += ((b1[i] + b3[i])+4*b2[i]+8)>>4;
780 779
781 780
782 void snow_init_altivec(DSPContext* c, AVCodecContext *avctx) 781 void snow_init_altivec(DSPContext* c, AVCodecContext *avctx)
783 { 782 {
784 #if 0 783 #if 0
785 c->horizontal_compose97i = ff_snow_horizontal_compose97i_altivec; 784 c->horizontal_compose97i = ff_snow_horizontal_compose97i_altivec;
786 c->vertical_compose97i = ff_snow_vertical_compose97i_altivec; 785 c->vertical_compose97i = ff_snow_vertical_compose97i_altivec;
787 c->inner_add_yblock = ff_snow_inner_add_yblock_altivec; 786 c->inner_add_yblock = ff_snow_inner_add_yblock_altivec;
788 #endif 787 #endif
789 } 788 }