/* save predictors for later macroblocks and increase macroblock address  */
int ff_cavs_next_mb(AVSContext *h)
/* save predictors for later macroblocks and increase macroblock address  */
int ff_cavs_next_mb(AVSContext *h)
{
        h->flags = B_AVAIL|C_AVAIL;
        h->pred_mode_Y[3] = h->pred_mode_Y[6] = NOT_AVAIL;
        for(i=0;i<=20;i+=4)
            h->mv[i] = ff_cavs_un_mv;
        h->mbx = 0;
        h->mby++;
        h->cy = h->picture.data[0] + h->mby*16*h->l_stride;
        h->cu = h->picture.data[1] + h->mby*8*h->c_stride;
        h->cv = h->picture.data[2] + h->mby*8*h->c_stride;
        if(h->mby == h->mb_height) {
            return 0;
        }
    }
    return 1;
}