Home
last modified time | relevance | path

Searched refs:ps_dec (Results 1 – 25 of 61) sorted by relevance

123

/external/libmpeg2/decoder/
Dimpeg2d_pic_proc.c48 void impeg2d_format_convert(dec_state_t *ps_dec, in impeg2d_format_convert() argument
61 pu1_src_y = ps_src_pic->pu1_y + (u4_start_row * ps_dec->u2_frame_width); in impeg2d_format_convert()
62 pu1_src_u = ps_src_pic->pu1_u + ((u4_start_row >> 1) * (ps_dec->u2_frame_width >> 1)); in impeg2d_format_convert()
63 pu1_src_v = ps_src_pic->pu1_v + ((u4_start_row >> 1) *(ps_dec->u2_frame_width >> 1)); in impeg2d_format_convert()
65 pu1_dst_y = (UWORD8 *)ps_disp_frm_buf->pv_y_buf + (u4_start_row * ps_dec->u4_frm_buf_stride); in impeg2d_format_convert()
66 …pu1_dst_u = (UWORD8 *)ps_disp_frm_buf->pv_u_buf +((u4_start_row >> 1)*(ps_dec->u4_frm_buf_stride… in impeg2d_format_convert()
67 …pu1_dst_v = (UWORD8 *)ps_disp_frm_buf->pv_v_buf +((u4_start_row >> 1)*(ps_dec->u4_frm_buf_stride… in impeg2d_format_convert()
69 if (IV_YUV_420P == ps_dec->i4_chromaFormat) in impeg2d_format_convert()
71 ps_dec->pf_copy_yuv420p_buf(pu1_src_y, pu1_src_u, pu1_src_v, pu1_dst_y, in impeg2d_format_convert()
73 ps_dec->u2_horizontal_size, in impeg2d_format_convert()
[all …]
Dimpeg2d_dec_hdr.c58 void impeg2d_next_start_code(dec_state_t *ps_dec) in impeg2d_next_start_code() argument
61 ps_stream = &ps_dec->s_bit_stream; in impeg2d_next_start_code()
65 && (ps_dec->s_bit_stream.u4_offset < ps_dec->s_bit_stream.u4_max_offset)) in impeg2d_next_start_code()
81 void impeg2d_next_code(dec_state_t *ps_dec, UWORD32 u4_start_code_val) in impeg2d_next_code() argument
84 ps_stream = &ps_dec->s_bit_stream; in impeg2d_next_code()
88 (ps_dec->s_bit_stream.u4_offset < ps_dec->s_bit_stream.u4_max_offset)) in impeg2d_next_code()
109 void impeg2d_peek_next_start_code(dec_state_t *ps_dec) in impeg2d_peek_next_start_code() argument
112 ps_stream = &ps_dec->s_bit_stream; in impeg2d_peek_next_start_code()
116 && (ps_dec->s_bit_stream.u4_offset < ps_dec->s_bit_stream.u4_max_offset)) in impeg2d_peek_next_start_code()
133 IMPEG2D_ERROR_CODES_T impeg2d_dec_seq_hdr(dec_state_t *ps_dec) in impeg2d_dec_seq_hdr() argument
[all …]
Dimpeg2d_pnb_pic.c63 WORD32 impeg2d_dec_p_mb_params(dec_state_t *ps_dec) in impeg2d_dec_p_mb_params() argument
65 stream_t *ps_stream = &ps_dec->s_bit_stream; in impeg2d_dec_p_mb_params()
80 if(0 == ps_dec->u2_first_mb) in impeg2d_dec_p_mb_params()
104 … if(ps_dec->u2_is_mpeg2 && ((ps_dec->u2_mb_x + u2_mb_addr_incr) > ps_dec->u2_num_horiz_mb) ) in impeg2d_dec_p_mb_params()
106 u2_mb_addr_incr = ps_dec->u2_num_horiz_mb - ps_dec->u2_mb_x; in impeg2d_dec_p_mb_params()
109 impeg2d_dec_skip_mbs(ps_dec, (UWORD16)(u2_mb_addr_incr - 1)); in impeg2d_dec_p_mb_params()
118 u2_mb_type = ps_dec->pu2_mb_type[BITS((UWORD16)u4_next_word,15,10)]; in impeg2d_dec_p_mb_params()
127 if((u2_mb_type & MB_FORW_OR_BACK) && ps_dec->u2_read_motion_type) in impeg2d_dec_p_mb_params()
130 ps_dec->u2_motion_type = BITS((UWORD16)u4_next_word,15,14); in impeg2d_dec_p_mb_params()
133 i4_motion_type = ps_dec->u2_motion_type; in impeg2d_dec_p_mb_params()
[all …]
Dimpeg2d_i_pic.c57 void impeg2d_dec_i_mb_params(dec_state_t *ps_dec) in impeg2d_dec_i_mb_params() argument
62 stream_t *ps_stream = &ps_dec->s_bit_stream; in impeg2d_dec_i_mb_params()
76 else if(ps_dec->u2_first_mb && ps_dec->u2_mb_x) in impeg2d_dec_i_mb_params()
91 ps_dec->u2_mb_x = i4_mb_add_inc - 1; in impeg2d_dec_i_mb_params()
92 ps_dec->u2_mb_x = MIN(ps_dec->u2_mb_x, (ps_dec->u2_num_horiz_mb - 1)); in impeg2d_dec_i_mb_params()
107 if(ps_dec->u2_read_dct_type) in impeg2d_dec_i_mb_params()
110 ps_dec->u2_field_dct = BIT(u2_next_bits,6); in impeg2d_dec_i_mb_params()
119 if(ps_dec->u2_read_dct_type) in impeg2d_dec_i_mb_params()
122 ps_dec->u2_field_dct = BIT(u2_next_bits,5); in impeg2d_dec_i_mb_params()
135 ps_dec->u1_quant_scale = (ps_dec->u2_q_scale_type) ? in impeg2d_dec_i_mb_params()
[all …]
Dimpeg2d_mc.c108 void impeg2d_motion_comp(dec_state_t *ps_dec, mb_mc_params_t *ps_params,yuv_buf_t *ps_buf) in impeg2d_motion_comp() argument
114ps_dec->pf_mc[ps_params->s_luma.u4_mode]((void *)ps_dec, ps_params->s_ref.pu1_y + ps_params->s_lum… in impeg2d_motion_comp()
121ps_dec->pf_mc[ps_params->s_chroma.u4_mode]((void *)ps_dec, ps_params->s_ref.pu1_u + ps_params->s_c… in impeg2d_motion_comp()
129ps_dec->pf_mc[ps_params->s_chroma.u4_mode]((void *)ps_dec, ps_params->s_ref.pu1_v + ps_params->s_c… in impeg2d_motion_comp()
165 void impeg2d_motion_comp_recon_buf(dec_state_t *ps_dec, in impeg2d_motion_comp_recon_buf() argument
173ps_dec->pf_mc[ps_params->s_luma.u4_mode](ps_dec, ps_params->s_ref.pu1_y + ps_params->s_luma.u4_src… in impeg2d_motion_comp_recon_buf()
182ps_dec->pf_mc[ps_params->s_chroma.u4_mode](ps_dec, ps_params->s_ref.pu1_u + ps_params->s_chroma.u4… in impeg2d_motion_comp_recon_buf()
190ps_dec->pf_mc[ps_params->s_chroma.u4_mode](ps_dec, ps_params->s_ref.pu1_v + ps_params->s_chroma.u4… in impeg2d_motion_comp_recon_buf()
226 void impeg2d_mc_1mv(dec_state_t *ps_dec) in impeg2d_mc_1mv() argument
229 …impeg2d_motion_comp_recon_buf(ps_dec, &ps_dec->as_mb_mc_params[ps_dec->e_mb_pred][FIRST], &ps_dec-… in impeg2d_mc_1mv()
[all …]
Dimpeg2d_mv_dec.c205 void impeg2d_dec_1mv_mb(dec_state_t *ps_dec) in impeg2d_dec_1mv_mb() argument
214 ps_stream = &ps_dec->s_bit_stream; in impeg2d_dec_1mv_mb()
215 e_ref_pic = ps_dec->e_mb_pred; in impeg2d_dec_1mv_mb()
219 pi2_mv = (WORD16 *)&ps_dec->ai2_mv[FORW][FIRST]; in impeg2d_dec_1mv_mb()
220 e_fld = impeg2d_dec_mv(ps_stream,ps_dec->ai2_pred_mv[e_ref_pic][FIRST],pi2_mv, in impeg2d_dec_1mv_mb()
221 ps_dec->au2_f_code[e_ref_pic],0, ps_dec->u2_fld_pic); in impeg2d_dec_1mv_mb()
223 ps_dec->ai2_pred_mv[e_ref_pic][SECOND][MV_X] = ps_dec->ai2_pred_mv[e_ref_pic][FIRST][MV_X]; in impeg2d_dec_1mv_mb()
224 ps_dec->ai2_pred_mv[e_ref_pic][SECOND][MV_Y] = ps_dec->ai2_pred_mv[e_ref_pic][FIRST][MV_Y]; in impeg2d_dec_1mv_mb()
228 ps_mc = &ps_dec->as_mb_mc_params[e_ref_pic][FIRST]; in impeg2d_dec_1mv_mb()
229 ps_mc->s_ref = ps_dec->as_ref_buf[e_ref_pic][e_fld]; in impeg2d_dec_1mv_mb()
[all …]
Dimpeg2d_function_selector_generic.c76 dec_state_t *ps_dec = (dec_state_t *)pv_codec; in impeg2d_init_function_ptr_generic() local
78 ps_dec->pf_idct_recon[0] = &impeg2_idct_recon_dc; in impeg2d_init_function_ptr_generic()
79 ps_dec->pf_idct_recon[1] = &impeg2_idct_recon_dc_mismatch; in impeg2d_init_function_ptr_generic()
80 ps_dec->pf_idct_recon[2] = &impeg2_idct_recon; in impeg2d_init_function_ptr_generic()
81 ps_dec->pf_idct_recon[3] = &impeg2_idct_recon; in impeg2d_init_function_ptr_generic()
83 ps_dec->pf_mc[0] = &impeg2d_mc_fullx_fully; in impeg2d_init_function_ptr_generic()
84 ps_dec->pf_mc[1] = &impeg2d_mc_fullx_halfy; in impeg2d_init_function_ptr_generic()
85 ps_dec->pf_mc[2] = &impeg2d_mc_halfx_fully; in impeg2d_init_function_ptr_generic()
86 ps_dec->pf_mc[3] = &impeg2d_mc_halfx_halfy; in impeg2d_init_function_ptr_generic()
88 ps_dec->pf_interpolate = &impeg2_interpolate; in impeg2d_init_function_ptr_generic()
[all …]
Dimpeg2d_decoder.c73 void impeg2d_next_start_code(dec_state_t *ps_dec);
74 void impeg2d_next_code(dec_state_t *ps_dec, UWORD32 u4_start_code_val);
100 dec_state_t *ps_dec; in impeg2d_dec_hdr() local
102 ps_dec = (dec_state_t *)pv_dec; in impeg2d_dec_hdr()
105 impeg2d_bit_stream_init(&(ps_dec->s_bit_stream),ps_ip->s_ivd_video_decode_ip_t.pv_stream_buffer, in impeg2d_dec_hdr()
111 e_error = impeg2d_process_video_header(ps_dec); in impeg2d_dec_hdr()
116 u4_bits_read = impeg2d_bit_stream_num_bits_read(&ps_dec->s_bit_stream); in impeg2d_dec_hdr()
127 impeg2d_next_code(ps_dec, SEQUENCE_HEADER_CODE); in impeg2d_dec_hdr()
131 ps_op->s_ivd_video_decode_op_t.u4_pic_ht = ps_dec->u2_vertical_size; in impeg2d_dec_hdr()
132 ps_op->s_ivd_video_decode_op_t.u4_pic_wd = ps_dec->u2_horizontal_size; in impeg2d_dec_hdr()
[all …]
Dimpeg2d_d_pic.c141 IMPEG2D_ERROR_CODES_T impeg2d_dec_d_slice(dec_state_t *ps_dec) in impeg2d_dec_d_slice() argument
144 yuv_buf_t *ps_cur_frm_buf = &ps_dec->s_cur_frm_buf; in impeg2d_dec_d_slice()
146 stream_t *ps_stream = &ps_dec->s_bit_stream; in impeg2d_dec_d_slice()
150 UWORD32 u4_frame_width = ps_dec->u2_frame_width; in impeg2d_dec_d_slice()
152 if(ps_dec->u2_picture_structure != FRAME_PICTURE) in impeg2d_dec_d_slice()
155 if(ps_dec->u2_picture_structure == BOTTOM_FIELD) in impeg2d_dec_d_slice()
157 u4_frm_offset = ps_dec->u2_frame_width; in impeg2d_dec_d_slice()
168 UWORD32 u4_dst_x_offset = u4_frm_offset + (ps_dec->u2_mb_x << 4); in impeg2d_dec_d_slice()
169 UWORD32 u4_dst_y_offset = (ps_dec->u2_mb_y << 4) * u4_frame_width; in impeg2d_dec_d_slice()
199 i2_dc_val = ps_dec->u2_def_dc_pred[Y_LUMA] + i2_dc_diff; in impeg2d_dec_d_slice()
[all …]
/external/libavc/decoder/
Dih264d_parse_slice.c88 void ih264d_form_pred_weight_matrix(dec_struct_t *ps_dec) in ih264d_form_pred_weight_matrix() argument
98 ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_form_pred_weight_matrix()
102 pu4_mat_iwt_ofst = ps_dec->pu4_wts_ofsts_mat; in ih264d_form_pred_weight_matrix()
161 WORD32 ih264d_start_of_pic(dec_struct_t *ps_dec, in ih264d_start_of_pic() argument
167 pocstruct_t *ps_prev_poc = &ps_dec->s_cur_pic_poc; in ih264d_start_of_pic()
173 (ivd_video_decode_op_t *)ps_dec->pv_dec_out; in ih264d_start_of_pic()
174 dec_slice_params_t *ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_start_of_pic()
182 H264_MUTEX_LOCK(&ps_dec->process_disp_mutex); in ih264d_start_of_pic()
192 ps_prev_poc->u1_bot_field = ps_dec->ps_cur_slice->u1_bottom_field_flag; in ih264d_start_of_pic()
195 ps_dec->i1_prev_mb_qp_delta = 0; in ih264d_start_of_pic()
[all …]
Dih264d_thread_parse_decode.c54 void ih264d_deblock_mb_level(dec_struct_t *ps_dec,
58 void ih264d_copy_intra_pred_line(dec_struct_t *ps_dec,
62 void ih264d_parse_tfr_nmb(dec_struct_t * ps_dec, in ih264d_parse_tfr_nmb() argument
71 const UWORD32 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_parse_tfr_nmb()
80 u4_n_mb_start = (ps_dec->u2_cur_mb_addr + 1) - u1_num_mbs; in ih264d_parse_tfr_nmb()
85 u4_mb_num = (ps_dec->u2_cur_mb_addr + 1) - u1_num_mbs; in ih264d_parse_tfr_nmb()
89 UPDATE_SLICE_NUM_MAP(ps_dec->pu2_slice_num_map, u4_mb_num, in ih264d_parse_tfr_nmb()
90 ps_dec->u2_cur_slice_num); in ih264d_parse_tfr_nmb()
92 UPDATE_MB_MAP_MBNUM_BYTE(ps_dec->pu1_dec_mb_map, u4_mb_num); in ih264d_parse_tfr_nmb()
112 ps_dec->s_tran_addrecon_parse.pu1_dest_y += in ih264d_parse_tfr_nmb()
[all …]
Dih264d_utils.c450 WORD32 ih264d_end_of_pic_processing(dec_struct_t *ps_dec) in ih264d_end_of_pic_processing() argument
453 dec_slice_params_t *ps_cur_slice = ps_dec->ps_cur_slice; in ih264d_end_of_pic_processing()
475 if(ps_dec->ps_dpb_cmds->u1_long_term_reference_flag == 0) in ih264d_end_of_pic_processing()
477 ih264d_reset_ref_bufs(ps_dec->ps_dpb_mgr); in ih264d_end_of_pic_processing()
480 ret = ih264d_insert_st_node(ps_dec->ps_dpb_mgr, in ih264d_end_of_pic_processing()
481 ps_dec->ps_cur_pic, in ih264d_end_of_pic_processing()
482 ps_dec->u1_pic_buf_id, in ih264d_end_of_pic_processing()
493 ret = ih264d_insert_st_node(ps_dec->ps_dpb_mgr, in ih264d_end_of_pic_processing()
494 ps_dec->ps_cur_pic, in ih264d_end_of_pic_processing()
495 ps_dec->u1_pic_buf_id, in ih264d_end_of_pic_processing()
[all …]
Dih264d_api.c144 WORD32 ih264d_deblock_display(dec_struct_t *ps_dec);
146 void ih264d_signal_decode_thread(dec_struct_t *ps_dec);
148 void ih264d_signal_bs_deblk_thread(dec_struct_t *ps_dec);
149 void ih264d_decode_picture_thread(dec_struct_t *ps_dec);
155 void ih264d_fill_output_struct_from_context(dec_struct_t *ps_dec,
922 dec_struct_t * ps_dec = (dec_struct_t *)ps_dec_params; in ih264d_init_decoder() local
928 memset(ps_dec->ps_pred, 0 , size); in ih264d_init_decoder()
931 memset(ps_dec->pv_disp_buf_mgr, 0 , size); in ih264d_init_decoder()
934 memset(ps_dec->pv_pic_buf_mgr, 0, size); in ih264d_init_decoder()
937 memset(ps_dec->ps_dec_err_status, 0, size); in ih264d_init_decoder()
[all …]
Dih264d_parse_pslice.c66 void ih264d_init_cabac_contexts(UWORD8 u1_slice_type, dec_struct_t * ps_dec);
67 void ih264d_deblock_mb_level(dec_struct_t *ps_dec,
82 WORD32 ih264d_parse_pmb_cavlc(dec_struct_t * ps_dec, in ih264d_parse_pmb_cavlc() argument
89 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_pmb_cavlc()
93 parse_pmbarams_t * ps_parse_mb_data = ps_dec->ps_parse_mb_data in ih264d_parse_pmb_cavlc()
96 const UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_parse_pmb_cavlc()
183 (ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active[0] in ih264d_parse_pmb_cavlc()
213 parse_part_params_t * ps_part = ps_dec->ps_part; in ih264d_parse_pmb_cavlc()
217 mv_pred_t * ps_mv, *ps_mv_start = ps_dec->ps_mv_cur + (u1_mb_num << 4); in ih264d_parse_pmb_cavlc()
318 ps_dec->ps_part = ps_part; in ih264d_parse_pmb_cavlc()
[all …]
Dih264d_thread_compute_bs.c61 void ih264d_copy_intra_pred_line(dec_struct_t *ps_dec,
89 void ih264d_compute_bs_non_mbaff_thread(dec_struct_t * ps_dec, in ih264d_compute_bs_non_mbaff_thread() argument
117 ps_deblk_top_mb = ps_dec->ps_deblk_top_mb + u2_mbx; in ih264d_compute_bs_non_mbaff_thread()
120 ps_cur_mb_params = ps_dec->ps_deblk_pic + u4_mb_num; in ih264d_compute_bs_non_mbaff_thread()
121 ps_cur_mv_pred = ps_dec->s_cur_pic.ps_mv + (u4_mb_num << 4); in ih264d_compute_bs_non_mbaff_thread()
124 (void **)ps_dec->ps_computebs_cur_slice->ppv_map_ref_idx_to_poc in ih264d_compute_bs_non_mbaff_thread()
134 ps_cur_mb_params->u1_left_mb_qp = ps_dec->deblk_left_mb[1].u1_mb_qp; in ih264d_compute_bs_non_mbaff_thread()
135 ps_dec->deblk_left_mb[1].u1_mb_qp = ps_cur_mb_params->u1_mb_qp; in ih264d_compute_bs_non_mbaff_thread()
154 ps_dec->ps_left_mvpred_addr[!u1_pingpong][1].u4_add; in ih264d_compute_bs_non_mbaff_thread()
170 ps_dec->deblk_left_mb[1].u1_mb_type = ps_cur_mb_params->u1_mb_type; in ih264d_compute_bs_non_mbaff_thread()
[all …]
Dih264d_mb_utils.c80 UWORD32 ih264d_get_mb_info_cavlc_nonmbaff(dec_struct_t *ps_dec, in ih264d_get_mb_info_cavlc_nonmbaff() argument
88 UWORD16 u2_frm_width_in_mb = ps_dec->u2_frm_wd_in_mbs; in ih264d_get_mb_info_cavlc_nonmbaff()
89 WORD16 i2_prev_slice_mbx = ps_dec->i2_prev_slice_mbx; in ih264d_get_mb_info_cavlc_nonmbaff()
96 mb_x = (WORD16)ps_dec->u2_mbx; in ih264d_get_mb_info_cavlc_nonmbaff()
97 mb_y = (WORD16)ps_dec->u2_mby; in ih264d_get_mb_info_cavlc_nonmbaff()
99 ps_dec->u2_cur_mb_addr = u2_cur_mb_address; in ih264d_get_mb_info_cavlc_nonmbaff()
108 if(mb_y > ps_dec->i2_prev_slice_mby) in ih264d_get_mb_info_cavlc_nonmbaff()
112 if(mb_y > (ps_dec->i2_prev_slice_mby + 1)) in ih264d_get_mb_info_cavlc_nonmbaff()
147 mb_neigbour_params_t *ps_cur_mb_row = ps_dec->ps_cur_mb_row; in ih264d_get_mb_info_cavlc_nonmbaff()
148 mb_neigbour_params_t *ps_top_mb_row = ps_dec->ps_top_mb_row; in ih264d_get_mb_info_cavlc_nonmbaff()
[all …]
Dih264d_parse_islice.c65 void ih264d_init_cabac_contexts(UWORD8 u1_slice_type, dec_struct_t * ps_dec);
67 void ih264d_itrans_recon_luma_dc(dec_struct_t *ps_dec,
87 WORD32 ih264d_parse_imb_cavlc(dec_struct_t * ps_dec, in ih264d_parse_imb_cavlc() argument
101 dec_bit_stream_t * const ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_imb_cavlc()
109 u4_temp = ps_dec->u1_mb_ngbr_availablity; in ih264d_parse_imb_cavlc()
123 if(ps_dec->s_high_profile.u1_transform8x8_present) in ih264d_parse_imb_cavlc()
136 ih264d_read_intra_pred_modes(ps_dec, in ih264d_parse_imb_cavlc()
137 ((UWORD8 *)ps_dec->pv_parse_tu_coeff_data), in ih264d_parse_imb_cavlc()
138 ((UWORD8 *)ps_dec->pv_parse_tu_coeff_data+16), in ih264d_parse_imb_cavlc()
140 pu1_temp = (UWORD8 *)ps_dec->pv_parse_tu_coeff_data; in ih264d_parse_imb_cavlc()
[all …]
Dih264d_deblocking.c77 void ih264d_filter_boundary_left_nonmbaff(dec_struct_t *ps_dec, in ih264d_filter_boundary_left_nonmbaff() argument
152 ps_dec->pf_deblk_luma_vert_bs4(pu1_y, i4_strd_y, alpha_y, beta_y); in ih264d_filter_boundary_left_nonmbaff()
153 ps_dec->pf_deblk_chroma_vert_bs4(pu1_u, i4_strd_uv, alpha_u, in ih264d_filter_boundary_left_nonmbaff()
164 ps_dec->pf_deblk_luma_vert_bslt4(pu1_y, i4_strd_y, alpha_y, in ih264d_filter_boundary_left_nonmbaff()
167 ps_dec->pf_deblk_chroma_vert_bslt4(pu1_u, i4_strd_uv, alpha_u, in ih264d_filter_boundary_left_nonmbaff()
186 ps_dec->pf_deblk_luma_vert_bs4_mbaff(pu1_y, i4_strd_y, alpha_y, in ih264d_filter_boundary_left_nonmbaff()
188 ps_dec->pf_deblk_chroma_vert_bs4_mbaff(pu1_u, i4_strd_uv, alpha_u, in ih264d_filter_boundary_left_nonmbaff()
201 ps_dec->pf_deblk_luma_vert_bslt4_mbaff(pu1_y, i4_strd_y, in ih264d_filter_boundary_left_nonmbaff()
205 ps_dec->pf_deblk_chroma_vert_bslt4_mbaff(pu1_u, i4_strd_uv, in ih264d_filter_boundary_left_nonmbaff()
257 ps_dec->pf_deblk_luma_vert_bs4_mbaff(pu1_y, i4_strd_y, alpha_y, in ih264d_filter_boundary_left_nonmbaff()
[all …]
Dih264d_parse_bslice.c60 void ih264d_init_cabac_contexts(UWORD8 u1_slice_type, dec_struct_t * ps_dec);
74 WORD32 ih264d_parse_bmb_non_direct_cavlc(dec_struct_t * ps_dec, in ih264d_parse_bmb_non_direct_cavlc() argument
79 dec_bit_stream_t * ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_parse_bmb_non_direct_cavlc()
89 parse_pmbarams_t * ps_parse_mb_data = ps_dec->ps_parse_mb_data in ih264d_parse_bmb_non_direct_cavlc()
148 ps_dec->s_high_profile.u1_no_submb_part_size_lt8x8_flag = 0; in ih264d_parse_bmb_non_direct_cavlc()
151 else if(!ps_dec->s_high_profile.u1_direct_8x8_inference_flag) in ih264d_parse_bmb_non_direct_cavlc()
153 ps_dec->s_high_profile.u1_no_submb_part_size_lt8x8_flag = 0; in ih264d_parse_bmb_non_direct_cavlc()
182 UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_parse_bmb_non_direct_cavlc()
185 ps_dec->ps_cur_slice->u1_num_ref_idx_lx_active; in ih264d_parse_bmb_non_direct_cavlc()
243 mv_pred_t *ps_mv_start = ps_dec->ps_mv_cur + (u1_mb_num << 4); in ih264d_parse_bmb_non_direct_cavlc()
[all …]
Dih264d_process_pslice.c62 void ih264d_init_cabac_contexts(UWORD8 u1_slice_type, dec_struct_t * ps_dec);
70 WORD32 ih264d_mv_pred_ref_tfr_nby2_pmb(dec_struct_t * ps_dec, in ih264d_mv_pred_ref_tfr_nby2_pmb() argument
78 const UWORD32 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_mv_pred_ref_tfr_nby2_pmb()
83 ps_dec->i4_submb_ofst -= (u1_num_mbs - u1_mb_idx) << 4; in ih264d_mv_pred_ref_tfr_nby2_pmb()
84 ps_mb_part_info = ps_dec->ps_parse_mb_data; // + u1_mb_idx; in ih264d_mv_pred_ref_tfr_nby2_pmb()
85 ps_part = ps_dec->ps_parse_part_params; // + u1_mb_idx; in ih264d_mv_pred_ref_tfr_nby2_pmb()
97 *ps_mv_pred = ps_dec->s_default_mv_pred; in ih264d_mv_pred_ref_tfr_nby2_pmb()
99 ps_dec->i4_submb_ofst += SUB_BLK_SIZE; in ih264d_mv_pred_ref_tfr_nby2_pmb()
102 ps_cur_mb_info = ps_dec->ps_nmb_info + i; in ih264d_mv_pred_ref_tfr_nby2_pmb()
107 ps_mv_nmb_start = ps_dec->ps_mv_cur + (i << 4); in ih264d_mv_pred_ref_tfr_nby2_pmb()
[all …]
Dih264d_parse_headers.c84 WORD32 ih264d_parse_slice_partition(dec_struct_t * ps_dec, in ih264d_parse_slice_partition() argument
88 UNUSED(ps_dec); in ih264d_parse_slice_partition()
115 WORD32 ih264d_parse_sei(dec_struct_t * ps_dec, dec_bit_stream_t * ps_bitstrm) in ih264d_parse_sei() argument
117 UNUSED(ps_dec); in ih264d_parse_sei()
144 WORD32 ih264d_parse_filler_data(dec_struct_t * ps_dec, in ih264d_parse_filler_data() argument
147 UNUSED(ps_dec); in ih264d_parse_filler_data()
173 void ih264d_parse_end_of_stream(dec_struct_t * ps_dec) in ih264d_parse_end_of_stream() argument
175 UNUSED(ps_dec); in ih264d_parse_end_of_stream()
190 WORD32 ih264d_parse_pps(dec_struct_t * ps_dec, dec_bit_stream_t * ps_bitstrm) in ih264d_parse_pps() argument
195 UWORD32 *pu4_bitstrm_buf = ps_dec->ps_bitstrm->pu4_buffer; in ih264d_parse_pps()
[all …]
Dih264d_process_bslice.c56 void ih264d_init_cabac_contexts(UWORD8 u1_slice_type, dec_struct_t * ps_dec);
71 WORD32 ih264d_decode_spatial_direct(dec_struct_t * ps_dec, in ih264d_decode_spatial_direct() argument
78 UWORD8 u1_mbaff = ps_dec->ps_cur_slice->u1_mbaff_frame_flag; in ih264d_decode_spatial_direct()
80 mv_pred_t *ps_mv_nmb_start = ps_dec->ps_mv_cur + (u1_mb_num << 4); in ih264d_decode_spatial_direct()
107 ps_mv_ntop_start = ps_dec->ps_mv_cur + (u1_mb_num << 4) in ih264d_decode_spatial_direct()
108 - (ps_dec->u2_frm_wd_in_mbs << (4 + u1_mbaff)) + 12; in ih264d_decode_spatial_direct()
114 u1_direct_zero_pred_flag = ps_dec->pf_mvpred(ps_dec, ps_cur_mb_info, ps_mv_nmb_start, in ih264d_decode_spatial_direct()
134 UWORD8 u1_scale_ref = (ps_dec->ps_cur_slice->u1_mbaff_frame_flag in ih264d_decode_spatial_direct()
149 ps_pic_buff0 = ps_dec->ps_ref_pic_buf_lx[0][u1_ref_idx1]; in ih264d_decode_spatial_direct()
165 ps_pic_buff1 = ps_dec->ps_ref_pic_buf_lx[1][u1_ref_idx1]; in ih264d_decode_spatial_direct()
[all …]
Dih264d_process_intra_mb.c62 void ih264d_itrans_recon_luma_dc(dec_struct_t *ps_dec, in ih264d_itrans_recon_luma_dc() argument
72 ps_dec->pf_ihadamard_scaling_4x4(pi2_src, pi2_out, in ih264d_itrans_recon_luma_dc()
73 ps_dec->pu2_quant_scale_y, pu2_weigh_mat, in ih264d_itrans_recon_luma_dc()
74 ps_dec->u1_qp_y_div6, pi4_tmp); in ih264d_itrans_recon_luma_dc()
105 WORD32 ih264d_read_intra_pred_modes(dec_struct_t * ps_dec, in ih264d_read_intra_pred_modes() argument
112 dec_bit_stream_t * ps_bitstrm = ps_dec->ps_bitstrm; in ih264d_read_intra_pred_modes()
157 WORD32 ih264d_unpack_coeff4x4_4x4blk(dec_struct_t * ps_dec, in ih264d_unpack_coeff4x4_4x4blk() argument
161 tu_sblk4x4_coeff_data_t *ps_tu_4x4 = (tu_sblk4x4_coeff_data_t *)ps_dec->pv_proc_tu_coeff_data; in ih264d_unpack_coeff4x4_4x4blk()
190 ps_dec->pv_proc_tu_coeff_data = (void *)((UWORD8 *)ps_dec->pv_proc_tu_coeff_data + offset); in ih264d_unpack_coeff4x4_4x4blk()
196 UWORD32 ih264d_unpack_coeff4x4_8x8blk(dec_struct_t * ps_dec, in ih264d_unpack_coeff4x4_8x8blk() argument
[all …]
Dih264d_quant_scaling.c77 void ih264d_form_default_scaling_matrix(dec_struct_t *ps_dec) in ih264d_form_default_scaling_matrix() argument
94 ps_dec->s_high_profile.i2_scalinglist4x4[i4_i][pu1_inv_scan[i4_j]] = in ih264d_form_default_scaling_matrix()
105ps_dec->s_high_profile.i2_scalinglist8x8[i4_i][gau1_ih264d_inv_scan_prog8x8_cabac[i4_j]] = in ih264d_form_default_scaling_matrix()
115 dec_struct_t *ps_dec) in ih264d_form_scaling_matrix_picture() argument
132 ps_dec->s_high_profile.pi2_scale_mat[i4_i] = in ih264d_form_scaling_matrix_picture()
137 ps_dec->s_high_profile.pi2_scale_mat[i4_i] = in ih264d_form_scaling_matrix_picture()
138 ps_dec->s_high_profile.pi2_scale_mat[i4_i in ih264d_form_scaling_matrix_picture()
146 ps_dec->s_high_profile.pi2_scale_mat[i4_i] = in ih264d_form_scaling_matrix_picture()
151 ps_dec->s_high_profile.pi2_scale_mat[i4_i] = in ih264d_form_scaling_matrix_picture()
163 ps_dec->s_high_profile.pi2_scale_mat[i4_i] = in ih264d_form_scaling_matrix_picture()
[all …]
Dih264d_parse_cavlc.c315 dec_struct_t *ps_dec = (dec_struct_t *)ps_bitstrm->pv_codec_handle; in ih264d_cavlc_4x4res_block_totalcoeff_1() local
317 ps_tu_4x4 = (tu_sblk4x4_coeff_data_t *)ps_dec->pv_parse_tu_coeff_data; in ih264d_cavlc_4x4res_block_totalcoeff_1()
404ps_dec->pv_parse_tu_coeff_data = (void *)((UWORD8 *)ps_dec->pv_parse_tu_coeff_data + offset); in ih264d_cavlc_4x4res_block_totalcoeff_1()
454 dec_struct_t *ps_dec = (dec_struct_t *)ps_bitstrm->pv_codec_handle; in ih264d_cavlc_4x4res_block_totalcoeff_2to10() local
456 ps_tu_4x4 = (tu_sblk4x4_coeff_data_t *)ps_dec->pv_parse_tu_coeff_data; in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
686ps_dec->pv_parse_tu_coeff_data = (void *)((UWORD8 *)ps_dec->pv_parse_tu_coeff_data + offset); in ih264d_cavlc_4x4res_block_totalcoeff_2to10()
736 dec_struct_t *ps_dec = (dec_struct_t *)ps_bitstrm->pv_codec_handle; in ih264d_cavlc_4x4res_block_totalcoeff_11to16() local
738 ps_tu_4x4 = (tu_sblk4x4_coeff_data_t *)ps_dec->pv_parse_tu_coeff_data; in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
967ps_dec->pv_parse_tu_coeff_data = (void *)((UWORD8 *)ps_dec->pv_parse_tu_coeff_data + offset); in ih264d_cavlc_4x4res_block_totalcoeff_11to16()
1012 dec_struct_t *ps_dec = (dec_struct_t *)ps_bitstrm->pv_codec_handle; in ih264d_rest_of_residual_cav_chroma_dc_block() local
[all …]

123