extern inline int get_rl_index(const RLTable *rl, int last, int run, int level)
static inline int get_rl_index(const RLTable *rl, int last, int run, int level)
extern inline int get_rl_index(const RLTable *rl, int last, int run, int level){    int index;    index = rl->index_run[last][run];    if (index >= rl->n)        return rl->n;    if (level > rl->max_level[last][run])        return rl->n;    return index + level - 1;}