Mercurial > libavcodec.hg
comparison huffyuv.c @ 5129:0244bba24b43 libavcodec
misc typo fixes
author | diego |
---|---|
date | Tue, 12 Jun 2007 18:50:50 +0000 |
parents | cf4a58988e6e |
children | 470601203f44 |
comparison
equal
deleted
inserted
replaced
5128:d98460d07146 | 5129:0244bba24b43 |
---|---|
1167 case LEFT: | 1167 case LEFT: |
1168 case PLANE: | 1168 case PLANE: |
1169 decode_bgr_bitstream(s, width-1); | 1169 decode_bgr_bitstream(s, width-1); |
1170 add_left_prediction_bgr32(p->data[0] + last_line+4, s->temp[0], width-1, &leftr, &leftg, &leftb); | 1170 add_left_prediction_bgr32(p->data[0] + last_line+4, s->temp[0], width-1, &leftr, &leftg, &leftb); |
1171 | 1171 |
1172 for(y=s->height-2; y>=0; y--){ //yes its stored upside down | 1172 for(y=s->height-2; y>=0; y--){ //Yes it is stored upside down. |
1173 decode_bgr_bitstream(s, width); | 1173 decode_bgr_bitstream(s, width); |
1174 | 1174 |
1175 add_left_prediction_bgr32(p->data[0] + p->linesize[0]*y, s->temp[0], width, &leftr, &leftg, &leftb); | 1175 add_left_prediction_bgr32(p->data[0] + p->linesize[0]*y, s->temp[0], width, &leftr, &leftg, &leftb); |
1176 if(s->predictor == PLANE){ | 1176 if(s->predictor == PLANE){ |
1177 if((y&s->interlaced)==0 && y<s->height-1-s->interlaced){ | 1177 if((y&s->interlaced)==0 && y<s->height-1-s->interlaced){ |