/* Convert region offsets to region sizes and truncate size to big_values.  */
static void ff_region_offset2size(GranuleDef *g)
/* Convert region offsets to region sizes and truncate size to big_values.  */
static void ff_region_offset2size(GranuleDef *g)
{
        k = FFMIN(g->region_size[i], g->big_values);
        g->region_size[i] = k - j;
        j = k;
    }
}