diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-02-14 19:14:46 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-02-14 19:14:46 +0000 |
commit | d15876d3bd8dd8558f7afbf2c93f3350c576eced (patch) | |
tree | 1966e73c355e7f7fc0d3a387c16fbef3e3d3a265 | |
parent | 788aa94a9dc5fd290e1454dc76081641a2fddd6b (diff) | |
download | ffmpeg-d15876d3bd8dd8558f7afbf2c93f3350c576eced.tar.gz |
whitespace cosmetics: Correctly indent all comments.
Originally committed as revision 17265 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mpegvideo_xvmc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libavcodec/mpegvideo_xvmc.c b/libavcodec/mpegvideo_xvmc.c index c8a055f768..baf192f957 100644 --- a/libavcodec/mpegvideo_xvmc.c +++ b/libavcodec/mpegvideo_xvmc.c @@ -76,7 +76,7 @@ int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx) render->picture_structure = s->picture_structure; render->flags = s->first_field ? 0 : XVMC_SECOND_FIELD; -//make sure that all data is drawn by XVMC_end_frame + //make sure that all data is drawn by XVMC_end_frame assert(render->filled_mv_blocks_num == 0); render->p_future_surface = NULL; @@ -131,7 +131,7 @@ void ff_xvmc_decode_mb(MpegEncContext *s) return; } - //from MPV_decode_mb(), + //from MPV_decode_mb(), /* update DC predictors for P macroblocks */ if (!s->mb_intra) { s->last_dc[0] = @@ -139,15 +139,15 @@ void ff_xvmc_decode_mb(MpegEncContext *s) s->last_dc[2] = 128 << s->intra_dc_precision; } - //MC doesn't skip blocks + //MC doesn't skip blocks s->mb_skipped = 0; - // Do I need to export quant when I could not perform postprocessing? - // Anyway, it doesn't hurt. + // Do I need to export quant when I could not perform postprocessing? + // Anyway, it doesn't hurt. s->current_picture.qscale_table[mb_xy] = s->qscale; -//START OF XVMC specific code + //START OF XVMC specific code render = (struct xvmc_render_state*)s->current_picture.data[2]; assert(render); assert(render->magic==AV_XVMC_RENDER_MAGIC); @@ -224,7 +224,7 @@ void ff_xvmc_decode_mb(MpegEncContext *s) mv_block->motion_vertical_field_select = 0; -//set correct field references + //set correct field references if (s->mv_type == MV_TYPE_FIELD || s->mv_type == MV_TYPE_16X8) { mv_block->motion_vertical_field_select |= s->field_select[0][0]; mv_block->motion_vertical_field_select |= s->field_select[1][0]<<1; @@ -232,7 +232,7 @@ void ff_xvmc_decode_mb(MpegEncContext *s) mv_block->motion_vertical_field_select |= s->field_select[1][1]<<3; } }//!intra -//time to handle data blocks; + //time to handle data blocks; mv_block->index = render->next_free_data_block_num; blocks_per_mb = 6; @@ -240,7 +240,7 @@ void ff_xvmc_decode_mb(MpegEncContext *s) blocks_per_mb = 4 + (1 << s->chroma_format); } -// calculate cbp + // calculate cbp cbp = 0; for (i = 0; i < blocks_per_mb; i++) { cbp += cbp; @@ -275,7 +275,7 @@ void ff_xvmc_decode_mb(MpegEncContext *s) range [-255;255]. TODO cliping if such hardware is ever found. As of now it would only be unnecessery slowdown. */ } -//copy blocks only if the codec doesn't support pblocks reordering + //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); |