Lines Matching refs:i4_mb_y

224     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()
243 ps_entropy->i4_mb_y * ps_codec->u4_size_coeff_data; in ih264e_init_entropy_ctxt()
247 ps_entropy->i4_mb_y * ps_codec->u4_size_header_data; in ih264e_init_entropy_ctxt()
337 pu1_proc_map = ps_proc->pu1_proc_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
340 pu1_entropy_map_curr = ps_entropy->pu1_entropy_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
408 ps_entropy->i4_mb_y++; in ih264e_entropy()
413 ps_entropy->i4_mb_y * ps_codec->u4_size_coeff_data; in ih264e_entropy()
417 ps_entropy->i4_mb_y * ps_codec->u4_size_header_data; in ih264e_entropy()
420 pu1_proc_map = ps_proc->pu1_proc_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
423 pu1_entropy_map_curr = ps_entropy->pu1_entropy_map + ps_entropy->i4_mb_y * i4_wd_mbs; in ih264e_entropy()
426 DEBUG("\nmb indices x, y %d, %d", ps_entropy->i4_mb_x, ps_entropy->i4_mb_y); in ih264e_entropy()
428 ENTROPY_TRACE("mb index y %d", ps_entropy->i4_mb_y); in ih264e_entropy()
885 WORD32 i4_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt() local
905 UWORD8 *pu1_proc_map = ps_proc->pu1_proc_map + (i4_mb_y * i4_wd_mbs); in ih264e_update_proc_ctxt()
996 ps_proc->pu1_is_intra_coded[i4_mb_x + (i4_mb_y * i4_wd_mbs)] = u4_is_intra; in ih264e_update_proc_ctxt()
1007 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()
1037 s_job.i2_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt()
1045 if(ps_proc->i4_mb_y == (i4_ht_mbs - 1)) in ih264e_update_proc_ctxt()
1061 ps_proc->i4_mb_y++; in ih264e_update_proc_ctxt()
1066 …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()
1095 …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()
1102 ps_bs->i4_mb_y = ps_proc->i4_mb_y; in ih264e_update_proc_ctxt()
1149 WORD32 i4_mb_x, i4_mb_y; in ih264e_init_proc_ctxt() local
1182 i4_mb_y = ps_proc->i4_mb_y; in ih264e_init_proc_ctxt()
1193 if (ps_proc->i4_mb_y == ps_proc->i4_ht_mbs - 1) in ih264e_init_proc_ctxt()
1197 …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()
1203 …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()
1209 ps_proc->i4_mb_y == (ps_proc->i4_ht_mbs - 1) || in ih264e_init_proc_ctxt()
1216 …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()
1222 …_proc->pu1_src_buf_chroma_base + (i4_mb_x * MB_SIZE) + i4_src_chroma_strd * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1225 …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()
1226 …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()
1229 …[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()
1230 … 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()
1231 …[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()
1232 … 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()
1245 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()
1252 ps_proc->s_inp_buf.s_raw_buf.au4_strd[0] * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1258 if (ps_proc->i4_mb_y == (ps_proc->i4_ht_mbs - 1)) in ih264e_init_proc_ctxt()
1268 ps_proc->s_inp_buf.s_raw_buf.au4_strd[1] * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1274 if (ps_proc->i4_mb_y == (ps_proc->i4_ht_mbs - 1)) in ih264e_init_proc_ctxt()
1275 num_rows = (ps_codec->s_cfg.u4_disp_ht >> 1) - (ps_proc->i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1290 ps_proc->s_inp_buf.s_raw_buf.au4_strd[0] * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1293 ps_proc->s_inp_buf.s_raw_buf.au4_strd[1] * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1296 ps_proc->s_inp_buf.s_raw_buf.au4_strd[2] * (i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1312 + ps_proc->s_inp_buf.s_raw_buf.au4_strd[0] * (i4_mb_y * MB_SIZE); in ih264e_init_proc_ctxt()
1334 if(ps_proc->i4_mb_y == ps_proc->i4_ht_mbs - 1) in ih264e_init_proc_ctxt()
1347 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()
1358 …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()
1361 …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()
1364 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()
1374 ps_proc->ps_pu = ps_cur_mv_buf->ps_pic_pu + (i4_mb_y * ps_proc->i4_wd_mbs * in ih264e_init_proc_ctxt()
1378 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()
1381 if (i4_mb_y == 0) in ih264e_init_proc_ctxt()
1387 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()
1391 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()
1410 if (i4_mb_y == 0) in ih264e_init_proc_ctxt()
1427 ps_deblk->i4_mb_y = ps_proc->i4_mb_y - 1; in ih264e_init_proc_ctxt()
1430 …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()
1431 …cur_pic_chroma = ps_proc->pu1_rec_buf_chroma_base + i4_rec_strd * (ps_deblk->i4_mb_y * BLK8x8SIZE); in ih264e_init_proc_ctxt()
1436 ps_bs->i4_mb_y = ps_proc->i4_mb_y; in ih264e_init_proc_ctxt()
1440 ps_n_mb_ctxt->i4_mb_y = ps_deblk->i4_mb_y; in ih264e_init_proc_ctxt()
1481 WORD32 i4_mb_y, in ih264e_pad_recon_buffer() argument
1506 if (i4_mb_y == ps_proc->i4_ht_mbs - 1) in ih264e_pad_recon_buffer()
1519 if (i4_mb_y == 0) in ih264e_pad_recon_buffer()
1583 WORD32 i4_mb_y) in ih264e_dblk_pad_hpel_processing_n_mbs() argument
1604 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()
1647 if ((i4_mb_y > 0) || (i4_mb_y == (ps_proc->i4_ht_mbs - 1))) in ih264e_dblk_pad_hpel_processing_n_mbs()
1660 if ((i4_mb_y > 0) && (ps_proc->u4_disable_deblock_level != 1)) in ih264e_dblk_pad_hpel_processing_n_mbs()
1677 if ((u4_deblk_prev_row != 1) && (i4_mb_y > 0)) in ih264e_dblk_pad_hpel_processing_n_mbs()
1688 if (ps_deblk->i4_mb_y > 0) in ih264e_dblk_pad_hpel_processing_n_mbs()
1715 else if(i4_mb_y > 0) in ih264e_dblk_pad_hpel_processing_n_mbs()
1723 if (i4_mb_y == 2) in ih264e_dblk_pad_hpel_processing_n_mbs()
1750 if (ps_proc->i4_mb_y == ps_proc->i4_ht_mbs - 1) in ih264e_dblk_pad_hpel_processing_n_mbs()
1760 ps_n_mb_ctxt->i4_mb_y = ps_proc->i4_mb_y; in ih264e_dblk_pad_hpel_processing_n_mbs()
1762 ps_deblk->i4_mb_y = ps_proc->i4_mb_y; in ih264e_dblk_pad_hpel_processing_n_mbs()
1765 …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()
1984 ps_proc->s_entropy.i4_mb_y = ps_proc->i4_mb_y; in ih264e_process()
2007 WORD32 i4_mb_id = ps_proc->i4_mb_x + ps_proc->i4_mb_y * i4_wd_mbs; in ih264e_process()
2072 if(ps_proc->i4_mb_y > 0) in ih264e_process()
2077 pu1_proc_map_top = ps_proc->pu1_proc_map + ((ps_proc->i4_mb_y - 1) * i4_wd_mbs); in ih264e_process()
2229 UWORD32 i4_mb_y = ps_proc->i4_mb_y; in ih264e_process() local
2240 i4_mb_y); in ih264e_process()
2247 if (ps_proc->i4_ht_mbs == ps_proc->i4_mb_y) in ih264e_process()
2291 DEBUG_HISTOGRAM_DUMP(ps_codec->s_cfg.i4_ht_mbs == ps_proc->i4_mb_y); in ih264e_process()
2510 ps_proc->i4_mb_y = s_job.i2_mb_y; in ih264e_process_thread()
2521 ps_proc->s_entropy.i4_mb_y = s_job.i2_mb_y; in ih264e_process_thread()