Lines Matching refs:i4_mb_y
228 ps_entropy->i4_mb_start_add = ps_entropy->i4_mb_y * ps_entropy->i4_wd_mbs + ps_entropy->i4_mb_x; in ih264e_init_entropy_ctxt()
247 ps_entropy->i4_mb_y * ps_codec->u4_size_coeff_data; in ih264e_init_entropy_ctxt()
251 ps_entropy->i4_mb_y * ps_codec->u4_size_header_data; in ih264e_init_entropy_ctxt()
344 pu1_proc_map = ps_proc->pu1_proc_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
347 pu1_entropy_map_curr = ps_entropy->pu1_entropy_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
458 ps_entropy->i4_mb_y++; in ih264e_entropy()
463 ps_entropy->i4_mb_y * ps_codec->u4_size_coeff_data; in ih264e_entropy()
467 ps_entropy->i4_mb_y * ps_codec->u4_size_header_data; in ih264e_entropy()
470 pu1_proc_map = ps_proc->pu1_proc_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
473 pu1_entropy_map_curr = ps_entropy->pu1_entropy_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
476 DEBUG("\nmb indices x, y %d, %d", ps_entropy->i4_mb_x, ps_entropy->i4_mb_y); in ih264e_entropy()
478 ENTROPY_TRACE("mb index y %d", ps_entropy->i4_mb_y); in ih264e_entropy()
953 WORD32 i4_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt() local
973 UWORD8 *pu1_proc_map = ps_proc->pu1_proc_map + (i4_mb_y * i4_wd_mbs); in ih264e_update_proc_ctxt()
1064 ps_proc->pu1_is_intra_coded[i4_mb_x + (i4_mb_y * i4_wd_mbs)] = u4_is_intra; in ih264e_update_proc_ctxt()
1075 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; in ih264e_update_proc_ctxt()
1105 s_job.i2_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt()
1116 if(ps_proc->i4_mb_y == (i4_ht_mbs - 1)) in ih264e_update_proc_ctxt()
1132 ps_proc->i4_mb_y++; in ih264e_update_proc_ctxt()
1137 …ps_proc->i4_cur_slice_idx = ps_proc->pu1_slice_idx[ps_proc->i4_mb_y * i4_wd_mbs + ps_proc->i4_mb_x… in ih264e_update_proc_ctxt()
1166 …ps_proc->ps_colpu += *(ps_proc->aps_mv_buf[1]->pu4_mb_pu_cnt + (i4_mb_y * ps_proc->i4_wd_mbs) + i… in ih264e_update_proc_ctxt()
1173 ps_bs->i4_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt()
1220 WORD32 i4_mb_x, i4_mb_y; in ih264e_init_proc_ctxt() local
1253 i4_mb_y = ps_proc->i4_mb_y; in ih264e_init_proc_ctxt()
1263 ps_proc->i4_mb_y == (ps_proc->i4_ht_mbs - 1)) in ih264e_init_proc_ctxt()
1265 if (ps_proc->i4_mb_y == ps_proc->i4_ht_mbs - 1) in ih264e_init_proc_ctxt()
1269 …roc->pu1_src_buf_luma_base + (i4_mb_x * MB_SIZE) + ps_codec->s_cfg.u4_max_wd * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1275 …uf_luma = ps_proc->pu1_src_buf_luma_base + (i4_mb_x * MB_SIZE) + i4_src_strd * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1281 ps_proc->i4_mb_y == (ps_proc->i4_ht_mbs - 1) || in ih264e_init_proc_ctxt()
1288 …pu1_src_buf_chroma_base + (i4_mb_x * MB_SIZE) + ps_codec->s_cfg.u4_max_wd * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1294 …_proc->pu1_src_buf_chroma_base + (i4_mb_x * MB_SIZE) + i4_src_chroma_strd * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1297 …uf_luma = ps_proc->pu1_rec_buf_luma_base + (i4_mb_x * MB_SIZE) + i4_rec_strd * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1298 …ma = ps_proc->pu1_rec_buf_chroma_base + (i4_mb_x * MB_SIZE) + i4_rec_strd * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1301 …[0] = ps_proc->apu1_ref_buf_luma_base[0] + (i4_mb_x * MB_SIZE) + i4_rec_strd * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1302 … ps_proc->apu1_ref_buf_chroma_base[0] + (i4_mb_x * MB_SIZE) + i4_rec_strd * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1303 …[1] = ps_proc->apu1_ref_buf_luma_base[1] + (i4_mb_x * MB_SIZE) + i4_rec_strd * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1304 … ps_proc->apu1_ref_buf_chroma_base[1] + (i4_mb_x * MB_SIZE) + i4_rec_strd * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1317 if (ps_proc->i4_mb_y == (ps_proc->i4_ht_mbs - 1) || u4_pad_bottom_sz || u4_pad_right_sz) in ih264e_init_proc_ctxt()
1324 ps_proc->s_inp_buf.s_raw_buf.au4_strd[0] * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1328 if (ps_proc->i4_mb_y == (ps_proc->i4_ht_mbs - 1)) in ih264e_init_proc_ctxt()
1337 ps_proc->s_inp_buf.s_raw_buf.au4_strd[1] * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1343 if (ps_proc->i4_mb_y == (ps_proc->i4_ht_mbs - 1)) in ih264e_init_proc_ctxt()
1344 num_rows = (ps_codec->s_cfg.u4_disp_ht >> 1) - (ps_proc->i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1359 ps_proc->s_inp_buf.s_raw_buf.au4_strd[0] * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1362 ps_proc->s_inp_buf.s_raw_buf.au4_strd[1] * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1365 ps_proc->s_inp_buf.s_raw_buf.au4_strd[2] * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1381 + ps_proc->s_inp_buf.s_raw_buf.au4_strd[0] * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1403 if(ps_proc->i4_mb_y == ps_proc->i4_ht_mbs - 1) in ih264e_init_proc_ctxt()
1415 if (ps_proc->i4_mb_y && ps_proc->i4_mb_y == ps_proc->i4_ht_mbs - 1) { in ih264e_init_proc_ctxt()
1417 ps_proc->s_inp_buf.s_raw_buf.au4_strd[0] * (i4_mb_y * MB_SIZE) - in ih264e_init_proc_ctxt()
1428 if (u4_pad_bottom_sz && (ps_proc->i4_mb_y == ps_proc->i4_ht_mbs - 1) && ps_proc->i4_mb_x == 0) in ih264e_init_proc_ctxt()
1439 …ps_proc->pv_mb_coeff_data = ((UWORD8 *)ps_proc->pv_pic_mb_coeff_data) + i4_mb_y * ps_codec->u4_siz… in ih264e_init_proc_ctxt()
1442 …ps_proc->pv_mb_header_data = ((UWORD8 *)ps_proc->pv_pic_mb_header_data) + i4_mb_y * ps_codec->u4_s… in ih264e_init_proc_ctxt()
1445 ps_proc->i4_cur_slice_idx = ps_proc->pu1_slice_idx[i4_mb_y * ps_proc->i4_wd_mbs + i4_mb_x]; in ih264e_init_proc_ctxt()
1455 ps_proc->ps_pu = ps_cur_mv_buf->ps_pic_pu + (i4_mb_y * ps_proc->i4_wd_mbs * in ih264e_init_proc_ctxt()
1459 ps_proc->ps_colpu = ps_proc->aps_mv_buf[1]->ps_pic_pu + (i4_mb_y * ps_proc->i4_wd_mbs * in ih264e_init_proc_ctxt()
1462 if (i4_mb_y == 0) in ih264e_init_proc_ctxt()
1468 ps_proc->ps_top_row_pu_ME = ps_cur_mv_buf->ps_pic_pu + ((i4_mb_y - 1) * ps_proc->i4_wd_mbs * in ih264e_init_proc_ctxt()
1472 ps_proc->pu4_mb_pu_cnt = ps_cur_mv_buf->pu4_mb_pu_cnt + (i4_mb_y * ps_proc->i4_wd_mbs); in ih264e_init_proc_ctxt()
1491 if (i4_mb_y == 0) in ih264e_init_proc_ctxt()
1508 ps_deblk->i4_mb_y = ps_proc->i4_mb_y - 1; in ih264e_init_proc_ctxt()
1511 …ps_deblk->pu1_cur_pic_luma = ps_proc->pu1_rec_buf_luma_base + i4_rec_strd * (ps_deblk->i4_mb_y * M… in ih264e_init_proc_ctxt()
1512 …cur_pic_chroma = ps_proc->pu1_rec_buf_chroma_base + i4_rec_strd * (ps_deblk->i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1517 ps_bs->i4_mb_y = ps_proc->i4_mb_y; in ih264e_init_proc_ctxt()
1521 ps_n_mb_ctxt->i4_mb_y = ps_deblk->i4_mb_y; in ih264e_init_proc_ctxt()
1562 WORD32 i4_mb_y, in ih264e_pad_recon_buffer() argument
1587 if (i4_mb_y == ps_proc->i4_ht_mbs - 1) in ih264e_pad_recon_buffer()
1600 if (i4_mb_y == 0) in ih264e_pad_recon_buffer()
1664 WORD32 i4_mb_y) in ih264e_dblk_pad_hpel_processing_n_mbs() argument
1685 UWORD8 *pu1_deblk_map = ps_proc->pu1_deblk_map + ps_deblk->i4_mb_y * ps_proc->i4_wd_mbs; in ih264e_dblk_pad_hpel_processing_n_mbs()
1728 if ((i4_mb_y > 0) || (i4_mb_y == (ps_proc->i4_ht_mbs - 1))) in ih264e_dblk_pad_hpel_processing_n_mbs()
1741 if ((i4_mb_y > 0) && (ps_proc->u4_disable_deblock_level != 1)) in ih264e_dblk_pad_hpel_processing_n_mbs()
1758 if ((u4_deblk_prev_row != 1) && (i4_mb_y > 0)) in ih264e_dblk_pad_hpel_processing_n_mbs()
1769 if (ps_deblk->i4_mb_y > 0) in ih264e_dblk_pad_hpel_processing_n_mbs()
1796 else if(i4_mb_y > 0) in ih264e_dblk_pad_hpel_processing_n_mbs()
1804 if (i4_mb_y == 2) in ih264e_dblk_pad_hpel_processing_n_mbs()
1831 if (ps_proc->i4_mb_y == ps_proc->i4_ht_mbs - 1) in ih264e_dblk_pad_hpel_processing_n_mbs()
1841 ps_n_mb_ctxt->i4_mb_y = ps_proc->i4_mb_y; in ih264e_dblk_pad_hpel_processing_n_mbs()
1843 ps_deblk->i4_mb_y = ps_proc->i4_mb_y; in ih264e_dblk_pad_hpel_processing_n_mbs()
1846 …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… in ih264e_dblk_pad_hpel_processing_n_mbs()
2065 ps_proc->s_entropy.i4_mb_y = ps_proc->i4_mb_y; in ih264e_process()
2088 WORD32 i4_mb_id = ps_proc->i4_mb_x + ps_proc->i4_mb_y * i4_wd_mbs; in ih264e_process()
2153 if(ps_proc->i4_mb_y > 0) in ih264e_process()
2158 pu1_proc_map_top = ps_proc->pu1_proc_map + ((ps_proc->i4_mb_y - 1) * i4_wd_mbs); in ih264e_process()
2310 UWORD32 i4_mb_y = ps_proc->i4_mb_y; in ih264e_process() local
2321 i4_mb_y); in ih264e_process()
2331 if (ps_proc->i4_ht_mbs == ps_proc->i4_mb_y) in ih264e_process()
2383 DEBUG_HISTOGRAM_DUMP(ps_codec->s_cfg.i4_ht_mbs == ps_proc->i4_mb_y); in ih264e_process()
2603 ps_proc->i4_mb_y = s_job.i2_mb_y; in ih264e_process_thread()
2619 ps_proc->s_entropy.i4_mb_y = s_job.i2_mb_y; in ih264e_process_thread()