comparison snow.c @ 5409:13d52b7647a0 libavcodec

Ahem, fix typos overlooked in last commit.
author diego
date Sat, 28 Jul 2007 12:50:28 +0000
parents 20bea6a9950c
children 7eb8c2e68f01
comparison
equal deleted inserted replaced
5408:20bea6a9950c 5409:13d52b7647a0
2518 void ff_snow_inner_add_yblock(const uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h, 2518 void ff_snow_inner_add_yblock(const uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h,
2519 int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8){ 2519 int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8){
2520 int y, x; 2520 int y, x;
2521 DWTELEM * dst; 2521 DWTELEM * dst;
2522 for(y=0; y<b_h; y++){ 2522 for(y=0; y<b_h; y++){
2523 //FIXME ugly misue of obmc_stride 2523 //FIXME ugly misuse of obmc_stride
2524 const uint8_t *obmc1= obmc + y*obmc_stride; 2524 const uint8_t *obmc1= obmc + y*obmc_stride;
2525 const uint8_t *obmc2= obmc1+ (obmc_stride>>1); 2525 const uint8_t *obmc2= obmc1+ (obmc_stride>>1);
2526 const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1); 2526 const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1);
2527 const uint8_t *obmc4= obmc3+ (obmc_stride>>1); 2527 const uint8_t *obmc4= obmc3+ (obmc_stride>>1);
2528 dst = slice_buffer_get_line(sb, src_y + y); 2528 dst = slice_buffer_get_line(sb, src_y + y);
2678 2678
2679 s->dsp.inner_add_yblock(obmc, obmc_stride, block, b_w, b_h, src_x,src_y, src_stride, sb, add, dst8); 2679 s->dsp.inner_add_yblock(obmc, obmc_stride, block, b_w, b_h, src_x,src_y, src_stride, sb, add, dst8);
2680 STOP_TIMER("inner_add_yblock") 2680 STOP_TIMER("inner_add_yblock")
2681 }else 2681 }else
2682 for(y=0; y<b_h; y++){ 2682 for(y=0; y<b_h; y++){
2683 //FIXME ugly misue of obmc_stride 2683 //FIXME ugly misuse of obmc_stride
2684 const uint8_t *obmc1= obmc + y*obmc_stride; 2684 const uint8_t *obmc1= obmc + y*obmc_stride;
2685 const uint8_t *obmc2= obmc1+ (obmc_stride>>1); 2685 const uint8_t *obmc2= obmc1+ (obmc_stride>>1);
2686 const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1); 2686 const uint8_t *obmc3= obmc1+ obmc_stride*(obmc_stride>>1);
2687 const uint8_t *obmc4= obmc3+ (obmc_stride>>1); 2687 const uint8_t *obmc4= obmc3+ (obmc_stride>>1);
2688 for(x=0; x<b_w; x++){ 2688 for(x=0; x<b_w; x++){