Lines Matching refs:i4_mb_y
225 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()
244 ps_entropy->i4_mb_y * ps_codec->u4_size_coeff_data; in ih264e_init_entropy_ctxt()
248 ps_entropy->i4_mb_y * ps_codec->u4_size_header_data; in ih264e_init_entropy_ctxt()
338 pu1_proc_map = ps_proc->pu1_proc_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
341 pu1_entropy_map_curr = ps_entropy->pu1_entropy_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
409 ps_entropy->i4_mb_y++; in ih264e_entropy()
414 ps_entropy->i4_mb_y * ps_codec->u4_size_coeff_data; in ih264e_entropy()
418 ps_entropy->i4_mb_y * ps_codec->u4_size_header_data; in ih264e_entropy()
421 pu1_proc_map = ps_proc->pu1_proc_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
424 pu1_entropy_map_curr = ps_entropy->pu1_entropy_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
427 DEBUG("\nmb indices x, y %d, %d", ps_entropy->i4_mb_x, ps_entropy->i4_mb_y); in ih264e_entropy()
429 ENTROPY_TRACE("mb index y %d", ps_entropy->i4_mb_y); in ih264e_entropy()
893 WORD32 i4_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt() local
913 UWORD8 *pu1_proc_map = ps_proc->pu1_proc_map + (i4_mb_y * i4_wd_mbs); in ih264e_update_proc_ctxt()
1004 ps_proc->pu1_is_intra_coded[i4_mb_x + (i4_mb_y * i4_wd_mbs)] = u4_is_intra; in ih264e_update_proc_ctxt()
1015 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()
1045 s_job.i2_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt()
1053 if(ps_proc->i4_mb_y == (i4_ht_mbs - 1)) in ih264e_update_proc_ctxt()
1069 ps_proc->i4_mb_y++; in ih264e_update_proc_ctxt()
1074 …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()
1103 …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()
1110 ps_bs->i4_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt()
1157 WORD32 i4_mb_x, i4_mb_y; in ih264e_init_proc_ctxt() local
1190 i4_mb_y = ps_proc->i4_mb_y; in ih264e_init_proc_ctxt()
1201 if (ps_proc->i4_mb_y == ps_proc->i4_ht_mbs - 1) in ih264e_init_proc_ctxt()
1205 …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()
1211 …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()
1217 ps_proc->i4_mb_y == (ps_proc->i4_ht_mbs - 1) || in ih264e_init_proc_ctxt()
1224 …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()
1230 …_proc->pu1_src_buf_chroma_base + (i4_mb_x * MB_SIZE) + i4_src_chroma_strd * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1233 …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()
1234 …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()
1237 …[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()
1238 … 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()
1239 …[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()
1240 … 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()
1253 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()
1260 ps_proc->s_inp_buf.s_raw_buf.au4_strd[0] * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1266 if (ps_proc->i4_mb_y == (ps_proc->i4_ht_mbs - 1)) in ih264e_init_proc_ctxt()
1276 ps_proc->s_inp_buf.s_raw_buf.au4_strd[1] * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1282 if (ps_proc->i4_mb_y == (ps_proc->i4_ht_mbs - 1)) in ih264e_init_proc_ctxt()
1283 num_rows = (ps_codec->s_cfg.u4_disp_ht >> 1) - (ps_proc->i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1298 ps_proc->s_inp_buf.s_raw_buf.au4_strd[0] * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1301 ps_proc->s_inp_buf.s_raw_buf.au4_strd[1] * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1304 ps_proc->s_inp_buf.s_raw_buf.au4_strd[2] * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1320 + ps_proc->s_inp_buf.s_raw_buf.au4_strd[0] * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1342 if(ps_proc->i4_mb_y == ps_proc->i4_ht_mbs - 1) in ih264e_init_proc_ctxt()
1355 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()
1366 …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()
1369 …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()
1372 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()
1382 ps_proc->ps_pu = ps_cur_mv_buf->ps_pic_pu + (i4_mb_y * ps_proc->i4_wd_mbs * in ih264e_init_proc_ctxt()
1386 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()
1389 if (i4_mb_y == 0) in ih264e_init_proc_ctxt()
1395 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()
1399 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()
1418 if (i4_mb_y == 0) in ih264e_init_proc_ctxt()
1435 ps_deblk->i4_mb_y = ps_proc->i4_mb_y - 1; in ih264e_init_proc_ctxt()
1438 …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()
1439 …cur_pic_chroma = ps_proc->pu1_rec_buf_chroma_base + i4_rec_strd * (ps_deblk->i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1444 ps_bs->i4_mb_y = ps_proc->i4_mb_y; in ih264e_init_proc_ctxt()
1448 ps_n_mb_ctxt->i4_mb_y = ps_deblk->i4_mb_y; in ih264e_init_proc_ctxt()
1489 WORD32 i4_mb_y, in ih264e_pad_recon_buffer() argument
1514 if (i4_mb_y == ps_proc->i4_ht_mbs - 1) in ih264e_pad_recon_buffer()
1527 if (i4_mb_y == 0) in ih264e_pad_recon_buffer()
1591 WORD32 i4_mb_y) in ih264e_dblk_pad_hpel_processing_n_mbs() argument
1612 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()
1655 if ((i4_mb_y > 0) || (i4_mb_y == (ps_proc->i4_ht_mbs - 1))) in ih264e_dblk_pad_hpel_processing_n_mbs()
1668 if ((i4_mb_y > 0) && (ps_proc->u4_disable_deblock_level != 1)) in ih264e_dblk_pad_hpel_processing_n_mbs()
1685 if ((u4_deblk_prev_row != 1) && (i4_mb_y > 0)) in ih264e_dblk_pad_hpel_processing_n_mbs()
1696 if (ps_deblk->i4_mb_y > 0) in ih264e_dblk_pad_hpel_processing_n_mbs()
1723 else if(i4_mb_y > 0) in ih264e_dblk_pad_hpel_processing_n_mbs()
1731 if (i4_mb_y == 2) in ih264e_dblk_pad_hpel_processing_n_mbs()
1758 if (ps_proc->i4_mb_y == ps_proc->i4_ht_mbs - 1) in ih264e_dblk_pad_hpel_processing_n_mbs()
1768 ps_n_mb_ctxt->i4_mb_y = ps_proc->i4_mb_y; in ih264e_dblk_pad_hpel_processing_n_mbs()
1770 ps_deblk->i4_mb_y = ps_proc->i4_mb_y; in ih264e_dblk_pad_hpel_processing_n_mbs()
1773 …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()
1992 ps_proc->s_entropy.i4_mb_y = ps_proc->i4_mb_y; in ih264e_process()
2015 WORD32 i4_mb_id = ps_proc->i4_mb_x + ps_proc->i4_mb_y * i4_wd_mbs; in ih264e_process()
2080 if(ps_proc->i4_mb_y > 0) in ih264e_process()
2085 pu1_proc_map_top = ps_proc->pu1_proc_map + ((ps_proc->i4_mb_y - 1) * i4_wd_mbs); in ih264e_process()
2237 UWORD32 i4_mb_y = ps_proc->i4_mb_y; in ih264e_process() local
2248 i4_mb_y); in ih264e_process()
2255 if (ps_proc->i4_ht_mbs == ps_proc->i4_mb_y) in ih264e_process()
2299 DEBUG_HISTOGRAM_DUMP(ps_codec->s_cfg.i4_ht_mbs == ps_proc->i4_mb_y); in ih264e_process()
2518 ps_proc->i4_mb_y = s_job.i2_mb_y; in ih264e_process_thread()
2529 ps_proc->s_entropy.i4_mb_y = s_job.i2_mb_y; in ih264e_process_thread()