• Home
  • Raw
  • Download

Lines Matching refs:ps_slice_hdr

628     slice_header_t *ps_slice_hdr;  in ihevcd_parse_pu_mvp()  local
633 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_pu_mvp()
635 if(ps_slice_hdr->i1_slice_type == BSLICE) in ihevcd_parse_pu_mvp()
674 WORD32 active_refs = ps_slice_hdr->i1_num_ref_idx_l0_active; in ihevcd_parse_pu_mvp()
723 WORD32 active_refs = ps_slice_hdr->i1_num_ref_idx_l1_active; in ihevcd_parse_pu_mvp()
759 if(ps_slice_hdr->i1_mvd_l1_zero_flag && inter_pred_idc == PRED_BI) in ihevcd_parse_pu_mvp()
809 slice_header_t *ps_slice_hdr; in ihevcd_parse_prediction_unit() local
818 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_prediction_unit()
838 if(ps_slice_hdr->i1_max_num_merge_cand > 1) in ihevcd_parse_prediction_unit()
847 if(ps_slice_hdr->i1_max_num_merge_cand > 2) in ihevcd_parse_prediction_unit()
851 (ps_slice_hdr->i1_max_num_merge_cand - 2)); in ihevcd_parse_prediction_unit()
875 if(ps_slice_hdr->i1_max_num_merge_cand > 1) in ihevcd_parse_prediction_unit()
883 if(ps_slice_hdr->i1_max_num_merge_cand > 2) in ihevcd_parse_prediction_unit()
887 (ps_slice_hdr->i1_max_num_merge_cand - 2)); in ihevcd_parse_prediction_unit()
1160 slice_header_t *ps_slice_hdr; in ihevcd_parse_coding_unit() local
1184 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_coding_unit()
1233 if(ps_slice_hdr->i1_slice_type != ISLICE) in ihevcd_parse_coding_unit()
1363 if(ps_slice_hdr->i1_slice_type != ISLICE) in ihevcd_parse_coding_unit()
1960 slice_header_t *ps_slice_hdr; in ihevcd_parse_sao() local
1964 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr_base; in ihevcd_parse_sao()
1965 ps_slice_hdr += (ps_codec->s_parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1)); in ihevcd_parse_sao()
2024 …if((ps_slice_hdr->i1_slice_sao_luma_flag && c_idx == 0) || (ps_slice_hdr->i1_slice_sao_chroma_flag… in ihevcd_parse_sao()
2177 slice_header_t *ps_slice_hdr; in ihevcd_parse_slice_data() local
2192 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr_base; in ihevcd_parse_slice_data()
2197 ps_slice_hdr += (ps_codec->s_parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1)); in ihevcd_parse_slice_data()
2198 ps_pps += ps_slice_hdr->i1_pps_id; in ihevcd_parse_slice_data()
2203 if(!ps_slice_hdr->i1_dependent_slice_flag) in ihevcd_parse_slice_data()
2218 ps_codec->s_parse.i4_ctb_x = ps_slice_hdr->i2_ctb_x; in ihevcd_parse_slice_data()
2219 ps_codec->s_parse.i4_ctb_y = ps_slice_hdr->i2_ctb_y; in ihevcd_parse_slice_data()
2223 ps_codec->s_parse.ps_slice_hdr = ps_slice_hdr; in ihevcd_parse_slice_data()
2244 if(1 == ps_slice_hdr->i1_dependent_slice_flag) in ihevcd_parse_slice_data()
2254 if(!ps_slice_hdr->i1_dependent_slice_flag) in ihevcd_parse_slice_data()
2279 if(ps_slice_hdr->i1_num_ref_idx_l1_active != 0) in ihevcd_parse_slice_data()
2281 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l1_active; i++) in ihevcd_parse_slice_data()
2283 …parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1))][i] = ((pic_buf_t *)ps_slice_hdr->as_ref_pic_lis… in ihevcd_parse_slice_data()
2284 …parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1))][i] = ((pic_buf_t *)ps_slice_hdr->as_ref_pic_lis… in ihevcd_parse_slice_data()
2288 if(ps_slice_hdr->i1_num_ref_idx_l0_active != 0) in ihevcd_parse_slice_data()
2290 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l0_active; i++) in ihevcd_parse_slice_data()
2292 …parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1))][i] = ((pic_buf_t *)ps_slice_hdr->as_ref_pic_lis… in ihevcd_parse_slice_data()
2293 …parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1))][i] = ((pic_buf_t *)ps_slice_hdr->as_ref_pic_lis… in ihevcd_parse_slice_data()
2303 cur_poc = ps_slice_hdr->i4_abs_pic_order_cnt; in ihevcd_parse_slice_data()
2304 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l0_active; i++) in ihevcd_parse_slice_data()
2306 ref_list_poc = ((mv_buf_t *)ps_slice_hdr->as_ref_pic_list0[i].pv_mv_buf)->i4_abs_poc; in ihevcd_parse_slice_data()
2313 if(flag && (ps_slice_hdr->i1_slice_type == BSLICE)) in ihevcd_parse_slice_data()
2315 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l1_active; i++) in ihevcd_parse_slice_data()
2317 … ref_list_poc = ((mv_buf_t *)ps_slice_hdr->as_ref_pic_list1[i].pv_mv_buf)->i4_abs_poc; in ihevcd_parse_slice_data()
2325 ps_slice_hdr->i1_low_delay_flag = flag; in ihevcd_parse_slice_data()
2329 if(ps_slice_hdr->i1_slice_type == ISLICE) in ihevcd_parse_slice_data()
2333 else if(ps_slice_hdr->i1_slice_type == PSLICE) in ihevcd_parse_slice_data()
2335 cabac_init_idc = ps_slice_hdr->i1_cabac_init_flag ? 2 : 1; in ihevcd_parse_slice_data()
2339 cabac_init_idc = ps_slice_hdr->i1_cabac_init_flag ? 1 : 2; in ihevcd_parse_slice_data()
2342 slice_qp = ps_slice_hdr->i1_slice_qp_delta + ps_pps->i1_pic_init_qp; in ihevcd_parse_slice_data()
2346 if((0 == ps_slice_hdr->i1_dependent_slice_flag) || in ihevcd_parse_slice_data()
2347 …((1 == ps_slice_hdr->i1_dependent_slice_flag) && ((0 == ps_codec->s_parse.i4_ctb_tile_x) && (0 == … in ihevcd_parse_slice_data()
2354 …if((1 == ps_slice_hdr->i1_dependent_slice_flag) && (!((ps_codec->s_parse.i4_ctb_tile_x == 0) && (p… in ihevcd_parse_slice_data()
2400 slice_qp = ps_slice_hdr->i1_slice_qp_delta + ps_pps->i1_pic_init_qp; in ihevcd_parse_slice_data()
2417 slice_start_ctb_idx = ps_slice_hdr->i2_ctb_x in ihevcd_parse_slice_data()
2418 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2426 ps_codec->s_parse.i4_ctb_slice_y = ps_tile->u1_pos_y - ps_slice_hdr->i2_ctb_y; in ihevcd_parse_slice_data()
2427 …if(!(((ps_slice_hdr->i2_ctb_x + ps_tile_prev->u2_wd) % ps_sps->i2_pic_wd_in_ctb) == ps_tile->u1_po… in ihevcd_parse_slice_data()
2429 if(ps_slice_hdr->i2_ctb_y <= ps_tile->u1_pos_y) in ihevcd_parse_slice_data()
2432 if(ps_slice_hdr->i2_ctb_x > ps_tile->u1_pos_x) in ihevcd_parse_slice_data()
2513 … if((0 == ps_codec->s_parse.i4_ctb_slice_y) && (!ps_slice_hdr->i1_dependent_slice_flag)) in ihevcd_parse_slice_data()
2546 if(ps_slice_hdr->i1_slice_sao_luma_flag || ps_slice_hdr->i1_slice_sao_chroma_flag) in ihevcd_parse_slice_data()
2758 (1 == ps_slice_hdr->i1_slice_disable_deblocking_filter_flag)) in ihevcd_parse_slice_data()
2844 slice_start_ctb_idx = ps_slice_hdr->i2_ctb_x in ihevcd_parse_slice_data()
2845 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2904 if(PSLICE == ps_slice_hdr->i1_slice_type in ihevcd_parse_slice_data()
2905 || BSLICE == ps_slice_hdr->i1_slice_type) in ihevcd_parse_slice_data()
2934 s_mv_ctxt.ps_slice_hdr = ps_slice_hdr; in ihevcd_parse_slice_data()
3086 ps_codec->s_parse.s_bs_ctxt.ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_slice_data()
3089 if(ISLICE == ps_slice_hdr->i1_slice_type) in ihevcd_parse_slice_data()
3100 if(0 != ps_slice_hdr->i1_slice_disable_deblocking_filter_flag) in ihevcd_parse_slice_data()
3142 slice_start_ctb_idx = ps_slice_hdr->i2_ctb_x in ihevcd_parse_slice_data()
3143 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3218 slice_header_t *ps_slice_hdr_next = ps_slice_hdr + 1; in ihevcd_parse_slice_data()
3298 if(ps_slice_hdr->i4_abs_pic_order_cnt == 0) in ihevcd_parse_slice_data()
3320 DUMP_OFFSETS(ps_slice_hdr->i1_beta_offset_div2, in ihevcd_parse_slice_data()
3321 ps_slice_hdr->i1_tc_offset_div2, in ihevcd_parse_slice_data()
3328 ps_codec->s_parse.s_deblk_ctxt.ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_slice_data()
3334 ps_codec->s_parse.s_sao_ctxt.ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_slice_data()