Lines Matching defs:i4_mb_x
225 ps_entropy->i4_mb_start_add = ps_entropy->i4_mb_y * ps_entropy->i4_wd_mbs + ps_entropy->i4_mb_x;
240 if (ps_entropy->i4_mb_x == 0)
407 if (ps_entropy->i4_mb_x == i4_wd_mbs)
410 ps_entropy->i4_mb_x = 0;
427 DEBUG("\nmb indices x, y %d, %d", ps_entropy->i4_mb_x, ps_entropy->i4_mb_y);
428 ENTROPY_TRACE("mb index x %d", ps_entropy->i4_mb_x);
438 WORD32 idx = ps_entropy->i4_mb_x;
453 pu1_entropy_map_curr[ps_entropy->i4_mb_x] = 1;
456 ps_entropy->i4_mb_x++;
460 if (ps_entropy->i4_mb_x < i4_wd_mbs)
466 if (ps_entropy->i4_mb_x == i4_wd_mbs)
885 WORD32 i4_mb_x = ps_proc->i4_mb_x;
890 mb_info_t *ps_top_syn = ps_proc->ps_top_row_mb_syntax_ele + i4_mb_x;
915 enc_pu_t *ps_top_row_pu = ps_proc->ps_top_row_pu + i4_mb_x;
924 UWORD8 *pu1_top_mb_intra_modes = ps_proc->pu1_top_mb_intra_modes + (i4_mb_x << 4);
997 ps_proc->pu1_is_intra_coded[i4_mb_x + (i4_mb_y * i4_wd_mbs)] = u4_is_intra;
1008 ps_proc->s_deblk_ctxt.s_bs_ctxt.pu1_pic_qp[(i4_mb_y * i4_wd_mbs) + i4_mb_x] = ps_proc->u4_mb_qp;
1023 if (i4_mb_x == i4_wd_mbs - 1)
1051 pu1_proc_map[i4_mb_x] = 1;
1057 i4_mb_x ++;
1058 ps_proc->i4_mb_x = i4_mb_x;
1060 if (ps_proc->i4_mb_x == i4_wd_mbs)
1063 ps_proc->i4_mb_x = 0;
1067 ps_proc->i4_cur_slice_idx = ps_proc->pu1_slice_idx[ps_proc->i4_mb_y * i4_wd_mbs + ps_proc->i4_mb_x];
1096 ps_proc->ps_colpu += *(ps_proc->aps_mv_buf[1]->pu4_mb_pu_cnt + (i4_mb_y * ps_proc->i4_wd_mbs) + i4_mb_x);
1102 ps_bs->i4_mb_x = ps_proc->i4_mb_x;
1106 ps_deblk->i4_mb_x ++;
1150 WORD32 i4_mb_x, i4_mb_y;
1182 i4_mb_x = ps_proc->i4_mb_x;
1198 ps_proc->pu1_src_buf_luma = ps_proc->pu1_src_buf_luma_base + (i4_mb_x * MB_SIZE) + ps_codec->s_cfg.u4_max_wd * (i4_mb_y * MB_SIZE);
1204 ps_proc->pu1_src_buf_luma = ps_proc->pu1_src_buf_luma_base + (i4_mb_x * MB_SIZE) + i4_src_strd * (i4_mb_y * MB_SIZE);
1217 ps_proc->pu1_src_buf_chroma = ps_proc->pu1_src_buf_chroma_base + (i4_mb_x * MB_SIZE) + ps_codec->s_cfg.u4_max_wd * (i4_mb_y * BLK8x8SIZE);
1223 ps_proc->pu1_src_buf_chroma = ps_proc->pu1_src_buf_chroma_base + (i4_mb_x * MB_SIZE) + i4_src_chroma_strd * (i4_mb_y * BLK8x8SIZE);
1226 ps_proc->pu1_rec_buf_luma = ps_proc->pu1_rec_buf_luma_base + (i4_mb_x * MB_SIZE) + i4_rec_strd * (i4_mb_y * MB_SIZE);
1227 ps_proc->pu1_rec_buf_chroma = ps_proc->pu1_rec_buf_chroma_base + (i4_mb_x * MB_SIZE) + i4_rec_strd * (i4_mb_y * BLK8x8SIZE);
1230 ps_proc->apu1_ref_buf_luma[0] = ps_proc->apu1_ref_buf_luma_base[0] + (i4_mb_x * MB_SIZE) + i4_rec_strd * (i4_mb_y * MB_SIZE);
1231 ps_proc->apu1_ref_buf_chroma[0] = ps_proc->apu1_ref_buf_chroma_base[0] + (i4_mb_x * MB_SIZE) + i4_rec_strd * (i4_mb_y * BLK8x8SIZE);
1232 ps_proc->apu1_ref_buf_luma[1] = ps_proc->apu1_ref_buf_luma_base[1] + (i4_mb_x * MB_SIZE) + i4_rec_strd * (i4_mb_y * MB_SIZE);
1233 ps_proc->apu1_ref_buf_chroma[1] = ps_proc->apu1_ref_buf_chroma_base[1] + (i4_mb_x * MB_SIZE) + i4_rec_strd * (i4_mb_y * BLK8x8SIZE);
1252 pu1_src = (UWORD8 *)ps_proc->s_inp_buf.s_raw_buf.apv_bufs[0] + (i4_mb_x * MB_SIZE) +
1268 pu1_src = (UWORD8 *)ps_proc->s_inp_buf.s_raw_buf.apv_bufs[1] + (i4_mb_x * BLK8x8SIZE) +
1290 pu1_y_buf_base = (UWORD8 *)ps_proc->s_inp_buf.s_raw_buf.apv_bufs[0] + (i4_mb_x * MB_SIZE) +
1293 pu1_u_buf_base = (UWORD8 *)ps_proc->s_inp_buf.s_raw_buf.apv_bufs[1] + (i4_mb_x * BLK8x8SIZE) +
1296 pu1_v_buf_base = (UWORD8 *)ps_proc->s_inp_buf.s_raw_buf.apv_bufs[2] + (i4_mb_x * BLK8x8SIZE) +
1312 pu1_y_buf_base = (UWORD8 *)ps_proc->s_inp_buf.s_raw_buf.apv_bufs[0] + (i4_mb_x * MB_SIZE * 2)
1329 if (u4_pad_right_sz && (ps_proc->i4_mb_x == 0))
1348 if (u4_pad_bottom_sz && (ps_proc->i4_mb_y == ps_proc->i4_ht_mbs - 1) && ps_proc->i4_mb_x == 0)
1365 ps_proc->i4_cur_slice_idx = ps_proc->pu1_slice_idx[i4_mb_y * ps_proc->i4_wd_mbs + i4_mb_x];
1403 if (i4_mb_x == 0)
1423 ps_deblk->i4_mb_x = ps_proc->i4_mb_x;
1436 ps_bs->i4_mb_x = ps_proc->i4_mb_x;
1440 ps_n_mb_ctxt->i4_mb_x = 0;
1463 * @param[in] i4_mb_x
1481 WORD32 i4_mb_x,
1491 if (i4_mb_x == 0)
1499 if (i4_mb_x == ps_proc->i4_wd_mbs - 1)
1526 if (i4_mb_x == 0)
1533 if (i4_mb_x == ps_proc->i4_wd_mbs - 1)
1568 * @param[in] i4_mb_x
1583 WORD32 i4_mb_x,
1629 if (i4_mb_x == 0)
1638 if (i4_mb_x == (ps_proc->i4_wd_mbs - 1))
1652 if ( ((i4_mb_x - (ps_n_mb_ctxt->i4_mb_x - 1)) < i4_n_mbs) && (i4_mb_x < (ps_proc->i4_wd_mbs - 1)) )
1658 i4_n_mb_process_count = MIN(i4_mb_x - (ps_n_mb_ctxt->i4_mb_x - 1), i4_n_mbs);
1668 u4_deblk_prev_row &= pu1_deblk_map_prev_row[ps_deblk->i4_mb_x + col];
1672 if ((ps_deblk->i4_mb_x + i4_n_mb_process_count) != ps_proc->i4_wd_mbs)
1674 u4_deblk_prev_row &= pu1_deblk_map_prev_row[ps_deblk->i4_mb_x + i4_n_mb_process_count];
1687 pu1_deblk_map[ps_deblk->i4_mb_x] = 1;
1691 if (ps_deblk->i4_mb_x == 0)/* If left most MB is processed, then pad left*/
1700 if (ps_deblk->i4_mb_x == (ps_proc->i4_wd_mbs - 1))/*last column*/
1709 ps_deblk->i4_mb_x++;
1718 ps_deblk->i4_mb_x += i4_n_mb_process_count;
1727 u4_pad_top = ps_n_mb_ctxt->i4_mb_x * MB_SIZE;
1729 if (ps_n_mb_ctxt->i4_mb_x == 0)
1735 if (i4_mb_x == ps_proc->i4_wd_mbs - 1)
1747 ps_n_mb_ctxt->i4_mb_x += i4_n_mb_process_count;
1749 if (i4_mb_x == ps_proc->i4_wd_mbs - 1)
1760 ps_n_mb_ctxt->i4_mb_x = 0;
1762 ps_deblk->i4_mb_x = 0;
1766 ps_proc->s_deblk_ctxt.s_bs_ctxt.pu1_pic_qp[(i4_mb_y * ps_proc->i4_wd_mbs) + i4_mb_x] = ps_proc->u4_mb_qp;
1778 pu1_deblk_map[ps_deblk->i4_mb_x] = 1;
1780 ps_deblk->i4_mb_x++;
1783 ps_n_mb_ctxt->i4_mb_x++;
1791 pu1_deblk_map[ps_deblk->i4_mb_x] = 1;
1793 ps_deblk->i4_mb_x++;
1796 ps_n_mb_ctxt->i4_mb_x++;
1984 ps_proc->s_entropy.i4_mb_x = ps_proc->i4_mb_x;
1986 ps_proc->s_entropy.i4_mb_cnt = MIN(ps_proc->i4_nmb_ntrpy, i4_wd_mbs - ps_proc->i4_mb_x);
2008 WORD32 i4_mb_id = ps_proc->i4_mb_x + ps_proc->i4_mb_y * i4_wd_mbs;
2018 if (ps_proc->i4_mb_x % ps_proc->u4_nmb_me == 0)
2021 i4_wd_mbs - ps_proc->i4_mb_x));
2026 UWORD32 u4_mb_index = ps_proc->i4_mb_x % ps_proc->u4_nmb_me ;
2105 i4_distortion[1] = ps_proc->ps_top_row_mb_syntax_ele[ps_proc->i4_mb_x].i4_mb_distortion;
2107 i4_distortion[2] = ps_proc->ps_top_row_mb_syntax_ele[ps_proc->i4_mb_x + 1].i4_mb_distortion;
2229 UWORD32 i4_mb_x = ps_proc->i4_mb_x;
2240 pu1_cur_pic_chroma, i4_mb_x,
2510 ps_proc->i4_mb_x = s_job.i2_mb_x;
2521 ps_proc->s_entropy.i4_mb_x = s_job.i2_mb_x;