Home
last modified time | relevance | path

Searched refs:ctb_size (Results 1 – 9 of 9) sorted by relevance

/external/libhevc/decoder/
Dihevcd_deblk.c101 WORD32 ctb_size; in ihevcd_deblk_ctb() local
139 ctb_size = (1 << ps_sps->i1_log2_ctb_size); in ihevcd_deblk_ctb()
172 pu2_ctb_no_loop_filter_flag += (ctb_size >> 3); in ihevcd_deblk_ctb()
182 pu1_qp += (ctb_size >> 3); in ihevcd_deblk_ctb()
184 for(row = 0; row < (ctb_size >> 3) + 1; row++) in ihevcd_deblk_ctb()
185 … au2_ctb_no_loop_filter_flag[row] = ps_deblk->au2_ctb_no_loop_filter_flag[row] >> (ctb_size >> 3); in ihevcd_deblk_ctb()
235 for(col = 0; col < ctb_size / 8; col++) in ihevcd_deblk_ctb()
258 for(row = 0; row < ctb_size / 4;) in ihevcd_deblk_ctb()
268 if((row + bs_tz) >= (ctb_size / 4)) in ihevcd_deblk_ctb()
269 pu1_src += 4 * (ctb_size / 4 - row) * src_strd; in ihevcd_deblk_ctb()
[all …]
Dihevcd_boundary_strength.c225 WORD32 ctb_size; in ihevcd_ctb_boundary_strength_islice() local
241 ctb_size = (1 << log2_ctb_size); in ihevcd_ctb_boundary_strength_islice()
261 vert_bs0_tmp = pu4_vert_bs[0] & (0xFFFFFFFF >> (sizeof(UWORD32) * 8 - ctb_size / 2)); in ihevcd_ctb_boundary_strength_islice()
262 horz_bs0_tmp = pu4_horz_bs[0] & (0xFFFFFFFF >> (sizeof(UWORD32) * 8 - ctb_size / 2)); in ihevcd_ctb_boundary_strength_islice()
272 memset(pu4_vert_bs, 0, (1 << (2 * log2_ctb_size - 7)) + ((ctb_size >> 5) << 1)); in ihevcd_ctb_boundary_strength_islice()
367 pu4_vert_bs[0] &= (64 == ctb_size) ? 0 : ((UWORD32)0xFFFFFFFF) << (ctb_size / 2); in ihevcd_ctb_boundary_strength_islice()
375 pu4_vert_bs[0] &= (64 == ctb_size) ? 0 : ((UWORD32)0xFFFFFFFF) << (ctb_size / 2); in ihevcd_ctb_boundary_strength_islice()
395 … pu4_vert_bs[0] &= (64 == ctb_size) ? 0 : ((UWORD32)0xFFFFFFFF) << (ctb_size / 2); in ihevcd_ctb_boundary_strength_islice()
415 pu4_horz_bs[0] &= (64 == ctb_size) ? 0 : ((UWORD32)0xFFFFFFFF) << (ctb_size / 2); in ihevcd_ctb_boundary_strength_islice()
426 if(num_rows_remaining < (ctb_size >> 3)) in ihevcd_ctb_boundary_strength_islice()
[all …]
Dihevcd_ilf_padding.c85 WORD32 ctb_size; in ihevcd_ilf_pad_frame() local
90 ctb_size = (1 << ps_sps->i1_log2_ctb_size); in ihevcd_ilf_pad_frame()
156 + (i4_ctb_x * ctb_size in ihevcd_ilf_pad_frame()
157 + i4_ctb_y * ctb_size in ihevcd_ilf_pad_frame()
160 + i4_ctb_x * ctb_size in ihevcd_ilf_pad_frame()
161 + (i4_ctb_y * ctb_size * ps_codec->i4_strd / 2); in ihevcd_ilf_pad_frame()
168 pad_ht_luma = ctb_size; in ihevcd_ilf_pad_frame()
170 pad_ht_chroma = ctb_size / 2; in ihevcd_ilf_pad_frame()
182 pad_ht_luma = ctb_size; in ihevcd_ilf_pad_frame()
184 pad_ht_chroma = ctb_size / 2; in ihevcd_ilf_pad_frame()
Dihevcd_process_slice.c537 WORD32 ctb_size = 1 << ps_sps->i1_log2_ctb_size; in ihevcd_process() local
542 num_minpu_in_ctb = (ctb_size / MIN_PU_SIZE) * (ctb_size / MIN_PU_SIZE); in ihevcd_process()
666 + (ps_proc->i4_ctb_x * ctb_size / MIN_PU_SIZE); in ihevcd_process()
701 WORD32 num_minpu_in_ctb = (ctb_size / MIN_PU_SIZE) * (ctb_size / MIN_PU_SIZE); in ihevcd_process()
707 WORD32 ctb_size_in_min_pu = (ctb_size / MIN_PU_SIZE); in ihevcd_process()
740 WORD32 ctb_size_left = MIN(ctb_size, rows_remaining); in ihevcd_process()
744 …op_left_pu_idx = ps_proc->pu4_pic_pu_idx_top[((ps_proc->i4_ctb_x + 1) * ctb_size / MIN_PU_SIZE) - … in ihevcd_process()
745 for(i = 0; i < ctb_size / MIN_PU_SIZE; i++) in ihevcd_process()
750 … pu4_nbr_pu_idx[(ctb_size / MIN_PU_SIZE) + (i + 1) * nbr_pu_idx_strd]; in ihevcd_process()
753 … ps_proc->pu4_pic_pu_idx_top[(ps_proc->i4_ctb_x * ctb_size / MIN_PU_SIZE) + i] = in ihevcd_process()
[all …]
Dihevcd_iquant_itrans_recon_ctb.c346 WORD32 ctb_size) in ihevcd_get_intra_nbr_flag() argument
377 x_cur = ps_proc->i4_ctb_x * ctb_size + cur_x * MIN_TU_SIZE; in ihevcd_get_intra_nbr_flag()
378 y_cur = ps_proc->i4_ctb_y * ctb_size + cur_y * MIN_TU_SIZE; in ihevcd_get_intra_nbr_flag()
499 WORD32 ctb_size_top = MIN(ctb_size, cols_remaining); in ihevcd_get_intra_nbr_flag()
507 WORD32 ctb_size_bot = MIN(ctb_size, rows_remaining); in ihevcd_get_intra_nbr_flag()
535 WORD32 ctb_size; in ihevcd_iquant_itrans_recon_ctb() local
588 ctb_size = (1 << ps_sps->i1_log2_ctb_size); in ihevcd_iquant_itrans_recon_ctb()
625 WORD32 ctb_size_left = MIN(ctb_size, rows_remaining); in ihevcd_iquant_itrans_recon_ctb()
632 … >> (1 + ctb_size / MIN_TU_SIZE)); /* 1+ctb_size/4 position bit pos from msb */ in ihevcd_iquant_itrans_recon_ctb()
638 WORD32 ctb_size_top = MIN(ctb_size, cols_remaining); in ihevcd_iquant_itrans_recon_ctb()
[all …]
Dihevcd_get_mv.c122 WORD32 ctb_size, ctb_size_in_min_pu; in ihevcd_get_mv_ctb() local
142 ctb_size = (1 << ps_sps->i1_log2_ctb_size); in ihevcd_get_mv_ctb()
144 ctb_size_in_min_pu = (ctb_size / MIN_PU_SIZE); in ihevcd_get_mv_ctb()
171 WORD32 ctb_size_left = MIN(ctb_size, rows_remaining); in ihevcd_get_mv_ctb()
184 WORD32 ctb_size_top = MIN(ctb_size, cols_remaining); in ihevcd_get_mv_ctb()
185 WORD32 shift = (31 - (ctb_size / MIN_TU_SIZE)); in ihevcd_get_mv_ctb()
190 shift += ((ctb_size - ctb_size_top) / MIN_TU_SIZE); in ihevcd_get_mv_ctb()
Dihevcd_sao.c89 WORD32 ctb_size; in ihevcd_sao_ctb() local
118 ctb_size = (1 << log2_ctb_size); in ihevcd_sao_ctb()
137 sao_wd_luma = MIN(ctb_size, remaining_cols); in ihevcd_sao_ctb()
138 sao_wd_chroma = MIN(ctb_size, remaining_cols); in ihevcd_sao_ctb()
141 sao_ht_luma = MIN(ctb_size, remaining_rows); in ihevcd_sao_ctb()
142 sao_ht_chroma = MIN(ctb_size, remaining_rows) / 2; in ihevcd_sao_ctb()
150 ((ps_sao_ctxt->i4_ctb_y * ctb_size) / 8) * loop_filter_strd + in ihevcd_sao_ctb()
151 ((ps_sao_ctxt->i4_ctb_x * ctb_size) / 64); in ihevcd_sao_ctb()
532 WORD32 ctb_size; in ihevcd_sao_shift_ctb() local
589 ctb_size = (1 << log2_ctb_size); in ihevcd_sao_shift_ctb()
[all …]
Dihevcd_parse_slice.c2200 WORD32 ctb_size = 1 << ps_sps->i1_log2_ctb_size; in ihevcd_set_ctb_skip() local
2212 ctb_skip_ht = MIN(ctb_size, rows_remaining); in ihevcd_set_ctb_skip()
2216 ctb_skip_wd = MIN(ctb_size, cols_remaining); in ihevcd_set_ctb_skip()
2301 WORD32 ctb_size; in ihevcd_parse_slice_data() local
2328 ctb_size = 1 << ps_sps->i1_log2_ctb_size; in ihevcd_parse_slice_data()
2329 num_min4x4_in_ctb = (ctb_size / 4) * (ctb_size / 4); in ihevcd_parse_slice_data()
3070 + (ps_codec->s_parse.i4_ctb_x * ctb_size / MIN_PU_SIZE); in ihevcd_parse_slice_data()
3101 WORD32 num_minpu_in_ctb = (ctb_size / MIN_PU_SIZE) * (ctb_size / MIN_PU_SIZE); in ihevcd_parse_slice_data()
3114 WORD32 ctb_size_in_min_pu = (ctb_size / MIN_PU_SIZE); in ihevcd_parse_slice_data()
3147 WORD32 ctb_size_left = MIN(ctb_size, rows_remaining); in ihevcd_parse_slice_data()
[all …]
Dihevcd_mv_merge.c155 WORD32 ctb_size; in ihevcd_collocated_mvp() local
168 ctb_size = (1 << log2_ctb_size); in ihevcd_collocated_mvp()
190 num_minpu_in_ctb = (ctb_size / MIN_PU_SIZE) * (ctb_size / MIN_PU_SIZE); in ihevcd_collocated_mvp()
205 if(xp_col == ctb_size) in ihevcd_collocated_mvp()
208 * (ctb_size / MIN_PU_SIZE) + (xp_col >> 2)]; in ihevcd_collocated_mvp()