Lines Matching refs:mb_size
62 int result, i, p, tile_size, pic_size_indx, mb_size, blk_size, is_scalable; in decode_gop_header() local
133 mb_size = get_bits1(&ctx->gb); in decode_gop_header()
135 mb_size = blk_size << !mb_size; in decode_gop_header()
142 blk_size_changed = mb_size != band->mb_size || blk_size != band->blk_size; in decode_gop_header()
144 band->mb_size = mb_size; in decode_gop_header()
236 band2->mb_size = band1->mb_size; in decode_gop_header()
461 int row_offset = band->mb_size * band->pitch; in decode_mb_info()
471 if (tile->num_MBs != IVI_MBs_PER_TILE(tile->width, tile->height, band->mb_size)) { in decode_mb_info()
473 tile->num_MBs, IVI_MBs_PER_TILE(tile->width, tile->height, band->mb_size)); in decode_mb_info()
478 mv_scale = (ctx->planes[0].bands[0].mb_size >> 3) - (band->mb_size >> 3); in decode_mb_info()
481 for (y = tile->ypos; y < (tile->ypos + tile->height); y += band->mb_size) { in decode_mb_info()
484 for (x = tile->xpos; x < (tile->xpos + tile->width); x += band->mb_size) { in decode_mb_info()
524 blks_per_mb = band->mb_size != band->blk_size ? 4 : 1; in decode_mb_info()
568 x + ((mb->mv_x+s)>>s) + band->mb_size - 1 in decode_mb_info()
569 + (y+band->mb_size - 1 +((mb->mv_y+s)>>s))*band->pitch > band->bufsize - 1) { in decode_mb_info()
577 mb_offset += band->mb_size; in decode_mb_info()