Lines Matching refs:mb_height
413 src_y = av_clip( src_y, -16, s->mb_height * 16);
415 uvsrc_y = av_clip(uvsrc_y, -8, s->mb_height * 8);
666 src_y = av_clip(src_y, -16, s->mb_height * 16);
865 uvsrc_y = av_clip(uvsrc_y, -8, s->mb_height * 8);
1118 if ((edges&8) && s->mb_y == (s->mb_height - 1)) \
1604 Y = (s->mb_height << 6) - 4;
1935 src_y = av_clip( src_y, -16, s->mb_height * 16);
1937 uvsrc_y = av_clip(uvsrc_y, -8, s->mb_height * 8);
2144 s->mv[0][0][1] = av_clip(s->mv[0][0][1], -60 - (s->mb_y << 6), (s->mb_height << 6) - 4 - (s->mb_y << 6));
2146 s->mv[1][0][1] = av_clip(s->mv[1][0][1], -60 - (s->mb_y << 6), (s->mb_height << 6) - 4 - (s->mb_y << 6));
2183 Y = (s->mb_height << 5) - 4;
2192 Y = (s->mb_height << 6) - 4;
2262 Y = (s->mb_height << 5) - 4;
2271 Y = (s->mb_height << 6) - 4;
4907 /* This is intentionally mb_height and not end_mb_y - unlike in advanced
4909 ff_er_add_slice(&s->er, 0, 0, s->mb_width - 1, s->mb_height - 1, ER_MB_END);
5530 int mb_height = FFALIGN(s->mb_height, 2);
5533 v->mv_type_mb_plane = av_malloc (s->mb_stride * mb_height);
5534 v->direct_mb_plane = av_malloc (s->mb_stride * mb_height);
5535 v->forward_mb_plane = av_malloc (s->mb_stride * mb_height);
5536 v->fieldtx_plane = av_mallocz(s->mb_stride * mb_height);
5537 v->acpred_plane = av_malloc (s->mb_stride * mb_height);
5538 v->over_flags_plane = av_malloc (s->mb_stride * mb_height);
5552 v->mb_type_base = av_malloc(s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_height + 1) * 2);
5554 v->mb_type[1] = v->mb_type_base + s->b8_stride * (mb_height * 2 + 1) + s->mb_stride + 1;
5555 v->mb_type[2] = v->mb_type[1] + s->mb_stride * (mb_height + 1);
5558 v->blk_mv_type_base = av_mallocz( s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_height + 1) * 2);
5560 v->mv_f_base = av_mallocz(2 * (s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_height + 1) * 2));
5562 v->mv_f[1] = v->mv_f[0] + (s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_height + 1) * 2);
5563 v->mv_f_next_base = av_mallocz(2 * (s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_height + 1) * 2));
5565 v->mv_f_next[1] = v->mv_f_next[0] + (s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_height + 1) * 2);
5569 // if (alloc_bitplane(&v->over_flags_plane, s->mb_width, s->mb_height) < 0)
5571 // if (alloc_bitplane(&v->ac_pred_plane, s->mb_width, s->mb_height) < 0)
5735 s->mb_height = (avctx->coded_height + 15) >> 4;
5814 int mb_height, n_slices1=-1;
5888 slices[n_slices].mby_start = s->mb_height + 1 >> 1;
5939 slices[n_slices].mby_start = s->mb_height + 1 >> 1;
6016 if ((s->mb_height >> v->field_mode) == 0) {
6125 mb_height = s->mb_height >> v->field_mode;
6127 av_assert0 (mb_height > 0);
6130 if (i > 0 && slices[i - 1].mby_start >= mb_height) {
6134 slices[i - 1].mby_start, mb_height);
6138 av_assert0((s->mb_height & 1) == 0);
6139 v->blocks_off = s->b8_stride * (s->mb_height&~1);
6140 v->mb_off = s->mb_stride * s->mb_height >> 1;
6167 s->start_mb_y = (i == 0) ? 0 : FFMAX(0, slices[i-1].mby_start % mb_height);
6169 s->end_mb_y = (i == n_slices ) ? mb_height : FFMIN(mb_height, slices[i].mby_start % mb_height);
6175 s->end_mb_y = (i <= n_slices1 + 1) ? mb_height : FFMIN(mb_height, slices[i].mby_start % mb_height);