Home
last modified time | relevance | path

Searched refs:s_parse (Results 1 – 10 of 10) sorted by relevance

/external/libhevc/decoder/
Dihevcd_parse_slice.c129 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_transform_tree()
133 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; in ihevcd_parse_transform_tree()
135 max_trafo_depth = ps_codec->s_parse.s_cu.i4_max_trafo_depth; in ihevcd_parse_transform_tree()
136 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_transform_tree()
137 ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_transform_tree()
138 intra_split_flag = ps_codec->s_parse.s_cu.i4_intra_split_flag; in ihevcd_parse_transform_tree()
161 (PRED_MODE_INTER == ps_codec->s_parse.s_cu.i4_pred_mode) && in ihevcd_parse_transform_tree()
162 (PART_2Nx2N != ps_codec->s_parse.s_cu.i4_part_mode) && in ihevcd_parse_transform_tree()
178 ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth] = 0; in ihevcd_parse_transform_tree()
179 ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth] = 0; in ihevcd_parse_transform_tree()
[all …]
Dihevcd_utils.c567 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_pic_buf_mgr_add_bufs()
626 ps_codec->s_parse.i4_error_code = IHEVCD_INSUFFICIENT_MEM_PICBUF; in ihevcd_pic_buf_mgr_add_bufs()
642 ps_codec->s_parse.i4_error_code = IHEVCD_BUF_MGR_ERROR; in ihevcd_pic_buf_mgr_add_bufs()
685 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_mv_buf_mgr_add_bufs()
729 ps_codec->s_parse.i4_error_code = IHEVCD_INSUFFICIENT_MEM_MVBANK; in ihevcd_mv_buf_mgr_add_bufs()
748 ps_codec->s_parse.i4_error_code = IHEVCD_BUF_MGR_ERROR; in ihevcd_mv_buf_mgr_add_bufs()
790 ps_codec->s_parse.i4_error_code = IHEVCD_SUCCESS; in ihevcd_parse_pic_init()
791 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_pic_init()
792 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_pic_init()
798 memset(ps_codec->s_parse.pu1_pic_intra_flag, 0, num_min_cu); in ihevcd_parse_pic_init()
[all …]
Dihevcd_parse_slice_header.c229 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_slice_header()
255 ps_pps = ps_codec->s_parse.ps_pps_base + pps_id; in ihevcd_parse_slice_header()
272 ps_sps = ps_codec->s_parse.ps_sps_base + sps_id; in ihevcd_parse_slice_header()
285 ps_codec->s_parse.i4_cur_slice_idx--; in ihevcd_parse_slice_header()
286 if(ps_codec->s_parse.i4_cur_slice_idx < 0) in ihevcd_parse_slice_header()
287 ps_codec->s_parse.i4_cur_slice_idx = 0; in ihevcd_parse_slice_header()
289 …ps_slice_hdr_next = ps_codec->s_parse.ps_slice_hdr_base + ((ps_codec->s_parse.i4_cur_slice_idx + 1… in ihevcd_parse_slice_header()
291 ps_slice_hdr_next->i2_ctb_y = ps_codec->s_parse.ps_sps->i2_pic_ht_in_ctb; in ihevcd_parse_slice_header()
302 ps_codec->s_parse.i4_cur_slice_idx = 0; in ihevcd_parse_slice_header()
311 ps_codec->s_parse.i4_cur_slice_idx = 1; in ihevcd_parse_slice_header()
[all …]
Dihevcd_decode.c232 if((ps_codec->i4_flush_mode == 0) && (ps_codec->s_parse.i4_end_of_frame == 0)) in ihevcd_fill_outargs()
532 ps_codec->s_parse.i4_end_of_frame = 0; in ihevcd_decode()
550 …slice_header_t *ps_slice_hdr_next = ps_codec->s_parse.ps_slice_hdr_base + (ps_codec->s_parse.i4_cu… in ihevcd_decode()
552 … ps_slice_hdr_next->i2_ctb_y * ps_codec->s_parse.ps_sps->i2_pic_wd_in_ctb; in ihevcd_decode()
553 if(ps_codec->s_parse.i4_next_ctb_indx == next_slice_addr) in ihevcd_decode()
574 ihevcd_bits_init(&ps_codec->s_parse.s_bitstrm, ps_codec->pu1_bitsbuf, in ihevcd_decode()
583 … (ps_codec->s_parse.i4_next_ctb_indx != ps_codec->s_parse.ps_sps->i4_pic_size_in_ctb)) in ihevcd_decode()
590 ps_codec->s_parse.i4_cur_slice_idx--; in ihevcd_decode()
591 if(ps_codec->s_parse.i4_cur_slice_idx < 0) in ihevcd_decode()
592 ps_codec->s_parse.i4_cur_slice_idx = 0; in ihevcd_decode()
[all …]
Dihevcd_intra_pred_mode_prediction.c118 parse_ctxt_t *ps_parse = &ps_codec->s_parse; in ihevcd_intra_pred_mode_prediction()
119 parse_cu_t *ps_cu = &ps_codec->s_parse.s_cu; in ihevcd_intra_pred_mode_prediction()
145 UWORD8 *pu1_pic_intra_flag = ps_codec->s_parse.pu1_pic_intra_flag; in ihevcd_intra_pred_mode_prediction()
163 …if((0 == ps_cu->i4_pos_x) && (((0 == ps_codec->s_parse.i4_ctb_slice_x) && (0 == ps_codec->s_parse.… in ihevcd_intra_pred_mode_prediction()
164 (0 == ps_codec->s_parse.i4_ctb_tile_x))) in ihevcd_intra_pred_mode_prediction()
171 UWORD8 *pu1_pic_intra_flag = ps_codec->s_parse.pu1_pic_intra_flag; in ihevcd_intra_pred_mode_prediction()
Dihevcd_parse_residual.c191 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_residual_coding()
198 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; in ihevcd_parse_residual_coding()
208 ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_residual_coding()
213 !ps_codec->s_parse.s_cu.i4_cu_transquant_bypass && in ihevcd_parse_residual_coding()
312 if(PRED_MODE_INTRA == ps_codec->s_parse.s_cu.i4_pred_mode) in ihevcd_parse_residual_coding()
337 WORD8 *pi1_buf = (WORD8 *)ps_codec->s_parse.pv_tu_coeff_data; in ihevcd_parse_residual_coding()
351 ps_codec->s_parse.pv_tu_coeff_data = pi1_buf; in ihevcd_parse_residual_coding()
643 ps_tu_sblk_coeff_data = (tu_sblk_coeff_data_t *)ps_codec->s_parse.pv_tu_coeff_data; in ihevcd_parse_residual_coding()
729 …sign_hidden = (((last_sig_scan_pos - first_sig_scan_pos) > 3) && !ps_codec->s_parse.s_cu.i4_cu_tra… in ihevcd_parse_residual_coding()
893 UWORD8 *pu1_buf = (UWORD8 *)ps_codec->s_parse.pv_tu_coeff_data; in ihevcd_parse_residual_coding()
[all …]
Dihevcd_api.c1523 ps_codec->s_parse.i4_first_pic_init = 0; in ihevcd_init()
1532 ps_codec->s_parse.i4_abs_pic_order_cnt = -1; in ihevcd_init()
1579 ps_codec->s_parse.pv_proc_jobq = ps_codec->pv_proc_jobq; in ihevcd_init()
2616 ps_codec->s_parse.ps_vps_base = ps_codec->ps_vps_base; in ihevcd_init_mem_rec()
2620 ps_codec->s_parse.ps_sps_base = ps_codec->ps_sps_base; in ihevcd_init_mem_rec()
2624 ps_codec->s_parse.ps_pps_base = ps_codec->ps_pps_base; in ihevcd_init_mem_rec()
2628 ps_codec->s_parse.ps_slice_hdr_base = ps_codec->ps_slice_hdr_base; in ihevcd_init_mem_rec()
2640 ps_codec->s_parse.pu4_skip_cu_top = (UWORD32 *)ps_mem_rec->pv_base; in ihevcd_init_mem_rec()
2643 ps_codec->s_parse.pu4_ct_depth_top = (UWORD32 *)ps_mem_rec->pv_base; in ihevcd_init_mem_rec()
2646 ps_codec->s_parse.pu1_luma_intra_pred_mode_left = in ihevcd_init_mem_rec()
[all …]
Dihevcd_parse_headers.c956 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_scaling_list_data()
1089 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_vps()
1095 ps_codec->s_parse.i4_error_code = IHEVCD_UNSUPPORTED_VPS_ID; in ihevcd_parse_vps()
1100 ps_vps = (ps_codec->s_parse.ps_vps_base + vps_id); in ihevcd_parse_vps()
1193 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_sps()
1223 ps_sps = (ps_codec->s_parse.ps_sps_base + MAX_SPS_CNT - 1); in ihevcd_parse_sps()
1237 ps_codec->s_parse.i4_error_code = IHEVCD_UNSUPPORTED_CHROMA_FMT_IDC; in ihevcd_parse_sps()
1473 ps_codec->s_parse.i4_next_ctb_indx = ps_sps->i4_pic_size_in_ctb; in ihevcd_parse_sps()
1594 ps_codec->s_parse.ps_sps = ps_sps; in ihevcd_copy_sps()
1627 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_pps()
[all …]
Dihevcd_nal.c337 ret = ihevcd_nal_unit_header(&ps_codec->s_parse.s_bitstrm, &s_nal); in ihevcd_nal_unit()
341 s_nal.i1_nal_unit_type = ps_codec->s_parse.ps_slice_hdr->i1_nal_unit_type; in ihevcd_nal_unit()
Dihevcd_structs.h2061 parse_ctxt_t s_parse; member