• 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()
2219 ps_codec->s_parse.i4_ctb_x = ps_slice_hdr->i2_ctb_x; in ihevcd_parse_slice_data()
2220 ps_codec->s_parse.i4_ctb_y = ps_slice_hdr->i2_ctb_y; in ihevcd_parse_slice_data()
2224 ps_codec->s_parse.ps_slice_hdr = ps_slice_hdr; in ihevcd_parse_slice_data()
2245 if(1 == ps_slice_hdr->i1_dependent_slice_flag) in ihevcd_parse_slice_data()
2255 if(!ps_slice_hdr->i1_dependent_slice_flag) in ihevcd_parse_slice_data()
2280 if(ps_slice_hdr->i1_num_ref_idx_l1_active != 0) in ihevcd_parse_slice_data()
2282 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l1_active; i++) 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()
2285 …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()
2289 if(ps_slice_hdr->i1_num_ref_idx_l0_active != 0) in ihevcd_parse_slice_data()
2291 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l0_active; i++) 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()
2294 …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()
2304 cur_poc = ps_slice_hdr->i4_abs_pic_order_cnt; in ihevcd_parse_slice_data()
2305 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l0_active; i++) in ihevcd_parse_slice_data()
2307 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()
2314 if(flag && (ps_slice_hdr->i1_slice_type == BSLICE)) in ihevcd_parse_slice_data()
2316 for(i = 0; i < ps_slice_hdr->i1_num_ref_idx_l1_active; i++) in ihevcd_parse_slice_data()
2318 … 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()
2326 ps_slice_hdr->i1_low_delay_flag = flag; in ihevcd_parse_slice_data()
2330 if(ps_slice_hdr->i1_slice_type == ISLICE) in ihevcd_parse_slice_data()
2334 else if(ps_slice_hdr->i1_slice_type == PSLICE) in ihevcd_parse_slice_data()
2336 cabac_init_idc = ps_slice_hdr->i1_cabac_init_flag ? 2 : 1; in ihevcd_parse_slice_data()
2340 cabac_init_idc = ps_slice_hdr->i1_cabac_init_flag ? 1 : 2; in ihevcd_parse_slice_data()
2343 slice_qp = ps_slice_hdr->i1_slice_qp_delta + ps_pps->i1_pic_init_qp; in ihevcd_parse_slice_data()
2347 if((0 == ps_slice_hdr->i1_dependent_slice_flag) || in ihevcd_parse_slice_data()
2348 …((1 == ps_slice_hdr->i1_dependent_slice_flag) && ((0 == ps_codec->s_parse.i4_ctb_tile_x) && (0 == … in ihevcd_parse_slice_data()
2355 …if((1 == ps_slice_hdr->i1_dependent_slice_flag) && (!((ps_codec->s_parse.i4_ctb_tile_x == 0) && (p… in ihevcd_parse_slice_data()
2401 slice_qp = ps_slice_hdr->i1_slice_qp_delta + ps_pps->i1_pic_init_qp; in ihevcd_parse_slice_data()
2418 slice_start_ctb_idx = ps_slice_hdr->i2_ctb_x in ihevcd_parse_slice_data()
2419 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2427 ps_codec->s_parse.i4_ctb_slice_y = ps_tile->u1_pos_y - ps_slice_hdr->i2_ctb_y; in ihevcd_parse_slice_data()
2428 …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()
2430 if(ps_slice_hdr->i2_ctb_y <= ps_tile->u1_pos_y) in ihevcd_parse_slice_data()
2433 if(ps_slice_hdr->i2_ctb_x > ps_tile->u1_pos_x) in ihevcd_parse_slice_data()
2450 if(!ps_slice_hdr->i1_dependent_slice_flag) 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()
2770 slice_start_ctb_idx = ps_slice_hdr->i2_ctb_x in ihevcd_parse_slice_data()
2771 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2830 if(PSLICE == ps_slice_hdr->i1_slice_type in ihevcd_parse_slice_data()
2831 || BSLICE == ps_slice_hdr->i1_slice_type) in ihevcd_parse_slice_data()
2860 s_mv_ctxt.ps_slice_hdr = ps_slice_hdr; in ihevcd_parse_slice_data()
2965 if((0 == ps_slice_hdr->i1_slice_disable_deblocking_filter_flag) && in ihevcd_parse_slice_data()
3011 ps_codec->s_parse.s_bs_ctxt.ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_slice_data()
3014 if(ISLICE == ps_slice_hdr->i1_slice_type) in ihevcd_parse_slice_data()
3066 slice_start_ctb_idx = ps_slice_hdr->i2_ctb_x in ihevcd_parse_slice_data()
3067 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3142 slice_header_t *ps_slice_hdr_next = ps_slice_hdr + 1; in ihevcd_parse_slice_data()
3222 if(ps_slice_hdr->i4_abs_pic_order_cnt == 0) in ihevcd_parse_slice_data()
3244 DUMP_OFFSETS(ps_slice_hdr->i1_beta_offset_div2, in ihevcd_parse_slice_data()
3245 ps_slice_hdr->i1_tc_offset_div2, in ihevcd_parse_slice_data()
3252 ps_codec->s_parse.s_deblk_ctxt.ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_slice_data()
3258 ps_codec->s_parse.s_sao_ctxt.ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_slice_data()