Mercurial > libavcodec.hg
changeset 5717:c5ec68f922d8 libavcodec
consistent spelling: plan => plane
author | aurel |
---|---|
date | Tue, 25 Sep 2007 21:01:34 +0000 |
parents | 7577e3036290 |
children | bb4293d858da |
files | vp56.c |
diffstat | 1 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/vp56.c Tue Sep 25 19:22:47 2007 +0000 +++ b/vp56.c Tue Sep 25 21:01:34 2007 +0000 @@ -400,7 +400,7 @@ AVFrame *frame_current, *frame_ref; vp56_mb_t mb_type; vp56_frame_t ref_frame; - int b, ab, b_max, plan, off; + int b, ab, b_max, plane, off; if (s->framep[VP56_FRAME_CURRENT]->key_frame) mb_type = VP56_MB_INTRA; @@ -423,22 +423,22 @@ switch (mb_type) { case VP56_MB_INTRA: for (b=0; b<b_max; b++) { - plan = vp56_b2p[b+ab]; - s->dsp.idct_put(frame_current->data[plan] + s->block_offset[b], - s->stride[plan], s->block_coeff[b]); + plane = vp56_b2p[b+ab]; + s->dsp.idct_put(frame_current->data[plane] + s->block_offset[b], + s->stride[plane], s->block_coeff[b]); } break; case VP56_MB_INTER_NOVEC_PF: case VP56_MB_INTER_NOVEC_GF: for (b=0; b<b_max; b++) { - plan = vp56_b2p[b+ab]; + plane = vp56_b2p[b+ab]; off = s->block_offset[b]; - s->dsp.put_pixels_tab[1][0](frame_current->data[plan] + off, - frame_ref->data[plan] + off, - s->stride[plan], 8); - s->dsp.idct_add(frame_current->data[plan] + off, - s->stride[plan], s->block_coeff[b]); + s->dsp.put_pixels_tab[1][0](frame_current->data[plane] + off, + frame_ref->data[plane] + off, + s->stride[plane], 8); + s->dsp.idct_add(frame_current->data[plane] + off, + s->stride[plane], s->block_coeff[b]); } break; @@ -452,11 +452,11 @@ for (b=0; b<b_max; b++) { int x_off = b==1 || b==3 ? 8 : 0; int y_off = b==2 || b==3 ? 8 : 0; - plan = vp56_b2p[b+ab]; - vp56_mc(s, b, plan, frame_ref->data[plan], s->stride[plan], + plane = vp56_b2p[b+ab]; + vp56_mc(s, b, plane, frame_ref->data[plane], s->stride[plane], 16*col+x_off, 16*row+y_off); - s->dsp.idct_add(frame_current->data[plan] + s->block_offset[b], - s->stride[plan], s->block_coeff[b]); + s->dsp.idct_add(frame_current->data[plane] + s->block_offset[b], + s->stride[plane], s->block_coeff[b]); } break; }