Lines Matching refs:mb_size
209 ctx->planes[p].bands[i].mb_size = !p ? (!ctx->is_scalable ? 16 : 8) : 4; in decode_pic_hdr()
313 band->mb_size = 16 >> indx; in decode_band_hdr()
475 int row_offset = band->mb_size * band->pitch; in decode_mb_info()
481 blks_per_mb = band->mb_size != band->blk_size ? 4 : 1; in decode_mb_info()
485 mv_scale = (ctx->planes[0].bands[0].mb_size >> 3) - (band->mb_size >> 3); in decode_mb_info()
488 …if (((tile->width + band->mb_size-1)/band->mb_size) * ((tile->height + band->mb_size-1)/band->mb_s… in decode_mb_info()
489 …_ERROR, "num_MBs mismatch %d %d %d %d\n", tile->width, tile->height, band->mb_size, tile->num_MBs); in decode_mb_info()
493 for (y = tile->ypos; y < tile->ypos + tile->height; y += band->mb_size) { in decode_mb_info()
496 for (x = tile->xpos; x < tile->xpos + tile->width; x += band->mb_size) { in decode_mb_info()
609 x + ((mb->mv_x+s)>>s) + band->mb_size - 1 in decode_mb_info()
610 + (y+band->mb_size - 1 +((mb->mv_y+s)>>s))*band->pitch > band->bufsize -1) { in decode_mb_info()
618 mb_offset += band->mb_size; in decode_mb_info()