Lines Matching refs:mb_height
297 const int big_mb_num = s->mb_stride * (s->mb_height + 1) + 1;
301 const int mb_array_size = s->mb_stride * s->mb_height;
302 const int b8_array_size = s->b8_stride * s->mb_height * 2;
303 const int b4_array_size = s->b4_stride * s->mb_height * 4;
417 int y_size = s->b8_stride * (2 * s->mb_height + 1);
418 int c_size = s->mb_stride * (s->mb_height + 1);
669 s->mb_height = (s->height + 31) / 32 * 2;
671 s->mb_height = (s->height + 15) / 16;
679 if (nb_slices > MAX_THREADS || (nb_slices > s->mb_height && s->mb_height)) {
681 if (s->mb_height)
682 max_slices = FFMIN(MAX_THREADS, s->mb_height);
704 mb_array_size = s->mb_height * s->mb_stride;
705 mv_table_size = (s->mb_height + 2) * s->mb_stride + 1;
714 s->v_edge_pos = s->mb_height * 16;
716 s->mb_num = s->mb_width * s->mb_height;
725 y_size = s->b8_stride * (2 * s->mb_height + 1);
726 c_size = s->mb_stride * (s->mb_height + 1);
738 for (y = 0; y < s->mb_height; y++)
742 s->mb_index2xy[s->mb_height * s->mb_width] =
743 (s->mb_height - 1) * s->mb_stride + s->mb_width; // FIXME really needed?
881 2 * EDGE_WIDTH) * s->mb_height * 16 + 2 * EDGE_WIDTH);
883 2 * EDGE_WIDTH) * s->mb_height * 16 + 2 * EDGE_WIDTH);
885 2 * EDGE_WIDTH) * s->mb_height * 16 + 2 * EDGE_WIDTH);
903 (s->mb_height * (i) + nb_slices / 2) / nb_slices;
905 (s->mb_height * (i + 1) + nb_slices / 2) / nb_slices;
911 s->end_mb_y = s->mb_height;
1542 for (y = 0; y < s->mb_height; y++) {
1634 for (mb_y = 0; mb_y < s->mb_height; mb_y++) {
2208 return FFMIN(FFMAX(s->mb_y + off, 0), s->mb_height-1);
2210 return s->mb_height-1;
2612 s->block_index[4]= s->mb_stride*(s->mb_y + 1) + s->b8_stride*s->mb_height*2 + s->mb_x - 1;
2613 s->block_index[5]= s->mb_stride*(s->mb_y + s->mb_height + 2) + s->b8_stride*s->mb_height*2 + s->mb_x - 1;