Lines Matching refs:ps_sps
123 sps_t *ps_sps; in ihevcd_parse_transform_tree() local
136 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_transform_tree()
142 if((log2_trafo_size <= ps_sps->i1_log2_max_transform_block_size) && in ihevcd_parse_transform_tree()
143 (log2_trafo_size > ps_sps->i1_log2_min_transform_block_size) && in ihevcd_parse_transform_tree()
160 if((0 == ps_sps->i1_max_transform_hierarchy_depth_inter) && in ihevcd_parse_transform_tree()
168 if((log2_trafo_size > ps_sps->i1_log2_max_transform_block_size) || in ihevcd_parse_transform_tree()
239 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_transform_tree()
240 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_transform_tree()
531 sps_t *ps_sps; in ihevcd_parse_pcm_sample() local
542 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_pcm_sample()
578 num_bits = ps_sps->i1_pcm_sample_bit_depth_luma; in ihevcd_parse_pcm_sample()
589 num_bits = ps_sps->i1_pcm_sample_bit_depth_chroma; in ihevcd_parse_pcm_sample()
810 sps_t *ps_sps; in ihevcd_parse_prediction_unit() local
823 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_prediction_unit()
824 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_prediction_unit()
825 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_prediction_unit()
952 sps_t *ps_sps; in ihevcd_parse_coding_unit_intra() local
963 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_coding_unit_intra()
964 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit_intra()
965 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit_intra()
975 if((PART_2Nx2N == part_mode) && (ps_sps->i1_pcm_enabled_flag) in ihevcd_parse_coding_unit_intra()
977 >= ps_sps->i1_log2_min_pcm_coding_block_size) in ihevcd_parse_coding_unit_intra()
979 …<= (ps_sps->i1_log2_min_pcm_coding_block_size + ps_sps->i1_log2_diff_max_min_pcm_coding_block_size… in ihevcd_parse_coding_unit_intra()
1043 if(1 == ps_sps->i1_pcm_loop_filter_disable_flag) in ihevcd_parse_coding_unit_intra()
1050 numbytes_row = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64; in ihevcd_parse_coding_unit_intra()
1157 sps_t *ps_sps; in ihevcd_parse_coding_unit() local
1176 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_coding_unit()
1208 numbytes_row = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64; in ihevcd_parse_coding_unit()
1314 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1315 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1361 is_mincb = (cb_size == (1 << ps_sps->i1_log2_min_coding_block_size)); in ihevcd_parse_coding_unit()
1384 numbytes_row = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64; in ihevcd_parse_coding_unit()
1412 WORD32 amp_enabled = ps_sps->i1_amp_enabled_flag; in ihevcd_parse_coding_unit()
1595 … (ps_sps->i1_max_transform_hierarchy_depth_intra + intra_split_flag) : in ihevcd_parse_coding_unit()
1596 (ps_sps->i1_max_transform_hierarchy_depth_inter); in ihevcd_parse_coding_unit()
1606 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1607 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1677 sps_t *ps_sps; in ihevcd_parse_coding_quadtree() local
1686 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_coding_quadtree()
1690 cu_pos_x = (x0 - (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size)) >> 3; in ihevcd_parse_coding_quadtree()
1691 cu_pos_y = (y0 - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size)) >> 3; in ihevcd_parse_coding_quadtree()
1714 if(((x0 + (1 << log2_cb_size)) <= ps_sps->i2_pic_width_in_luma_samples) && in ihevcd_parse_coding_quadtree()
1715 ((y0 + (1 << log2_cb_size)) <= ps_sps->i2_pic_height_in_luma_samples) && in ihevcd_parse_coding_quadtree()
1716 (log2_cb_size > ps_sps->i1_log2_min_coding_block_size)) in ihevcd_parse_coding_quadtree()
1758 if(log2_cb_size > ps_sps->i1_log2_min_coding_block_size) in ihevcd_parse_coding_quadtree()
1818 if(x1 < ps_sps->i2_pic_width_in_luma_samples) in ihevcd_parse_coding_quadtree()
1821 if(y1 < ps_sps->i2_pic_height_in_luma_samples) in ihevcd_parse_coding_quadtree()
1824 if((x1 < ps_sps->i2_pic_width_in_luma_samples) && in ihevcd_parse_coding_quadtree()
1825 (y1 < ps_sps->i2_pic_height_in_luma_samples)) in ihevcd_parse_coding_quadtree()
1915 … ctb_indx = ps_codec->s_parse.i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_coding_quadtree()
1952 sps_t *ps_sps; in ihevcd_parse_sao() local
1967 ps_sps = (ps_codec->s_parse.ps_sps); in ihevcd_parse_sao()
1971 ps_sao = ps_codec->s_parse.ps_pic_sao + rx + ry * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_sao()
2016 *ps_sao = *(ps_sao - ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_sao()
2175 sps_t *ps_sps; in ihevcd_parse_slice_data() local
2194 ps_sps = ps_codec->s_parse.ps_sps_base; in ihevcd_parse_slice_data()
2199 ps_sps += ps_pps->i1_sps_id; in ihevcd_parse_slice_data()
2211 ctb_size = 1 << ps_sps->i1_log2_ctb_size; in ihevcd_parse_slice_data()
2213 num_ctb_in_row = ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
2222 ps_codec->s_parse.ps_sps = ps_sps; in ihevcd_parse_slice_data()
2227 ihevcd_get_tile_pos(ps_pps, ps_sps, ps_codec->s_parse.i4_ctb_x, in ihevcd_parse_slice_data()
2377 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2404 ihevcd_get_tile_pos(ps_pps, ps_sps, ps_codec->s_parse.i4_ctb_x, in ihevcd_parse_slice_data()
2415 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2418 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); 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()
2515 if(1 == ps_sps->i2_pic_wd_in_ctb) in ihevcd_parse_slice_data()
2553 ps_codec->s_parse.i4_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
2566 … ctb_indx = ps_codec->s_parse.i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_slice_data()
2577 (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size), in ihevcd_parse_slice_data()
2578 (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size), in ihevcd_parse_slice_data()
2579 ps_sps->i1_log2_ctb_size, in ihevcd_parse_slice_data()
2593 ps_tu->b3_size = (ps_sps->i1_log2_ctb_size - 2); in ihevcd_parse_slice_data()
2678 …e->u2_wd == (ps_codec->s_parse.i4_ctb_tile_x + 1)) && (ps_tile->u2_wd != ps_sps->i2_pic_wd_in_ctb)) in ihevcd_parse_slice_data()
2680 …ctb_indx = (ps_sps->i2_pic_wd_in_ctb * (ps_codec->s_parse.i4_ctb_tile_y + 1 + ps_tile->u1_pos_y)) … in ihevcd_parse_slice_data()
2684 …(ps_tile->u2_wd + ps_tile->u1_pos_x == ps_sps->i2_pic_wd_in_ctb) && ((ps_tile->u2_ht + ps_tile->u1… in ihevcd_parse_slice_data()
2691 …ctb_indx = ps_next_tile->u1_pos_x + (ps_next_tile->u1_pos_y * ps_sps->i2_pic_wd_in_ctb); //idx is … in ihevcd_parse_slice_data()
2708 …e->u2_wd == (ps_codec->s_parse.i4_ctb_tile_x + 1)) && (ps_tile->u2_wd != ps_sps->i2_pic_wd_in_ctb)) in ihevcd_parse_slice_data()
2710 …ctb_indx = (ps_sps->i2_pic_wd_in_ctb * (ps_codec->s_parse.i4_ctb_tile_y + 1 + ps_tile->u1_pos_y)) … in ihevcd_parse_slice_data()
2714 …(ps_tile->u2_wd + ps_tile->u1_pos_x == ps_sps->i2_pic_wd_in_ctb) && ((ps_tile->u2_ht + ps_tile->u1… in ihevcd_parse_slice_data()
2722 …ctb_indx = ps_next_tile->u1_pos_x + (ps_next_tile->u1_pos_y * ps_sps->i2_pic_wd_in_ctb); //idx is… in ihevcd_parse_slice_data()
2732 …e->u2_wd == (ps_codec->s_parse.i4_ctb_tile_x + 1)) && (ps_tile->u2_wd != ps_sps->i2_pic_wd_in_ctb)) in ihevcd_parse_slice_data()
2734 …ctb_indx = (ps_sps->i2_pic_wd_in_ctb * (ps_codec->s_parse.i4_ctb_tile_y + 1 + ps_tile->u1_pos_y)) … in ihevcd_parse_slice_data()
2738 …(ps_tile->u2_wd + ps_tile->u1_pos_x == ps_sps->i2_pic_wd_in_ctb) && ((ps_tile->u2_ht + ps_tile->u1… in ihevcd_parse_slice_data()
2745 …ctb_indx = ps_next_tile->u1_pos_x + (ps_next_tile->u1_pos_y * ps_sps->i2_pic_wd_in_ctb); //idx is… in ihevcd_parse_slice_data()
2761 WORD32 log2_ctb_size = ps_sps->i1_log2_ctb_size; in ihevcd_parse_slice_data()
2771 … cur_ctb_idx = ps_codec->s_parse.i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_slice_data()
2773 qp_strd = ps_sps->i2_pic_wd_in_ctb << (log2_ctb_size - 3); in ihevcd_parse_slice_data()
2842 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2845 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2850 i2_wd_in_ctb = ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
2899 …if(((ps_sps->i2_pic_wd_in_ctb - 1) == ps_codec->s_parse.i4_ctb_x) || ((ps_tile->u2_wd - 1) == ps_c… in ihevcd_parse_slice_data()
2918 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2933 s_mv_ctxt.ps_sps = ps_sps; in ihevcd_parse_slice_data()
2959 …(ps_codec->s_parse.i4_ctb_x + ps_codec->s_parse.i4_ctb_y * ps_sps->i2_pic_wd_in_ctb) * num_minpu_i… in ihevcd_parse_slice_data()
2984 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3009 WORD32 rows_remaining = ps_sps->i2_pic_height_in_luma_samples in ihevcd_parse_slice_data()
3010 - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size); in ihevcd_parse_slice_data()
3051 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3071 ps_codec->s_parse.s_bs_ctxt.ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_slice_data()
3102 … WORD32 bs_strd = (ps_sps->i2_pic_wd_in_ctb + 1) * (ctb_size * ctb_size / 8 / 16); in ihevcd_parse_slice_data()
3121 sps_t *ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_slice_data() local
3125 idx += ((ps_codec->s_parse.i4_ctb_y) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3140 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3143 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3188 …_tile->u2_ht + ps_tile->u1_pos_y == ps_sps->i2_pic_ht_in_ctb) && (ps_tile->u2_wd + ps_tile->u1_p… in ihevcd_parse_slice_data()
3193 ps_codec->s_parse.i4_ctb_y = ps_sps->i2_pic_ht_in_ctb; in ihevcd_parse_slice_data()
3212 ps_codec->s_parse.i4_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
3220 ps_slice_hdr_next->i2_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
3277 while(ctb_indx != ps_sps->i4_pic_size_in_ctb) in ihevcd_parse_slice_data()
3302 ps_sps->i2_pic_width_in_luma_samples, in ihevcd_parse_slice_data()
3303 ps_sps->i2_pic_height_in_luma_samples, in ihevcd_parse_slice_data()
3308 … ps_sps->i2_pic_wd_in_ctb * (ctb_size * ctb_size / 8 / 16) * ps_sps->i2_pic_ht_in_ctb, in ihevcd_parse_slice_data()
3309 … (ps_sps->i2_pic_wd_in_ctb + 1) * (ctb_size * ctb_size / 8 / 16) * ps_sps->i2_pic_ht_in_ctb); in ihevcd_parse_slice_data()
3312 …(ps_sps->i2_pic_height_in_luma_samples * ps_sps->i2_pic_width_in_luma_samples) / (MIN_CU_SIZE * MI… in ihevcd_parse_slice_data()
3315 …(ps_sps->i2_pic_height_in_luma_samples * ps_sps->i2_pic_width_in_luma_samples) / (MIN_CTB_SIZE * M… in ihevcd_parse_slice_data()
3318 …(ps_sps->i2_pic_width_in_luma_samples / MIN_CU_SIZE) * (ps_sps->i2_pic_height_in_luma_samples / MI… in ihevcd_parse_slice_data()
3326 ps_codec->s_parse.s_deblk_ctxt.ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_slice_data()
3332 ps_codec->s_parse.s_sao_ctxt.ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_slice_data()