Home
last modified time | relevance | path

Searched refs:ps_pu (Results 1 – 20 of 20) sorted by relevance

/external/libhevc/decoder/
Dihevcd_inter_pred.c123 pu_t *ps_pu; in ihevcd_inter_pred_ctb() local
181 ps_pu = ps_proc->ps_pu; in ihevcd_inter_pred_ctb()
214 for(pu_indx = 0; pu_indx < i4_pu_cnt; pu_indx++, ps_pu++) in ihevcd_inter_pred_ctb()
217 if(1 == ps_pu->b1_intra_flag) 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()
220 pu_y = (ps_proc->i4_ctb_y << ps_sps->i1_log2_ctb_size) + (ps_pu->b4_pos_y << 2); in ihevcd_inter_pred_ctb()
222 pu_wd = (ps_pu->b4_wd + 1) << 2; in ihevcd_inter_pred_ctb()
223 pu_ht = (ps_pu->b4_ht + 1) << 2; in ihevcd_inter_pred_ctb()
227 bi_pred = (ps_pu->b2_pred_mode == PRED_BI); in ihevcd_inter_pred_ctb()
229 if(ps_pu->b2_pred_mode != PRED_L1) in ihevcd_inter_pred_ctb()
[all …]
Dihevcd_get_mv.c113 pu_t *ps_pu; in ihevcd_get_mv_ctb() local
137 ps_pu = ps_mv_ctxt->ps_pu; in ihevcd_get_mv_ctb()
273 for(pu_cnt = 0; pu_cnt < num_pu_per_ctb; pu_cnt++, ps_pu++) in ihevcd_get_mv_ctb()
275 pu_ht = (ps_pu->b4_ht + 1) << 2; in ihevcd_get_mv_ctb()
276 pu_wd = (ps_pu->b4_wd + 1) << 2; in ihevcd_get_mv_ctb()
281 pu_x_in_4x4 = ps_pu->b4_pos_x; in ihevcd_get_mv_ctb()
282 pu_y_in_4x4 = ps_pu->b4_pos_y; in ihevcd_get_mv_ctb()
307 if(1 == ps_pu->b1_merge_flag) in ihevcd_get_mv_ctb()
315 if((PART_Nx2N == ps_pu->b3_part_mode) && (1 == ps_pu->b2_part_idx)) in ihevcd_get_mv_ctb()
319 else if((PART_2NxN == ps_pu->b3_part_mode) && (1 == ps_pu->b2_part_idx)) in ihevcd_get_mv_ctb()
[all …]
Dihevcd_mv_merge.c140 pu_t *ps_pu, in ihevcd_collocated_mvp() argument
165 part_pos_y = ps_pu->b4_pos_y << 2; in ihevcd_collocated_mvp()
299 ref_idx_l0 = ps_pu->mv.i1_l0_ref_idx; in ihevcd_collocated_mvp()
300 ref_idx_l1 = ps_pu->mv.i1_l1_ref_idx; in ihevcd_collocated_mvp()
466 pu_t *ps_pu, in ihevcd_mv_merge() argument
536 max_num_merge_cand = ps_pu->b3_merge_idx + 1; in ihevcd_mv_merge()
567 ps_pu[0].mv = as_pu_merge_list[candidate_cnt - 1].mv; in ihevcd_mv_merge()
568 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
620 ps_pu[0].mv = as_pu_merge_list[candidate_cnt - 1].mv; in ihevcd_mv_merge()
621 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
[all …]
Dihevcd_parse_slice.c637 IHEVCD_ERROR_T ihevcd_parse_pu_mvp(codec_t *ps_codec, pu_t *ps_pu) in ihevcd_parse_pu_mvp() argument
653 pu_w_plus_pu_h = ((ps_pu->b4_wd + 1) << 2) + ((ps_pu->b4_ht + 1) << 2); in ihevcd_parse_pu_mvp()
682 ps_pu->mv.i1_l0_ref_idx = 0; in ihevcd_parse_pu_mvp()
683 ps_pu->mv.i1_l1_ref_idx = 0; in ihevcd_parse_pu_mvp()
719 ps_pu->mv.i1_l0_ref_idx = ref_idx; in ihevcd_parse_pu_mvp()
721 ihevcd_parse_mvd(ps_codec, &ps_pu->mv.s_l0_mv); in ihevcd_parse_pu_mvp()
730 ps_pu->b1_l0_mvp_idx = value; in ihevcd_parse_pu_mvp()
770 ps_pu->mv.i1_l1_ref_idx = ref_idx; in ihevcd_parse_pu_mvp()
774 ps_pu->mv.s_l1_mv.i2_mvx = 0; in ihevcd_parse_pu_mvp()
775 ps_pu->mv.s_l1_mv.i2_mvy = 0; in ihevcd_parse_pu_mvp()
[all …]
Dihevcd_statistics.h121 void ihevcd_update_pu_size(pu_t *ps_pu);
122 void ihevcd_update_pu_skip_size(pu_t *ps_pu);
134 #define STATS_UPDATE_PU_SIZE(ps_pu) ihevcd_update_pu_size(ps_pu); argument
135 #define STATS_UPDATE_PU_SKIP_SIZE(ps_pu) ihevcd_update_pu_skip_size(ps_pu); argument
145 #define STATS_UPDATE_PU_SIZE(ps_pu) ; argument
146 #define STATS_UPDATE_PU_SKIP_SIZE(ps_pu) ; argument
Dihevcd_boundary_strength.c85 WORD32 ihevcd_pu_boundary_strength(pu_t *ps_pu, in ihevcd_pu_boundary_strength() argument
97 num_mv = (PRED_BI == ps_pu->b2_pred_mode) ? 2 : 1; in ihevcd_pu_boundary_strength()
100 l0_ref_pic_buf_id = ps_pu->mv.i1_l0_ref_pic_buf_id; in ihevcd_pu_boundary_strength()
101 l1_ref_pic_buf_id = ps_pu->mv.i1_l1_ref_pic_buf_id; in ihevcd_pu_boundary_strength()
106 i2_mv_x0 = ps_pu->mv.s_l0_mv.i2_mvx; in ihevcd_pu_boundary_strength()
107 i2_mv_y0 = ps_pu->mv.s_l0_mv.i2_mvy; in ihevcd_pu_boundary_strength()
108 i2_mv_x1 = ps_pu->mv.s_l1_mv.i2_mvx; in ihevcd_pu_boundary_strength()
109 i2_mv_y1 = ps_pu->mv.s_l1_mv.i2_mvy; in ihevcd_pu_boundary_strength()
167 if(PRED_L0 == ps_pu->b2_pred_mode) in ihevcd_pu_boundary_strength()
723 pu_t *ps_pu = ps_bs_ctxt->ps_pu + i; in ihevcd_ctb_boundary_strength_pbslice() local
[all …]
Dihevcd_mv_pred.c359 pu_t *ps_pu, in ihevcd_mv_pred() argument
402 max_l0_mvp_cand = ps_pu->b1_l0_mvp_idx + 1; in ihevcd_mv_pred()
403 max_l1_mvp_cand = ps_pu->b1_l1_mvp_idx + 1; in ihevcd_mv_pred()
413 ps_cur_pic_buf_l0 = (pic_buf_t *)((ps_ref_pic_list[0][ps_pu->mv.i1_l0_ref_idx].pv_pic_buf)); in ihevcd_mv_pred()
414 ps_cur_pic_buf_l1 = (pic_buf_t *)((ps_ref_pic_list[1][ps_pu->mv.i1_l1_ref_idx].pv_pic_buf)); in ihevcd_mv_pred()
418 part_pos_x = ps_pu->b4_pos_x << 2; in ihevcd_mv_pred()
419 part_pos_y = ps_pu->b4_pos_y << 2; in ihevcd_mv_pred()
420 part_wd = (ps_pu->b4_wd + 1) << 2; in ihevcd_mv_pred()
421 part_ht = (ps_pu->b4_ht + 1) << 2; in ihevcd_mv_pred()
472 if(PRED_L0 != ps_pu->b2_pred_mode) in ihevcd_mv_pred()
[all …]
Dihevcd_mv_merge.h85 pu_t *ps_pu,
99 pu_t *ps_pu,
Dihevcd_process_slice.c443 ps_proc->ps_pu = &ps_proc->ps_pic_pu[cur_pu_idx]; in ihevcd_ctb_avail_update()
678 s_mv_ctxt.ps_pu = ps_proc->ps_pu; in ihevcd_process()
700 pu_t *ps_pu; in ihevcd_process() local
724 ps_pu = &ps_proc->ps_pic_pu[ctb_start_pu_idx]; in ihevcd_process()
726 for(pu_cnt = 0; pu_cnt < num_pu_per_ctb; pu_cnt++, ps_pu++) in ihevcd_process()
729 WORD32 pu_ht = (ps_pu->b4_ht + 1) << 2; in ihevcd_process()
730 WORD32 pu_wd = (ps_pu->b4_wd + 1) << 2; in ihevcd_process()
736 pu4_nbr_pu_idx[(1 + ps_pu->b4_pos_x + col) in ihevcd_process()
737 + (1 + ps_pu->b4_pos_y + row) in ihevcd_process()
808 ps_proc->s_bs_ctxt.ps_pu = ps_proc->ps_pu; in ihevcd_process()
[all …]
Dihevcd_boundary_strength.h44 WORD32 ihevcd_pu_boundary_strength(pu_t *ps_pu,
Dihevcd_mv_pred.h45 pu_t *ps_pu,
Dihevcd_structs.h249 pu_t *ps_pu; member
431 pu_t *ps_pu; member
902 pu_t *ps_pu; member
1279 pu_t *ps_pu; member
Dihevcd_utils.c889 ps_codec->s_parse.ps_pu = ps_codec->s_parse.ps_pic_pu; in ihevcd_parse_pic_init()
/external/libavc/encoder/
Dih264e_me.c432 if ( (ps_proc->ps_pu->s_me_info[PRED_L0].s_mv.i2_mvx == ps_skip_mv->i2_mvx) in ih264e_find_pskip_params()
433 && (ps_proc->ps_pu->s_me_info[PRED_L0].s_mv.i2_mvy == ps_skip_mv->i2_mvy)) in ih264e_find_pskip_params()
1057 … ps_proc->ps_pu->s_me_info[PRED_L0].s_mv.i2_mvx = ps_me_ctxt->as_mb_part[PRED_L0].s_mv_curr.i2_mvx; in ih264e_compute_me_single_reflist()
1058 … ps_proc->ps_pu->s_me_info[PRED_L0].s_mv.i2_mvy = ps_me_ctxt->as_mb_part[PRED_L0].s_mv_curr.i2_mvy; in ih264e_compute_me_single_reflist()
1062 ps_proc->ps_pu->b2_pred_mode = PRED_L0 ; in ih264e_compute_me_single_reflist()
1065 ps_proc->ps_pu->s_me_info[0].i1_ref_idx = -1; in ih264e_compute_me_single_reflist()
1066 ps_proc->ps_pu->s_me_info[1].i1_ref_idx = 0; in ih264e_compute_me_single_reflist()
1073 ps_proc->ps_pu->b4_pos_x = 0; in ih264e_compute_me_single_reflist()
1074 ps_proc->ps_pu->b4_pos_y = 0; in ih264e_compute_me_single_reflist()
1077 ps_proc->ps_pu->b4_wd = 3; in ih264e_compute_me_single_reflist()
[all …]
Dih264e_deblk.c452 ps_proc->s_left_mb_pu.b2_pred_mode = ps_proc->ps_pu->b2_pred_mode; in ih264e_compute_bs()
453 ps_proc->s_left_mb_pu.s_me_info[0].s_mv = ps_proc->ps_pu->s_me_info[0].s_mv; in ih264e_compute_bs()
454 ps_proc->s_left_mb_pu.s_me_info[1].s_mv = ps_proc->ps_pu->s_me_info[1].s_mv; in ih264e_compute_bs()
460 ps_top_row_pu->b2_pred_mode = ps_proc->ps_pu->b2_pred_mode; in ih264e_compute_bs()
461 ps_top_row_pu->s_me_info[0].s_mv = ps_proc->ps_pu->s_me_info[0].s_mv; in ih264e_compute_bs()
462 ps_top_row_pu->s_me_info[1].s_mv = ps_proc->ps_pu->s_me_info[1].s_mv; in ih264e_compute_bs()
472 ps_proc->ps_pu); in ih264e_compute_bs()
Dih264e_process.c754 … *i2_mv_ptr++ = ps_proc->ps_pu->s_me_info[0].s_mv.i2_mvx - ps_proc->ps_pred_mv[0].s_mv.i2_mvx; in ih264e_pack_header_data()
756 … *i2_mv_ptr++ = ps_proc->ps_pu->s_me_info[0].s_mv.i2_mvy - ps_proc->ps_pred_mv[0].s_mv.i2_mvy; in ih264e_pack_header_data()
780 UWORD32 u4_pred_mode = ps_proc->ps_pu->b2_pred_mode; in ih264e_pack_header_data()
796 *i2_mv_ptr++ = ps_proc->ps_pu->s_me_info[0].s_mv.i2_mvx in ih264e_pack_header_data()
799 *i2_mv_ptr++ = ps_proc->ps_pu->s_me_info[0].s_mv.i2_mvy in ih264e_pack_header_data()
804 *i2_mv_ptr++ = ps_proc->ps_pu->s_me_info[1].s_mv.i2_mvx in ih264e_pack_header_data()
807 *i2_mv_ptr++ = ps_proc->ps_pu->s_me_info[1].s_mv.i2_mvy in ih264e_pack_header_data()
834 UWORD32 u4_pred_mode = ps_proc->ps_pu->b2_pred_mode; in ih264e_pack_header_data()
982 *ps_left_mb_pu = *ps_top_row_pu = *(ps_proc->ps_pu); in ih264e_update_proc_ctxt()
990 *ps_left_mb_pu = *ps_top_row_pu = *(ps_proc->ps_pu); in ih264e_update_proc_ctxt()
[all …]
Dih264e_mc.c169 ps_curr_pu = ps_proc->ps_pu + u4_num_prtn; in ih264e_motion_comp_luma()
336 ps_curr_pu = ps_proc->ps_pu + u4_num_prtn; in ih264e_motion_comp_chroma()
Dih264e_structs.h710 enc_pu_t *ps_pu; member
1558 enc_pu_t *ps_pu; member
/external/libavc/common/
Dih264_structs.h341 pu_t *ps_pu; member
/external/libhevc/common/
Dihevc_structs.h1625 pu_t *ps_pu; member