Home
last modified time | relevance | path

Searched refs:i4_ctb_x (Results 1 – 13 of 13) sorted by relevance

/external/libhevc/decoder/
Dihevcd_ilf_padding.c84 WORD32 i4_ctb_x, i4_ctb_y; in ihevcd_ilf_pad_frame() local
94 for(i4_ctb_x = 0; i4_ctb_x < ps_sps->i2_pic_wd_in_ctb; i4_ctb_x++) in ihevcd_ilf_pad_frame()
102 ps_deblk_ctxt->i4_ctb_x = i4_ctb_x; in ihevcd_ilf_pad_frame()
105 ps_sao_ctxt->i4_ctb_x = 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()
156 + (i4_ctb_x * ctb_size in ihevcd_ilf_pad_frame()
160 + i4_ctb_x * ctb_size in ihevcd_ilf_pad_frame()
163 if(0 == i4_ctb_x) in ihevcd_ilf_pad_frame()
176 else if((ps_sps->i2_pic_wd_in_ctb - 1) == i4_ctb_x) in ihevcd_ilf_pad_frame()
180 …WORD32 cols_remaining = ps_sps->i2_pic_width_in_luma_samples - (i4_ctb_x << ps_sps->i1_log2_ctb_si… in ihevcd_ilf_pad_frame()
Dihevcd_process_slice.c155 if((ps_proc->i4_ctb_x > 0) && ((0 != status))) in ihevcd_proc_map_check()
164 if((ps_proc->i4_ctb_x > 0) && (0 != status) && (ps_proc->i4_ctb_y > 0)) in ihevcd_proc_map_check()
209 idx = (ps_proc->i4_ctb_x + i); in ihevcd_proc_map_update()
223 if(!((ps_proc->i4_ctb_x == 0) && (ps_proc->i4_ctb_y == 0))) in ihevcd_slice_hdr_update()
227 if((ps_slice_hdr_next->i2_ctb_x == ps_proc->i4_ctb_x) in ihevcd_slice_hdr_update()
252 ps_proc->i4_ctb_x += nctb; in ihevcd_ctb_pos_update()
271 if(ps_proc->i4_ctb_x > ps_slice_hdr->i2_ctb_x) in ihevcd_ctb_pos_update()
352 cur_ctb_idx = ps_proc->i4_ctb_x in ihevcd_ctb_avail_update()
370 if((0 == ps_proc->i4_ctb_x) || (0 == ps_proc->i4_ctb_tile_x)) in ihevcd_ctb_avail_update()
384 else if(ps_proc->i4_ctb_x > 0) in ihevcd_ctb_avail_update()
[all …]
Dihevcd_sao.c120 …pu1_src_luma = ps_sao_ctxt->pu1_cur_pic_luma + ((ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * p… in ihevcd_sao_ctb()
121 …pu1_src_chroma = ps_sao_ctxt->pu1_cur_pic_chroma + ((ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y… in ihevcd_sao_ctb()
123 …ps_sao = ps_sao_ctxt->ps_pic_sao + ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * ps_sps->i2_pic_… in ihevcd_sao_ctb()
136 … remaining_cols = ps_sps->i2_pic_width_in_luma_samples - (ps_sao_ctxt->i4_ctb_x << log2_ctb_size); in ihevcd_sao_ctb()
144 … pu1_src_top_luma = ps_sao_ctxt->pu1_sao_src_top_luma + (ps_sao_ctxt->i4_ctb_x << log2_ctb_size); in ihevcd_sao_ctb()
145 …pu1_src_top_chroma = ps_sao_ctxt->pu1_sao_src_top_chroma + (ps_sao_ctxt->i4_ctb_x << log2_ctb_size… in ihevcd_sao_ctb()
151 ((ps_sao_ctxt->i4_ctb_x * ctb_size) / 64); in ihevcd_sao_ctb()
175 if(0 == ps_sao_ctxt->i4_ctb_x) in ihevcd_sao_ctb()
186 if(ps_sps->i2_pic_wd_in_ctb - 1 == ps_sao_ctxt->i4_ctb_x) in ihevcd_sao_ctb()
248 … ((((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) - sao_wd_luma) / 8) % 8); in ihevcd_sao_ctb()
[all …]
Dihevcd_boundary_strength.c248 (ps_bs_ctxt->i4_ctb_x << (2 * log2_ctb_size - 7)) + in ihevcd_ctb_boundary_strength_islice()
251 (ps_bs_ctxt->i4_ctb_x << (2 * log2_ctb_size - 7)) + in ihevcd_ctb_boundary_strength_islice()
256 …pu1_qp = ps_bs_ctxt->pu1_pic_qp + ((ps_bs_ctxt->i4_ctb_x + ps_bs_ctxt->i4_ctb_y * qp_strd) << (log… 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()
276 if(0 != ps_bs_ctxt->i4_ctb_x) in ihevcd_ctb_boundary_strength_islice()
365 (0 == ps_bs_ctxt->i4_ctb_x)) 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()
381 if(ps_bs_ctxt->i4_ctb_x) 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()
393 (0 == ps_bs_ctxt->i4_ctb_x)) in ihevcd_ctb_boundary_strength_islice()
[all …]
Dihevcd_deblk.c146 (ps_deblk->i4_ctb_x << (2 * log2_ctb_size - 7)) + in ihevcd_deblk_ctb()
151 (ps_deblk->i4_ctb_x << (2 * log2_ctb_size - 7)) + in ihevcd_deblk_ctb()
156 …pu1_qp = ps_deblk->s_bs_ctxt.pu1_pic_qp + ((ps_deblk->i4_ctb_x + ps_deblk->i4_ctb_y * qp_strd) << … 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()
192 if(ps_deblk->i4_ctb_x || i4_is_last_ctb_x) in ihevcd_deblk_ctb()
197 if((ps_deblk->i4_ctb_x || i4_is_last_ctb_x) && (ps_deblk->i4_ctb_y || i4_is_last_ctb_y)) 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()
228 …pu1_src = ps_deblk->pu1_cur_pic_luma + ((ps_deblk->i4_ctb_x + ps_deblk->i4_ctb_y * ps_deblk->ps_co… in ihevcd_deblk_ctb()
364 … 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()
369 …pu1_src = ps_deblk->pu1_cur_pic_luma + ((ps_deblk->i4_ctb_x + ps_deblk->i4_ctb_y * ps_deblk->ps_co… in ihevcd_deblk_ctb()
[all …]
Dihevcd_parse_slice.c239 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_transform_tree()
824 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_prediction_unit()
964 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit_intra()
1314 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1606 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1690 cu_pos_x = (x0 - (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size)) >> 3; in ihevcd_parse_coding_quadtree()
1915 … 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()
1968 rx = ps_codec->s_parse.i4_ctb_x; in ihevcd_parse_sao()
2218 ps_codec->s_parse.i4_ctb_x = ps_slice_hdr->i2_ctb_x; in ihevcd_parse_slice_data()
2227 ihevcd_get_tile_pos(ps_pps, ps_sps, ps_codec->s_parse.i4_ctb_x, in ihevcd_parse_slice_data()
[all …]
Dihevcd_get_mv.c147 …pu1_pic_pu_map_ctb = ps_mv_ctxt->pu1_pic_pu_map + (ps_mv_ctxt->i4_ctb_x + ps_mv_ctxt->i4_ctb_y * p… in ihevcd_get_mv_ctb()
183 - (ps_mv_ctxt->i4_ctb_x << ps_sps->i1_log2_ctb_size); in ihevcd_get_mv_ctb()
204 if(((ps_tile->u1_pos_x) == (ps_mv_ctxt->i4_ctb_x)) && (ps_mv_ctxt->i4_ctb_x != 0)) 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 …index_pic_map = ((ps_mv_ctxt->i4_ctb_x - 1) + (ps_mv_ctxt->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ct… 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_structs.h237 WORD32 i4_ctb_x; member
350 WORD32 i4_ctb_x; member
494 WORD32 i4_ctb_x; member
567 WORD32 i4_ctb_x; member
791 WORD32 i4_ctb_x; member
1181 WORD32 i4_ctb_x; member
Dihevcd_iquant_itrans_recon_ctb.c377 x_cur = ps_proc->i4_ctb_x * ctb_size + cur_x * MIN_TU_SIZE; in ihevcd_get_intra_nbr_flag()
495 - (ps_proc->i4_ctb_x << ps_sps->i1_log2_ctb_size) in ihevcd_get_intra_nbr_flag()
635 …WORD32 cols_remaining = ps_sps->i2_pic_width_in_luma_samples - (ps_proc->i4_ctb_x << ps_sps->i1_lo… in ihevcd_iquant_itrans_recon_ctb()
694 WORD32 tu_abs_x = (ps_proc->i4_ctb_x << ps_sps->i1_log2_ctb_size) + (tu_x); in ihevcd_iquant_itrans_recon_ctb()
Dihevcd_inter_pred.c172 cur_ctb_idx = ps_proc->i4_ctb_x in ihevcd_inter_pred_ctb()
219 pu_x = (ps_proc->i4_ctb_x << ps_sps->i1_log2_ctb_size) + (ps_pu->b4_pos_x << 2); in ihevcd_inter_pred_ctb()
Dihevcd_mv_merge.c193 … && ((x_col + (ps_mv_ctxt->i4_ctb_x << log2_ctb_size)) < ps_sps->i2_pic_width_in_luma_samples) in ihevcd_collocated_mvp()
199 col_ctb_x = ps_mv_ctxt->i4_ctb_x + (xp_col >> log2_ctb_size); in ihevcd_collocated_mvp()
Dihevcd_decode.c709 ps_proc->i4_ctb_x = s_job.i2_ctb_x; in ihevcd_decode()
Dihevcd_parse_slice_header.c1002 ps_codec->s_parse.i4_ctb_x = 0; in ihevcd_parse_slice_header()