Lines Matching refs:ps_tile
111 tile_t *ps_tile = ps_proc->ps_tile; in ihevcd_proc_map_check() local
137 idx = MIN(x_pos, (ps_tile->u2_wd - 1)); in ihevcd_proc_map_check()
141 idx += ps_tile->u1_pos_x; in ihevcd_proc_map_check()
157 x_pos = ps_tile->u1_pos_x + ps_proc->i4_ctb_tile_x - 1; in ihevcd_proc_map_check()
166 x_pos = ps_tile->u1_pos_x + ps_proc->i4_ctb_tile_x - 1; in ihevcd_proc_map_check()
247 tile_t *ps_tile = ps_proc->ps_tile; in ihevcd_ctb_pos_update() local
260 tile_start_ctb_idx = ps_tile->u1_pos_x + (ps_tile->u1_pos_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_pos_update()
273 if(ps_proc->i4_ctb_slice_x >= (ps_tile->u2_wd + ps_tile->u1_pos_x)) in ihevcd_ctb_pos_update()
277 - ps_tile->u2_wd; in ihevcd_ctb_pos_update()
283 if(ps_proc->i4_ctb_slice_x >= (temp_stride + ps_tile->u2_wd + ps_tile->u1_pos_x)) in ihevcd_ctb_pos_update()
287 - ps_tile->u2_wd; in ihevcd_ctb_pos_update()
292 else if(ps_proc->i4_ctb_slice_x >= (ps_tile->u2_wd)) in ihevcd_ctb_pos_update()
301 if(ps_proc->i4_ctb_slice_x >= ps_tile->u2_wd) in ihevcd_ctb_pos_update()
305 - ps_tile->u2_wd; in ihevcd_ctb_pos_update()
315 tile_t *ps_tile = ps_proc->ps_tile; in ihevcd_ctb_avail_update() local
323 if((0 != ps_tile->u1_pos_x) && (0 != ps_tile->u1_pos_y)) in ihevcd_ctb_avail_update()
325 ps_tile_prev = ps_tile - 1; in ihevcd_ctb_avail_update()
329 ps_tile_prev = ps_tile; in ihevcd_ctb_avail_update()
334 …wd >= ps_sps->i2_pic_wd_in_ctb) && (check_tile_wd % ps_sps->i2_pic_wd_in_ctb == ps_tile->u1_pos_x)) in ihevcd_ctb_avail_update()
335 || ((ps_slice_hdr->i2_ctb_x == ps_tile->u1_pos_x)))) in ihevcd_ctb_avail_update()
341 tile_start_ctb_idx = ps_tile->u1_pos_x + (ps_tile->u1_pos_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_avail_update()
350 i2_wd_in_ctb = ps_tile->u2_wd; in ihevcd_ctb_avail_update()
405 …if((ps_proc->i4_ctb_x == (ps_sps->i2_pic_wd_in_ctb - 1)) || ((ps_tile->u2_wd - 1) == ps_proc->i4_c… in ihevcd_ctb_avail_update()
415 if(ps_tile->u2_wd == (ps_proc->i4_ctb_tile_x + 1)) in ihevcd_ctb_avail_update()
417 if((ps_proc->i4_ctb_tile_y + 1) == ps_tile->u2_ht) in ihevcd_ctb_avail_update()
420 …(((ps_proc->i4_ctb_tile_y + 1 + ps_tile->u1_pos_y) == ps_sps->i2_pic_ht_in_ctb) && ((ps_proc->i4_c… in ihevcd_ctb_avail_update()
426 tile_t *ps_tile_next = ps_proc->ps_tile + 1; in ihevcd_ctb_avail_update()
432 …next_ctb_idx = ((ps_tile->u1_pos_y + ps_proc->i4_ctb_tile_y + 1) * ps_sps->i2_pic_wd_in_ctb) + ps_… in ihevcd_ctb_avail_update()
455 tile_t *ps_tile; in ihevcd_update_ctb_tu_cnt() local
457 ps_tile = ps_proc->ps_tile; in ihevcd_update_ctb_tu_cnt()
463 if(ps_tile->u2_wd == (ps_proc->i4_ctb_tile_x + 1)) in ihevcd_update_ctb_tu_cnt()
465 if((ps_proc->i4_ctb_tile_y + 1) == ps_tile->u2_ht) in ihevcd_update_ctb_tu_cnt()
468 …(((ps_proc->i4_ctb_tile_y + 1 + ps_tile->u1_pos_y) == ps_sps->i2_pic_ht_in_ctb) && ((ps_proc->i4_c… in ihevcd_update_ctb_tu_cnt()
474 tile_t *ps_tile_next = ps_proc->ps_tile + 1; in ihevcd_update_ctb_tu_cnt()
480 …next_ctb_tu_idx = ((ps_tile->u1_pos_y + ps_proc->i4_ctb_tile_y + 1) * ps_sps->i2_pic_wd_in_ctb) + … in ihevcd_update_ctb_tu_cnt()
489 if(ps_tile->u2_wd == (ps_proc->i4_ctb_tile_x + 1)) in ihevcd_update_ctb_tu_cnt()
491 if((ps_proc->i4_ctb_tile_y + 1) == ps_tile->u2_ht) in ihevcd_update_ctb_tu_cnt()
494 …(((ps_proc->i4_ctb_tile_y + 1 + ps_tile->u1_pos_y) == ps_sps->i2_pic_ht_in_ctb) && ((ps_proc->i4_c… in ihevcd_update_ctb_tu_cnt()
500 tile_t *ps_tile_next = ps_proc->ps_tile + 1; in ihevcd_update_ctb_tu_cnt()
506 …next_ctb_tu_idx = ((ps_tile->u1_pos_y + ps_proc->i4_ctb_tile_y + 1) * ps_sps->i2_pic_wd_in_ctb) + … in ihevcd_update_ctb_tu_cnt()
543 nctb = MIN(nctb, (ps_proc->ps_tile->u2_wd - ps_proc->i4_ctb_tile_x)); in ihevcd_process()
583 tile_t *ps_tile = ps_proc->ps_tile; in ihevcd_process() local
678 s_mv_ctxt.ps_tile = ps_tile; in ihevcd_process()
812 ps_proc->s_bs_ctxt.ps_tile = ps_proc->ps_tile; in ihevcd_process()
1133 ps_proc->s_sao_ctxt.ps_tile = ps_proc->ps_tile; in ihevcd_process()
1315 tile_t *ps_tile; in ihevcd_process() local
1317 ps_tile = ps_proc->ps_tile; in ihevcd_process()
1327 if(ps_proc->i4_ctb_tile_x >= (ps_tile->u2_wd)) in ihevcd_process()
1331 ps_proc->i4_ctb_x = ps_tile->u1_pos_x; in ihevcd_process()
1335 if(ps_proc->i4_ctb_tile_y == ps_tile->u2_ht) in ihevcd_process()
1340 ps_proc->ps_tile++; in ihevcd_process()
1342 …if(!((ps_tile->u2_ht + ps_tile->u1_pos_y == ps_sps->i2_pic_ht_in_ctb) && (ps_tile->u2_wd + ps_ti… in ihevcd_process()
1344 ps_tile = ps_proc->ps_tile; in ihevcd_process()
1345 ps_proc->i4_ctb_x = ps_tile->u1_pos_x; in ihevcd_process()
1346 ps_proc->i4_ctb_y = ps_tile->u1_pos_y; in ihevcd_process()
1365 tile_t *ps_tile, *ps_tile_prev; in ihevcd_init_proc_ctxt() local
1396 ps_proc->ps_tile = ps_pps->ps_tile + tile_idx; in ihevcd_init_proc_ctxt()
1398 ps_tile = ps_proc->ps_tile; in ihevcd_init_proc_ctxt()
1403 ps_tile_prev = ps_tile - 1; in ihevcd_init_proc_ctxt()
1405 ps_tile_prev = ps_tile; in ihevcd_init_proc_ctxt()
1408 tile_start_ctb_idx = ps_tile->u1_pos_x + (ps_tile->u1_pos_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_init_proc_ctxt()
1414 …if(((ps_slice_hdr->i2_ctb_x == ps_tile->u1_pos_x) && (ps_slice_hdr->i2_ctb_y != ps_tile->u1_pos_y)… in ihevcd_init_proc_ctxt()
1421 …wd >= ps_sps->i2_pic_wd_in_ctb) && (check_tile_wd % ps_sps->i2_pic_wd_in_ctb == ps_tile->u1_pos_x)) in ihevcd_init_proc_ctxt()
1422 || ((ps_slice_hdr->i2_ctb_x == ps_tile->u1_pos_x)))) in ihevcd_init_proc_ctxt()
1453 i4_wd_in_ctb = ps_tile->u2_wd; in ihevcd_init_proc_ctxt()
1463 ps_proc->i4_ctb_slice_x = ps_proc->i4_ctb_x - ps_tile->u1_pos_x; in ihevcd_init_proc_ctxt()
1482 ps_proc->i4_ctb_slice_y = ps_tile->u1_pos_y - i2_independent_ctb_y; in ihevcd_init_proc_ctxt()
1490 if(i2_independent_ctb_y <= ps_tile->u1_pos_y) in ihevcd_init_proc_ctxt()
1493 if(i2_independent_ctb_x > ps_tile->u1_pos_x) in ihevcd_init_proc_ctxt()
1502 if(((i2_independent_ctb_x - ps_tile->u1_pos_x) != 0) && ((ps_proc->i4_ctb_slice_y != 0)) in ihevcd_init_proc_ctxt()
1503 …&& ((i2_independent_ctb_x >= ps_tile->u1_pos_x) && (i2_independent_ctb_x < ps_tile->u1_pos_x + ps_… in ihevcd_init_proc_ctxt()
1567 ps_proc->i4_nctb = MIN(ps_codec->u4_nctb, ps_tile->u2_wd); in ihevcd_init_proc_ctxt()