Lines Matching refs:ps_sps
126 sps_t *ps_sps; in ihevcd_parse_transform_tree() local
139 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_transform_tree()
145 if((log2_trafo_size <= ps_sps->i1_log2_max_transform_block_size) && in ihevcd_parse_transform_tree()
146 (log2_trafo_size > ps_sps->i1_log2_min_transform_block_size) && in ihevcd_parse_transform_tree()
163 if((0 == ps_sps->i1_max_transform_hierarchy_depth_inter) && in ihevcd_parse_transform_tree()
171 if((log2_trafo_size > ps_sps->i1_log2_max_transform_block_size) || in ihevcd_parse_transform_tree()
246 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_transform_tree()
247 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_transform_tree()
325 if (cu_qp_delta_abs < MIN_CU_QP_DELTA_ABS(ps_sps->i1_bit_depth_luma_minus8) in ihevcd_parse_transform_tree()
326 … || cu_qp_delta_abs > MAX_CU_QP_DELTA_ABS(ps_sps->i1_bit_depth_luma_minus8)) in ihevcd_parse_transform_tree()
544 sps_t *ps_sps; in ihevcd_parse_pcm_sample() local
555 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_pcm_sample()
591 num_bits = ps_sps->i1_pcm_sample_bit_depth_luma; in ihevcd_parse_pcm_sample()
602 num_bits = ps_sps->i1_pcm_sample_bit_depth_chroma; in ihevcd_parse_pcm_sample()
823 sps_t *ps_sps; in ihevcd_parse_prediction_unit() local
836 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_prediction_unit()
837 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_prediction_unit()
838 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_prediction_unit()
965 sps_t *ps_sps; in ihevcd_parse_coding_unit_intra() local
976 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_coding_unit_intra()
977 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit_intra()
978 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit_intra()
988 if((PART_2Nx2N == part_mode) && (ps_sps->i1_pcm_enabled_flag) in ihevcd_parse_coding_unit_intra()
990 >= ps_sps->i1_log2_min_pcm_coding_block_size) in ihevcd_parse_coding_unit_intra()
992 …<= (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()
1056 if(1 == ps_sps->i1_pcm_loop_filter_disable_flag) in ihevcd_parse_coding_unit_intra()
1063 numbytes_row = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64; in ihevcd_parse_coding_unit_intra()
1170 sps_t *ps_sps; in ihevcd_parse_coding_unit() local
1189 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_coding_unit()
1221 numbytes_row = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64; in ihevcd_parse_coding_unit()
1327 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1328 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1374 is_mincb = (cb_size == (1 << ps_sps->i1_log2_min_coding_block_size)); in ihevcd_parse_coding_unit()
1397 numbytes_row = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64; in ihevcd_parse_coding_unit()
1425 WORD32 amp_enabled = ps_sps->i1_amp_enabled_flag; in ihevcd_parse_coding_unit()
1608 … (ps_sps->i1_max_transform_hierarchy_depth_intra + intra_split_flag) : in ihevcd_parse_coding_unit()
1609 (ps_sps->i1_max_transform_hierarchy_depth_inter); in ihevcd_parse_coding_unit()
1620 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1621 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1691 sps_t *ps_sps; in ihevcd_parse_coding_quadtree() local
1700 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_coding_quadtree()
1704 cu_pos_x = (x0 - (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size)) >> 3; in ihevcd_parse_coding_quadtree()
1705 cu_pos_y = (y0 - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size)) >> 3; in ihevcd_parse_coding_quadtree()
1728 if(((x0 + (1 << log2_cb_size)) <= ps_sps->i2_pic_width_in_luma_samples) && in ihevcd_parse_coding_quadtree()
1729 ((y0 + (1 << log2_cb_size)) <= ps_sps->i2_pic_height_in_luma_samples) && in ihevcd_parse_coding_quadtree()
1730 (log2_cb_size > ps_sps->i1_log2_min_coding_block_size)) in ihevcd_parse_coding_quadtree()
1772 if(log2_cb_size > ps_sps->i1_log2_min_coding_block_size) in ihevcd_parse_coding_quadtree()
1833 if(x1 < ps_sps->i2_pic_width_in_luma_samples) in ihevcd_parse_coding_quadtree()
1839 if(y1 < ps_sps->i2_pic_height_in_luma_samples) in ihevcd_parse_coding_quadtree()
1845 if((x1 < ps_sps->i2_pic_width_in_luma_samples) && in ihevcd_parse_coding_quadtree()
1846 (y1 < ps_sps->i2_pic_height_in_luma_samples)) in ihevcd_parse_coding_quadtree()
1940 … 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()
1977 sps_t *ps_sps; in ihevcd_parse_sao() local
1992 ps_sps = (ps_codec->s_parse.ps_sps); in ihevcd_parse_sao()
1996 ps_sao = ps_codec->s_parse.ps_pic_sao + rx + ry * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_sao()
2041 *ps_sao = *(ps_sao - ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_sao()
2200 sps_t *ps_sps; in ihevcd_parse_slice_data() local
2219 ps_sps = ps_codec->s_parse.ps_sps_base; in ihevcd_parse_slice_data()
2224 ps_sps += ps_pps->i1_sps_id; in ihevcd_parse_slice_data()
2236 ctb_size = 1 << ps_sps->i1_log2_ctb_size; in ihevcd_parse_slice_data()
2238 num_ctb_in_row = ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
2247 ps_codec->s_parse.ps_sps = ps_sps; in ihevcd_parse_slice_data()
2252 ihevcd_get_tile_pos(ps_pps, ps_sps, ps_codec->s_parse.i4_ctb_x, in ihevcd_parse_slice_data()
2408 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2435 ihevcd_get_tile_pos(ps_pps, ps_sps, ps_codec->s_parse.i4_ctb_x, in ihevcd_parse_slice_data()
2446 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2449 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2458 …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()
2552 if(1 == ps_sps->i2_pic_wd_in_ctb) in ihevcd_parse_slice_data()
2602 ps_codec->s_parse.i4_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
2615 … 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()
2635 … (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size), in ihevcd_parse_slice_data()
2636 … (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size), in ihevcd_parse_slice_data()
2637 ps_sps->i1_log2_ctb_size, in ihevcd_parse_slice_data()
2648 rows_remaining = ps_sps->i2_pic_height_in_luma_samples in ihevcd_parse_slice_data()
2649 - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size); in ihevcd_parse_slice_data()
2652 cols_remaining = ps_sps->i2_pic_width_in_luma_samples in ihevcd_parse_slice_data()
2653 - (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size); in ihevcd_parse_slice_data()
2669 ps_tu->b3_size = (ps_sps->i1_log2_ctb_size - 2); in ihevcd_parse_slice_data()
2718 ps_tu->b3_size = (ps_sps->i1_log2_ctb_size - 2); in ihevcd_parse_slice_data()
2801 …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()
2803 …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()
2807 …(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()
2814 …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()
2831 …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()
2833 …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()
2837 …(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()
2845 …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()
2855 …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()
2857 …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()
2861 …(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()
2868 …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()
2884 WORD32 log2_ctb_size = ps_sps->i1_log2_ctb_size; in ihevcd_parse_slice_data()
2894 … 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()
2896 qp_strd = ps_sps->i2_pic_wd_in_ctb << (log2_ctb_size - 3); in ihevcd_parse_slice_data()
2965 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2968 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2973 i2_wd_in_ctb = ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
3022 …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()
3041 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3056 s_mv_ctxt.ps_sps = ps_sps; in ihevcd_parse_slice_data()
3082 …(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()
3107 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3132 WORD32 rows_remaining = ps_sps->i2_pic_height_in_luma_samples in ihevcd_parse_slice_data()
3133 - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size); in ihevcd_parse_slice_data()
3174 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3194 ps_codec->s_parse.s_bs_ctxt.ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_slice_data()
3225 … WORD32 bs_strd = (ps_sps->i2_pic_wd_in_ctb + 1) * (ctb_size * ctb_size / 8 / 16); in ihevcd_parse_slice_data()
3245 sps_t *ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_slice_data() local
3249 idx += ((ps_codec->s_parse.i4_ctb_y) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3264 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3267 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3312 …_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()
3317 ps_codec->s_parse.i4_ctb_y = ps_sps->i2_pic_ht_in_ctb; in ihevcd_parse_slice_data()
3336 ps_codec->s_parse.i4_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
3344 ps_slice_hdr_next->i2_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
3404 while(ctb_indx != ps_sps->i4_pic_size_in_ctb) in ihevcd_parse_slice_data()
3429 ps_sps->i2_pic_width_in_luma_samples, in ihevcd_parse_slice_data()
3430 ps_sps->i2_pic_height_in_luma_samples, in ihevcd_parse_slice_data()
3435 … 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()
3436 … (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()
3439 …(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()
3442 …(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()
3445 …(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()
3453 ps_codec->s_parse.s_deblk_ctxt.ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_slice_data()
3459 ps_codec->s_parse.s_sao_ctxt.ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_slice_data()