[FFmpeg-soc] [soc]: r861 - dirac/libavcodec/dirac.c
marco
subversion at mplayerhq.hu
Thu Aug 16 14:46:14 CEST 2007
Author: marco
Date: Thu Aug 16 14:46:14 2007
New Revision: 861
Log:
Fix indentation
Modified:
dirac/libavcodec/dirac.c
Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c (original)
+++ dirac/libavcodec/dirac.c Thu Aug 16 14:46:14 2007
@@ -1095,10 +1095,14 @@ static void dirac_unpack_prediction_para
/* Setup the blen and bsep parameters for the chroma
component. */
- s->frame_decoding.chroma_xblen = s->frame_decoding.luma_xblen >> s->chroma_hshift;
- s->frame_decoding.chroma_yblen = s->frame_decoding.luma_yblen >> s->chroma_vshift;
- s->frame_decoding.chroma_xbsep = s->frame_decoding.luma_xbsep >> s->chroma_hshift;
- s->frame_decoding.chroma_ybsep = s->frame_decoding.luma_ybsep >> s->chroma_vshift;
+ s->frame_decoding.chroma_xblen = (s->frame_decoding.luma_xblen
+ >> s->chroma_hshift);
+ s->frame_decoding.chroma_yblen = (s->frame_decoding.luma_yblen
+ >> s->chroma_vshift);
+ s->frame_decoding.chroma_xbsep = (s->frame_decoding.luma_xbsep
+ >> s->chroma_hshift);
+ s->frame_decoding.chroma_ybsep = (s->frame_decoding.luma_ybsep
+ >> s->chroma_vshift);
/* Override motion vector precision. */
if (get_bits1(gb))
@@ -2286,10 +2290,10 @@ static void motion_comp_block2refs(Dirac
vect2[1] = currblock->vect[1][1];
if (comp != 0) {
- vect1[0] >>= s->chroma_hshift;
- vect2[0] >>= s->chroma_hshift;
- vect1[1] >>= s->chroma_vshift;
- vect2[1] >>= s->chroma_vshift;
+ vect1[0] >>= s->chroma_hshift;
+ vect2[0] >>= s->chroma_hshift;
+ vect1[1] >>= s->chroma_vshift;
+ vect2[1] >>= s->chroma_vshift;
}
line = &coeffs[s->width * ystart];
@@ -2362,8 +2366,8 @@ static void motion_comp_block1ref(DiracC
vect[1] = currblock->vect[ref][1];
if (comp != 0) {
- vect[0] >>= s->chroma_hshift;
- vect[1] >>= s->chroma_vshift;
+ vect[0] >>= s->chroma_hshift;
+ vect[1] >>= s->chroma_vshift;
}
line = &coeffs[s->width * ystart];
More information about the FFmpeg-soc
mailing list