From 39dba5e8dfd62dbf1f6815ab94d2884ec7c7041c Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 14 Feb 2009 16:05:36 +0000 Subject: [PATCH] whitespace cosmetics: Fix indentation depth. Originally committed as revision 17233 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo_xvmc.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavcodec/mpegvideo_xvmc.c b/libavcodec/mpegvideo_xvmc.c index 7dae46a23b..750900ecb5 100644 --- a/libavcodec/mpegvideo_xvmc.c +++ b/libavcodec/mpegvideo_xvmc.c @@ -48,16 +48,16 @@ void XVMC_init_block(MpegEncContext *s){ } void XVMC_pack_pblocks(MpegEncContext *s, int cbp){ -int i,j; -const int mb_block_count = 4+(1<chroma_format); + int i,j; + const int mb_block_count = 4+(1<chroma_format); j=0; cbp<<= 12-mb_block_count; for(i=0; ipblocks[i] = (short *)(&s->block[(j++)]); + s->pblocks[i] = (short *)(&s->block[(j++)]); }else{ - s->pblocks[i] = NULL; + s->pblocks[i] = NULL; } cbp+=cbp; } @@ -119,11 +119,11 @@ void XVMC_field_end(MpegEncContext *s){ } void XVMC_decode_mb(MpegEncContext *s){ -XvMCMacroBlock * mv_block; -struct xvmc_render_state * render; -int i,cbp,blocks_per_mb; + XvMCMacroBlock * mv_block; + struct xvmc_render_state * render; + int i,cbp,blocks_per_mb; -const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; + const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; if(s->encoding){ @@ -155,7 +155,7 @@ const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; //take the next free macroblock mv_block = &render->mv_blocks[render->start_mv_blocks_num + - render->filled_mv_blocks_num ]; + render->filled_mv_blocks_num ]; mv_block->x = s->mb_x; mv_block->y = s->mb_y; @@ -276,7 +276,7 @@ const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; //copy blocks only if the codec doesn't support pblocks reordering if(s->avctx->xvmc_acceleration == 1){ memcpy(&render->data_blocks[(render->next_free_data_block_num)*64], - s->pblocks[i],sizeof(short)*8*8); + s->pblocks[i],sizeof(short)*8*8); } render->next_free_data_block_num++; }