Lines Matching refs:mb_width
38 memset(s->qscale_table, quantizer, s->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;
466 s->mb_width = (avctx->coded_width +15) / 16;
469 if (s->mb_width > 1000 || s->mb_height > 1000) {
475 s->qscale_table = av_realloc(s->qscale_table, s->mb_width);
477 (4*s->mb_width+6) * sizeof(*s->above_blocks));
479 s->mb_width*s->mb_height*sizeof(*s->macroblocks));
554 for (block=0; block<s->mb_height*s->mb_width; block++)
570 for (block=0; block < 4*s->mb_width+6; block++) {
575 s->above_blocks[2*s->mb_width + 2].ref_frame = VP56_FRAME_CURRENT;
576 s->above_blocks[3*s->mb_width + 4].ref_frame = VP56_FRAME_CURRENT;
603 s->above_block_idx[4] = 2*s->mb_width + 2 + 1;
604 s->above_block_idx[5] = 3*s->mb_width + 4 + 1;
613 for (mb_col=0; mb_col<s->mb_width; mb_col++) {