comparison pixdesc.h @ 9325:2cf20144e7cb libavcodec

Reindent after the last patch.
author stefano
date Tue, 31 Mar 2009 22:53:48 +0000
parents f8cc0e2e7740
children f01741cc9471
comparison
equal deleted inserted replaced
9324:f8cc0e2e7740 9325:2cf20144e7cb
116 val= data[1][4*val + c]; 116 val= data[1][4*val + c];
117 skip_bits(&gb, step); 117 skip_bits(&gb, step);
118 *dst++= val; 118 *dst++= val;
119 } 119 }
120 } else { 120 } else {
121 const uint8_t *p = data[plane]+ y*linesize[plane] + x*step + comp.offset_plus1-1; 121 const uint8_t *p = data[plane]+ y*linesize[plane] + x*step + comp.offset_plus1-1;
122 122
123 while(w--){ 123 while(w--){
124 int val; 124 int val;
125 if(flags & PIX_FMT_BE) val= AV_RB16(p); 125 if(flags & PIX_FMT_BE) val= AV_RB16(p);
126 else val= AV_RL16(p); 126 else val= AV_RL16(p);
127 val = (val>>shift) & mask; 127 val = (val>>shift) & mask;
128 if(flags & PIX_FMT_PAL) 128 if(flags & PIX_FMT_PAL)
129 val= data[1][4*val + c]; 129 val= data[1][4*val + c];
130 p+= step; 130 p+= step;
131 *dst++= val; 131 *dst++= val;
132 } 132 }
133 } 133 }
134 } 134 }