static inline void decode_residual_inter(AVSContext *h) {

    int block;



    /* get coded block pattern */

    h->cbp = cbp_tab[get_ue_golomb(&h->s.gb)][1];

    /* get quantizer */

    if(h->cbp && !h->qp_fixed)

        h->qp += get_se_golomb(&h->s.gb);

    for(block=0;block<4;block++)

        if(h->cbp & (1<<block))

            decode_residual_block(h,&h->s.gb,inter_2dvlc,0,h->qp,

                                  h->cy + h->luma_scan[block], h->l_stride);

    decode_residual_chroma(h);

}

static inline void decode_residual_inter(AVSContext *h) {

    int block;



    

    h->cbp = cbp_tab[get_ue_golomb(&h->s.gb)][1];

    

    if(h->cbp && !h->qp_fixed)

        h->qp += get_se_golomb(&h->s.gb);

    for(block=0;block<4;block++)

        if(h->cbp & (1<<block))

            decode_residual_block(h,&h->s.gb,inter_2dvlc,0,h->qp,

                                  h->cy + h->luma_scan[block], h->l_stride);

    decode_residual_chroma(h);

}

static inline void FUNC_0(AVSContext *VAR_0) {

    int VAR_1;



    

    VAR_0->cbp = cbp_tab[get_ue_golomb(&VAR_0->s.gb)][1];

    

    if(VAR_0->cbp && !VAR_0->qp_fixed)

        VAR_0->qp += get_se_golomb(&VAR_0->s.gb);

    for(VAR_1=0;VAR_1<4;VAR_1++)

        if(VAR_0->cbp & (1<<VAR_1))

            decode_residual_block(VAR_0,&VAR_0->s.gb,inter_2dvlc,0,VAR_0->qp,

                                  VAR_0->cy + VAR_0->luma_scan[VAR_1], VAR_0->l_stride);

    decode_residual_chroma(VAR_0);

}

static inline void FUNC_0(AVSContext *VAR_0) { int VAR_1; VAR_0->cbp = cbp_tab[get_ue_golomb(&VAR_0->s.gb)][1]; if(VAR_0->cbp && !VAR_0->qp_fixed)
VAR_0->qp += get_se_golomb(&VAR_0->s.gb); for(VAR_1=0;VAR_1<4;VAR_1++) if(VAR_0->cbp & (1<<VAR_1))
decode_residual_block(VAR_0,&VAR_0->s.gb,inter_2dvlc,0,VAR_0->qp,
VAR_0->cy + VAR_0->luma_scan[VAR_1], VAR_0->l_stride); decode_residual_chroma(VAR_0); }