Home
last modified time | relevance | path

Searched refs:i2_pic_wd_in_ctb (Results 1 – 15 of 15) sorted by relevance

/external/libhevc/decoder/
Dihevcd_sao.c123 …ps_sao_ctxt->ps_pic_sao + ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_sao_ctb()
186 if(ps_sps->i2_pic_wd_in_ctb - 1 == ps_sao_ctxt->i4_ctb_x) in ihevcd_sao_ctb()
610 …ps_sao_ctxt->ps_pic_sao + ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_sao_shift_ctb()
795 ps_sao -= (1 + ps_sps->i2_pic_wd_in_ctb); in ihevcd_sao_shift_ctb()
900 … idx_tl = pu1_slice_idx[ctbx_tl + (ctby_tl * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
901 …_idx_tl[2] = au4_idx_tl[4] = *(pu1_slice_idx + ctbx_tl_t + (ctby_tl_t * ps_sps->i2_pic_wd_in_ctb)); in ihevcd_sao_shift_ctb()
902 … au4_idx_tl[0] = pu1_slice_idx[ctbx_tl_l + (ctby_tl_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
903 … au4_idx_tl[1] = au4_idx_tl[5] = pu1_slice_idx[ctbx_tl_r + (ctby_tl_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
904 …u4_idx_tl[3] = au4_idx_tl[6] = pu1_slice_idx[ctbx_tl_d + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
905 … au4_idx_tl[7] = pu1_slice_idx[ctbx_tl_d + 1 + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
[all …]
Dihevcd_process_slice.c143 * ps_sps->i2_pic_wd_in_ctb); in ihevcd_proc_map_check()
158 idx = x_pos + (ps_proc->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_proc_map_check()
167 idx = x_pos + ((ps_proc->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_proc_map_check()
210 idx += ((ps_proc->i4_ctb_y) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_proc_map_update()
259 …slice_start_ctb_idx = ps_slice_hdr->i2_ctb_x + (ps_slice_hdr->i2_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_pos_update()
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()
282 WORD32 temp_stride = (ps_sps->i2_pic_wd_in_ctb - ps_slice_hdr->i2_ctb_x); in ihevcd_ctb_pos_update()
334 …if(!(((check_tile_wd >= ps_sps->i2_pic_wd_in_ctb) && (check_tile_wd % ps_sps->i2_pic_wd_in_ctb == … in ihevcd_ctb_avail_update()
340 …slice_start_ctb_idx = ps_slice_hdr->i2_ctb_x + (ps_slice_hdr->i2_ctb_y * ps_sps->i2_pic_wd_in_ctb); 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()
[all …]
Dihevcd_deblk.c143 bs_strd = (ps_sps->i2_pic_wd_in_ctb + 1) << (2 * log2_ctb_size - 7); in ihevcd_deblk_ctb()
155 qp_strd = ps_sps->i2_pic_wd_in_ctb << (log2_ctb_size - 3); in ihevcd_deblk_ctb()
160 ctb_indx = ps_deblk->i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_deblk->i4_ctb_y; in ihevcd_deblk_ctb()
173 ctb_indx += ps_sps->i2_pic_wd_in_ctb; in ihevcd_deblk_ctb()
200 … ps_deblk->s_bs_ctxt.pu1_pic_qp_const_in_ctb[(ctb_indx - ps_sps->i2_pic_wd_in_ctb - 1) >> 3] & in ihevcd_deblk_ctb()
201 (1 << ((ctb_indx - ps_sps->i2_pic_wd_in_ctb - 1) & 7)); in ihevcd_deblk_ctb()
209 … ps_deblk->s_bs_ctxt.pu1_pic_qp_const_in_ctb[(ctb_indx - ps_sps->i2_pic_wd_in_ctb) >> 3] & in ihevcd_deblk_ctb()
210 (1 << ((ctb_indx - ps_sps->i2_pic_wd_in_ctb) & 7)); in ihevcd_deblk_ctb()
222 … WORD32 cur_ctb_indx = ps_deblk->i4_ctb_x + ps_deblk->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_deblk_ctb()
224 cur_ctb_indx += ps_sps->i2_pic_wd_in_ctb; in ihevcd_deblk_ctb()
[all …]
Dihevcd_boundary_strength.c245 bs_strd = (ps_sps->i2_pic_wd_in_ctb + 1) << (2 * log2_ctb_size - 7); in ihevcd_ctb_boundary_strength_islice()
255 qp_strd = ps_sps->i2_pic_wd_in_ctb << (log2_ctb_size - 3); in ihevcd_ctb_boundary_strength_islice()
258 ctb_indx = ps_bs_ctxt->i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_bs_ctxt->i4_ctb_y; in ihevcd_ctb_boundary_strength_islice()
379 ctb_addr = ps_bs_ctxt->i4_ctb_x + (ps_bs_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_boundary_strength_islice()
383 … ctb_addr = (ps_bs_ctxt->i4_ctb_x - 1) + (ps_bs_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_boundary_strength_islice()
400 ctb_addr = ps_bs_ctxt->i4_ctb_x + (ps_bs_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_boundary_strength_islice()
404 … ctb_addr = (ps_bs_ctxt->i4_ctb_x) + ((ps_bs_ctxt->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_boundary_strength_islice()
491 bs_strd = (ps_sps->i2_pic_wd_in_ctb + 1) << (2 * log2_ctb_size - 7); in ihevcd_ctb_boundary_strength_pbslice()
506 qp_strd = ps_sps->i2_pic_wd_in_ctb << (log2_ctb_size - 3); in ihevcd_ctb_boundary_strength_pbslice()
509 ctb_indx = ps_bs_ctxt->i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_bs_ctxt->i4_ctb_y; in ihevcd_ctb_boundary_strength_pbslice()
[all …]
Dihevcd_ilf_padding.c94 for(i4_ctb_x = 0; i4_ctb_x < ps_sps->i2_pic_wd_in_ctb; i4_ctb_x++) in ihevcd_ilf_pad_frame()
116 if(i4_ctb_x == ps_sps->i2_pic_wd_in_ctb - 1) in ihevcd_ilf_pad_frame()
123 last_x_pos = (ps_sps->i2_pic_wd_in_ctb << ps_sps->i1_log2_ctb_size); in ihevcd_ilf_pad_frame()
176 else if((ps_sps->i2_pic_wd_in_ctb - 1) == i4_ctb_x) in ihevcd_ilf_pad_frame()
Dihevcd_parse_slice.c1915 … ctb_indx = ps_codec->s_parse.i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_coding_quadtree()
1971 ps_sao = ps_codec->s_parse.ps_pic_sao + rx + ry * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_sao()
2016 *ps_sao = *(ps_sao - ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_sao()
2214 num_ctb_in_row = ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
2378 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2416 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2419 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2428 …if(!(((ps_slice_hdr->i2_ctb_x + ps_tile_prev->u2_wd) % ps_sps->i2_pic_wd_in_ctb) == ps_tile->u1_po… in ihevcd_parse_slice_data()
2515 if(1 == ps_sps->i2_pic_wd_in_ctb) in ihevcd_parse_slice_data()
2553 ps_codec->s_parse.i4_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
[all …]
Dihevcd_get_mv.c147 …pic_pu_map + (ps_mv_ctxt->i4_ctb_x + ps_mv_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb) * num_minpu_… in ihevcd_get_mv_ctb()
211 … index_pic_map = ((ps_mv_ctxt->i4_ctb_x - 1) + ps_mv_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_get_mv_ctb()
225 …dex_pic_map = ((ps_mv_ctxt->i4_ctb_x - 1) + (ps_mv_ctxt->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_get_mv_ctb()
240 … index_pic_map = (ps_mv_ctxt->i4_ctb_x) + ((ps_mv_ctxt->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_get_mv_ctb()
Dihevcd_parse_headers.c1456 ps_sps->i2_pic_wd_in_ctb = ((numerator + ceil_offset) / in ihevcd_parse_sps()
1464 ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_sps()
1575 (ps_sps->i2_pic_wd_in_ctb != ps_sps_ref->i2_pic_wd_in_ctb) || in ihevcd_copy_sps()
1745 (ps_pps->i1_num_tile_columns > ps_sps->i2_pic_wd_in_ctb) || in ihevcd_parse_pps()
1773 value = ps_sps->i2_pic_wd_in_ctb - start; in ihevcd_parse_pps()
1778 value = ((i + 1) * ps_sps->i2_pic_wd_in_ctb) / ps_pps->i1_num_tile_columns - in ihevcd_parse_pps()
1779 (i * ps_sps->i2_pic_wd_in_ctb) / ps_pps->i1_num_tile_columns; in ihevcd_parse_pps()
1790 if((start > ps_sps->i2_pic_wd_in_ctb) || in ihevcd_parse_pps()
1847 ps_pps->ps_tile->u2_wd = ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_pps()
Dihevcd_fmt_conv.c791 idx = (last_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_fmt_conv()
795 for(ctb_in_row = 0; (WORD32)ctb_in_row < ps_sps->i2_pic_wd_in_ctb; ctb_in_row++) in ihevcd_fmt_conv()
Dihevcd_mv_merge.c201 col_ctb_idx = col_ctb_x + (col_ctb_y)*(ps_sps->i2_pic_wd_in_ctb); in ihevcd_collocated_mvp()
311 …slice_idx = *(ps_mv_buf_col->pu1_pic_slice_map + col_ctb_x + col_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_collocated_mvp()
Dihevcd_parse_slice_header.c974 ps_slice_hdr->i2_ctb_x = slice_address % ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_header()
975 ps_slice_hdr->i2_ctb_y = slice_address / ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_header()
Dihevcd_inter_pred.c173 + ps_proc->i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_inter_pred_ctb()
Dihevcd_decode.c548 … ps_slice_hdr_next->i2_ctb_y * ps_codec->s_parse.ps_sps->i2_pic_wd_in_ctb; in ihevcd_decode()
Dihevcd_utils.c469 next_tile_ctb_x = ps_sps->i2_pic_wd_in_ctb; in ihevcd_get_tile_pos()
/external/libhevc/common/
Dihevc_structs.h1938 WORD16 i2_pic_wd_in_ctb; member