Lines Matching refs:tile_shift
78 int tile_shift; member
574 mvi_reset(&c->mvi, c->pmb_width, c->pmb_height, 1 << c->tile_shift); in clv_decode_frame()
584 int16_t x = plane == 0 ? i << c->tile_shift : i << (c->tile_shift - 1); in clv_decode_frame()
585 int16_t y = plane == 0 ? j << c->tile_shift : j << (c->tile_shift - 1); in clv_decode_frame()
586 int16_t size = plane == 0 ? 1 << c->tile_shift : 1 << (c->tile_shift - 1); in clv_decode_frame()
595 int x = i << c->tile_shift; in clv_decode_frame()
596 int y = j << c->tile_shift; in clv_decode_frame()
597 int size = 1 << c->tile_shift; in clv_decode_frame()
608 x = i << (c->tile_shift - 1); in clv_decode_frame()
609 y = j << (c->tile_shift - 1); in clv_decode_frame()
610 size = 1 << (c->tile_shift - 1); in clv_decode_frame()
724 c->tile_shift = av_log2(c->tile_size); in clv_decode_init()
725 if (1U << c->tile_shift != c->tile_size || c->tile_shift < 1 || c->tile_shift > 30) { in clv_decode_init()
733 ret = ff_set_dimensions(avctx, FFALIGN(w, 1 << c->tile_shift), FFALIGN(h, 1 << c->tile_shift)); in clv_decode_init()
742 c->pmb_width = (w + c->tile_size - 1) >> c->tile_shift; in clv_decode_init()
743 c->pmb_height = (h + c->tile_size - 1) >> c->tile_shift; in clv_decode_init()