static always_inline int dv_rl2vlc_size(int run, int l)

{

    int level = (l ^ (l >> 8)) - (l >> 8);

    int size;

    

    if (run < DV_VLC_MAP_RUN_SIZE && level < DV_VLC_MAP_LEV_SIZE) {

	size = dv_vlc_map[run][level].size; 

    }

    else { 

	size = (level < DV_VLC_MAP_LEV_SIZE) ? dv_vlc_map[0][level].size : 16;

	if (run) {

	    size += (run < 16) ? dv_vlc_map[run-1][0].size : 13;

	}

    }

    return size;

}

static always_inline int dv_rl2vlc_size(int run, int l)

{

    int level = (l ^ (l >> 8)) - (l >> 8);

    int size;

    

    if (run < DV_VLC_MAP_RUN_SIZE && level < DV_VLC_MAP_LEV_SIZE) {

	size = dv_vlc_map[run][level].size; 

    }

    else { 

	size = (level < DV_VLC_MAP_LEV_SIZE) ? dv_vlc_map[0][level].size : 16;

	if (run) {

	    size += (run < 16) ? dv_vlc_map[run-1][0].size : 13;

	}

    }

    return size;

}

static always_inline int FUNC_0(int run, int l)

{

    int VAR_0 = (l ^ (l >> 8)) - (l >> 8);

    int VAR_1;

    

    if (run < DV_VLC_MAP_RUN_SIZE && VAR_0 < DV_VLC_MAP_LEV_SIZE) {

	VAR_1 = dv_vlc_map[run][VAR_0].VAR_1; 

    }

    else { 

	VAR_1 = (VAR_0 < DV_VLC_MAP_LEV_SIZE) ? dv_vlc_map[0][VAR_0].VAR_1 : 16;

	if (run) {

	    VAR_1 += (run < 16) ? dv_vlc_map[run-1][0].VAR_1 : 13;

	}

    }

    return VAR_1;

}

static always_inline int FUNC_0(int run, int l)
{ int VAR_0 = (l ^ (l >> 8)) - (l >> 8); int VAR_1; if (run < DV_VLC_MAP_RUN_SIZE && VAR_0 < DV_VLC_MAP_LEV_SIZE) { VAR_1 = dv_vlc_map[run][VAR_0].VAR_1; } else { VAR_1 = (VAR_0 < DV_VLC_MAP_LEV_SIZE) ? dv_vlc_map[0][VAR_0].VAR_1 : 16; if (run) { VAR_1 += (run < 16) ? dv_vlc_map[run-1][0].VAR_1 : 13; } } return VAR_1; }