|
|
@ -182,11 +182,11 @@ int ff_dv_init_dynamic_tables(DVVideoContext *ctx, const DVprofile *d) |
|
|
|
const int *iweight1, *iweight2; |
|
|
|
const int *iweight1, *iweight2; |
|
|
|
|
|
|
|
|
|
|
|
p = i = 0; |
|
|
|
p = i = 0; |
|
|
|
for (c=0; c<d->n_difchan; c++) { |
|
|
|
for (c = 0; c < d->n_difchan; c++) { |
|
|
|
for (s=0; s<d->difseg_size; s++) { |
|
|
|
for (s = 0; s < d->difseg_size; s++) { |
|
|
|
p += 6; |
|
|
|
p += 6; |
|
|
|
for (j=0; j<27; j++) { |
|
|
|
for (j = 0; j < 27; j++) { |
|
|
|
p += !(j%3); |
|
|
|
p += !(j % 3); |
|
|
|
if (!(DV_PROFILE_IS_1080i50(d) && c != 0 && s == 11) && |
|
|
|
if (!(DV_PROFILE_IS_1080i50(d) && c != 0 && s == 11) && |
|
|
|
!(DV_PROFILE_IS_720p50(d) && s > 9)) { |
|
|
|
!(DV_PROFILE_IS_720p50(d) && s > 9)) { |
|
|
|
dv_calc_mb_coordinates(d, c, s, j, &ctx->work_chunks[i].mb_coordinates[0]); |
|
|
|
dv_calc_mb_coordinates(d, c, s, j, &ctx->work_chunks[i].mb_coordinates[0]); |
|
|
|