comparison dv.c @ 8173:471b16105266 libavcodec

Change of indentation
author romansh
date Wed, 19 Nov 2008 01:40:09 +0000
parents ab31736c0f23
children 0d1c9c936a52
comparison
equal deleted inserted replaced
8172:6cd416513c5a 8173:471b16105266
207 207
208 static int dv_init_dynamic_tables(const DVprofile *d) 208 static int dv_init_dynamic_tables(const DVprofile *d)
209 { 209 {
210 int j,i,c,s,p; 210 int j,i,c,s,p;
211 211
212 if (d->work_chunks[dv_work_pool_size(d)-1].buf_offset) 212 if (!d->work_chunks[dv_work_pool_size(d)-1].buf_offset) {
213 return 0; 213 p = i = 0;
214 214 for (c=0; c<d->n_difchan; c++) {
215 p = i = 0; 215 for (s=0; s<d->difseg_size; s++) {
216 for (c=0; c<d->n_difchan; c++) { 216 p += 6;
217 for (s=0; s<d->difseg_size; s++) { 217 for (j=0; j<27; j++) {
218 p += 6; 218 p += !(j%3);
219 for (j=0; j<27; j++) { 219 if (!(DV_PROFILE_IS_1080i50(d) && c != 0 && s == 11) &&
220 p += !(j%3); 220 !(DV_PROFILE_IS_720p50(d) && s > 9)) {
221 if (!(DV_PROFILE_IS_1080i50(d) && c != 0 && s == 11) && 221 dv_calc_mb_coordinates(d, c, s, j, &d->work_chunks[i].mb_coordinates[0]);
222 !(DV_PROFILE_IS_720p50(d) && s > 9)) { 222 d->work_chunks[i++].buf_offset = p;
223 dv_calc_mb_coordinates(d, c, s, j, &d->work_chunks[i].mb_coordinates[0]); 223 }
224 d->work_chunks[i++].buf_offset = p; 224 p += 5;
225 } 225 }
226 p += 5;
227 } 226 }
228 } 227 }
229 } 228 }
230 return 0; 229 return 0;
231 } 230 }