Lines Matching refs:mb_width
52 if (mvp.x < 0 || mvp.x >= s->mb_width ||
55 offset = mvp.x + s->mb_width*mvp.y;
196 s->macroblocks[row * s->mb_width + col].mv = s->mv[3];
214 s->macroblocks[row * s->mb_width + col].type = s->mb_type;
255 s->macroblocks[row*s->mb_width + col].mv = *mv;
470 s->mb_width = (avctx->coded_width +15) / 16;
473 if (s->mb_width > 1000 || s->mb_height > 1000) {
479 av_reallocp_array(&s->above_blocks, 4*s->mb_width+6,
481 av_reallocp_array(&s->macroblocks, s->mb_width*s->mb_height,
595 for (block=0; block<s->mb_height*s->mb_width; block++)
611 for (block=0; block < 4*s->mb_width+6; block++) {
616 s->above_blocks[2*s->mb_width + 2].ref_frame = VP56_FRAME_CURRENT;
617 s->above_blocks[3*s->mb_width + 4].ref_frame = VP56_FRAME_CURRENT;
644 s->above_block_idx[4] = 2*s->mb_width + 2 + 1;
645 s->above_block_idx[5] = 3*s->mb_width + 4 + 1;
654 for (mb_col=0; mb_col<s->mb_width; mb_col++) {