Home
last modified time | relevance | path

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

/external/libhevc/decoder/
Dihevcd_sao.c121 …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()
184 if(ps_sps->i2_pic_wd_in_ctb - 1 == ps_sao_ctxt->i4_ctb_x) in ihevcd_sao_ctb()
605 …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()
791 WORD32 top_left_ctb_indx = (ps_sao_ctxt->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ctb + in ihevcd_sao_shift_ctb()
799 ps_sao -= (1 + ps_sps->i2_pic_wd_in_ctb); in ihevcd_sao_shift_ctb()
904 … idx_tl = pu1_slice_idx[ctbx_tl + (ctby_tl * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
905 …_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()
906 … 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()
907 … 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()
908 …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()
[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()
212 idx += ((ps_proc->i4_ctb_y) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_proc_map_update()
261 …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()
262 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()
284 WORD32 temp_stride = (ps_sps->i2_pic_wd_in_ctb - ps_slice_hdr->i2_ctb_x); in ihevcd_ctb_pos_update()
336 …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()
342 …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()
343 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()
401 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()
405 … 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()
493 bs_strd = (ps_sps->i2_pic_wd_in_ctb + 1) << (2 * log2_ctb_size - 7); in ihevcd_ctb_boundary_strength_pbslice()
508 qp_strd = ps_sps->i2_pic_wd_in_ctb << (log2_ctb_size - 3); in ihevcd_ctb_boundary_strength_pbslice()
511 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.c1940 … 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()
1996 ps_sao = ps_codec->s_parse.ps_pic_sao + rx + ry * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_sao()
2041 *ps_sao = *(ps_sao - ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_sao()
2330 num_ctb_in_row = ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
2503 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2541 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2544 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2553 …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()
2648 if(1 == ps_sps->i2_pic_wd_in_ctb) in ihevcd_parse_slice_data()
2698 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.c1858 ps_sps->i2_pic_wd_in_ctb = ((numerator + ceil_offset) / in ihevcd_parse_sps()
1866 ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_sps()
2002 (ps_sps->i2_pic_wd_in_ctb != ps_sps_ref->i2_pic_wd_in_ctb) || in ihevcd_copy_sps()
2260 if (value >= ps_sps->i2_pic_wd_in_ctb - start) in ihevcd_parse_pps()
2267 value = ps_sps->i2_pic_wd_in_ctb - start; in ihevcd_parse_pps()
2272 value = ((i + 1) * ps_sps->i2_pic_wd_in_ctb) / ps_pps->i1_num_tile_columns - in ihevcd_parse_pps()
2273 (i * ps_sps->i2_pic_wd_in_ctb) / ps_pps->i1_num_tile_columns; in ihevcd_parse_pps()
2284 if((start > ps_sps->i2_pic_wd_in_ctb) || in ihevcd_parse_pps()
2345 ps_pps->ps_tile->u2_wd = ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_pps()
Dihevcd_fmt_conv.c811 idx = (last_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_fmt_conv()
815 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.c1061 ps_slice_hdr->i2_ctb_x = slice_address % ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_header()
1062 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.c611 … ps_slice_hdr_next->i2_ctb_y * ps_codec->s_parse.ps_sps->i2_pic_wd_in_ctb; in ihevcd_decode()
Dihevcd_utils.c388 next_tile_ctb_x = ps_sps->i2_pic_wd_in_ctb; in ihevcd_get_tile_pos()
/external/libhevc/encoder/
Dihevce_common_utils.c1087 if(((ps_sao_ctxt->i4_ctb_x + 1) == ps_sao_ctxt->ps_sps->i2_pic_wd_in_ctb) && in ihevce_get_chroma_eo_sao_params()
1196 if(((ps_sao_ctxt->i4_ctb_x + 1) == ps_sao_ctxt->ps_sps->i2_pic_wd_in_ctb) && in ihevce_get_luma_eo_sao_params()
Dihevce_mv_pred_merge.c220 col_ctb_idx = col_ctb_x + (col_ctb_y) * (ps_sps->i2_pic_wd_in_ctb + 1); in ihevce_collocated_mvp()
231 (col_ctb_y * (ps_sps->i2_pic_wd_in_ctb + 1) + col_ctb_x) * num_minpu_in_ctb + in ihevce_collocated_mvp()
Dihevce_encode_header.c2402 ps_sps->i2_pic_wd_in_ctb = ps_frm_ctb_prms->i4_num_ctbs_horz; in ihevce_populate_sps()
/external/libhevc/common/
Dihevc_structs.h2495 WORD16 i2_pic_wd_in_ctb; member
/external/libhevc/encoder/arm/
Dihevce_common_utils_neon.c501 if(((ps_sao_ctxt->i4_ctb_x + 1) == ps_sao_ctxt->ps_sps->i2_pic_wd_in_ctb) && in ihevce_get_luma_eo_sao_params_neon()
1302 if(((ps_sao_ctxt->i4_ctb_x + 1) == ps_sao_ctxt->ps_sps->i2_pic_wd_in_ctb) && in ihevce_get_chroma_eo_sao_params_neon()