Lines Matching full:mb_offset
1540 int mb_offset;
1581 mb_offset = (-xd->mb_to_top_edge/128 + 1) * (xd->mode_info_stride +1) + (-xd->mb_to_left_edge/128 +1) ;
1584 if (cpi->lf_ref_frame[mb_offset] != INTRA_FRAME)
1586 near_mvs[vcnt].as_int = cpi->lfmv[mb_offset].as_int;
1587 mv_bias(cpi->lf_ref_frame_sign_bias[mb_offset], refframe, &near_mvs[vcnt], ref_frame_sign_bias);
1588 near_ref[vcnt] = cpi->lf_ref_frame[mb_offset];
1593 if (cpi->lf_ref_frame[mb_offset - xd->mode_info_stride-1] != INTRA_FRAME)
1595 near_mvs[vcnt].as_int = cpi->lfmv[mb_offset - xd->mode_info_stride-1].as_int;
1596 mv_bias(cpi->lf_ref_frame_sign_bias[mb_offset - xd->mode_info_stride-1], refframe, &near_mvs[vcnt], ref_frame_sign_bias);
1597 near_ref[vcnt] = cpi->lf_ref_frame[mb_offset - xd->mode_info_stride-1];
1602 if (cpi->lf_ref_frame[mb_offset-1] != INTRA_FRAME)
1604 near_mvs[vcnt].as_int = cpi->lfmv[mb_offset -1].as_int;
1605 mv_bias(cpi->lf_ref_frame_sign_bias[mb_offset -1], refframe, &near_mvs[vcnt], ref_frame_sign_bias);
1606 near_ref[vcnt] = cpi->lf_ref_frame[mb_offset - 1];
1611 if (cpi->lf_ref_frame[mb_offset +1] != INTRA_FRAME)
1613 near_mvs[vcnt].as_int = cpi->lfmv[mb_offset +1].as_int;
1614 mv_bias(cpi->lf_ref_frame_sign_bias[mb_offset +1], refframe, &near_mvs[vcnt], ref_frame_sign_bias);
1615 near_ref[vcnt] = cpi->lf_ref_frame[mb_offset +1];
1620 if (cpi->lf_ref_frame[mb_offset + xd->mode_info_stride +1] != INTRA_FRAME)
1622 near_mvs[vcnt].as_int = cpi->lfmv[mb_offset + xd->mode_info_stride +1].as_int;
1623 mv_bias(cpi->lf_ref_frame_sign_bias[mb_offset + xd->mode_info_stride +1], refframe, &near_mvs[vcnt], ref_frame_sign_bias);
1624 near_ref[vcnt] = cpi->lf_ref_frame[mb_offset + xd->mode_info_stride +1];