Lines Matching refs:ps_sps

123     sps_t *ps_sps;
136 ps_sps = ps_codec->s_parse.ps_sps;
142 if((log2_trafo_size <= ps_sps->i1_log2_max_transform_block_size) &&
143 (log2_trafo_size > ps_sps->i1_log2_min_transform_block_size) &&
160 if((0 == ps_sps->i1_max_transform_hierarchy_depth_inter) &&
168 if((log2_trafo_size > ps_sps->i1_log2_max_transform_block_size) ||
239 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size;
240 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size;
531 sps_t *ps_sps;
542 ps_sps = ps_codec->s_parse.ps_sps;
578 num_bits = ps_sps->i1_pcm_sample_bit_depth_luma;
589 num_bits = ps_sps->i1_pcm_sample_bit_depth_chroma;
810 sps_t *ps_sps;
823 ps_sps = ps_codec->s_parse.ps_sps;
824 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size;
825 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size;
952 sps_t *ps_sps;
963 ps_sps = ps_codec->s_parse.ps_sps;
964 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size;
965 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size;
975 if((PART_2Nx2N == part_mode) && (ps_sps->i1_pcm_enabled_flag)
977 >= ps_sps->i1_log2_min_pcm_coding_block_size)
979 <= (ps_sps->i1_log2_min_pcm_coding_block_size + ps_sps->i1_log2_diff_max_min_pcm_coding_block_size)))
1043 if(1 == ps_sps->i1_pcm_loop_filter_disable_flag)
1050 numbytes_row = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64;
1157 sps_t *ps_sps;
1176 ps_sps = ps_codec->s_parse.ps_sps;
1208 numbytes_row = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64;
1314 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size;
1315 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size;
1361 is_mincb = (cb_size == (1 << ps_sps->i1_log2_min_coding_block_size));
1384 numbytes_row = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64;
1412 WORD32 amp_enabled = ps_sps->i1_amp_enabled_flag;
1595 (ps_sps->i1_max_transform_hierarchy_depth_intra + intra_split_flag) :
1596 (ps_sps->i1_max_transform_hierarchy_depth_inter);
1606 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size;
1607 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size;
1677 sps_t *ps_sps;
1686 ps_sps = ps_codec->s_parse.ps_sps;
1690 cu_pos_x = (x0 - (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size)) >> 3;
1691 cu_pos_y = (y0 - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size)) >> 3;
1714 if(((x0 + (1 << log2_cb_size)) <= ps_sps->i2_pic_width_in_luma_samples) &&
1715 ((y0 + (1 << log2_cb_size)) <= ps_sps->i2_pic_height_in_luma_samples) &&
1716 (log2_cb_size > ps_sps->i1_log2_min_coding_block_size))
1758 if(log2_cb_size > ps_sps->i1_log2_min_coding_block_size)
1818 if(x1 < ps_sps->i2_pic_width_in_luma_samples)
1821 if(y1 < ps_sps->i2_pic_height_in_luma_samples)
1824 if((x1 < ps_sps->i2_pic_width_in_luma_samples) &&
1825 (y1 < ps_sps->i2_pic_height_in_luma_samples))
1915 ctb_indx = ps_codec->s_parse.i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_codec->s_parse.i4_ctb_y;
1952 sps_t *ps_sps;
1967 ps_sps = (ps_codec->s_parse.ps_sps);
1971 ps_sao = ps_codec->s_parse.ps_pic_sao + rx + ry * ps_sps->i2_pic_wd_in_ctb;
2016 *ps_sao = *(ps_sao - ps_sps->i2_pic_wd_in_ctb);
2175 sps_t *ps_sps;
2194 ps_sps = ps_codec->s_parse.ps_sps_base;
2199 ps_sps += ps_pps->i1_sps_id;
2211 ctb_size = 1 << ps_sps->i1_log2_ctb_size;
2213 num_ctb_in_row = ps_sps->i2_pic_wd_in_ctb;
2222 ps_codec->s_parse.ps_sps = ps_sps;
2227 ihevcd_get_tile_pos(ps_pps, ps_sps, ps_codec->s_parse.i4_ctb_x,
2377 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb);
2404 ihevcd_get_tile_pos(ps_pps, ps_sps, ps_codec->s_parse.i4_ctb_x,
2415 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb);
2418 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb);
2427 if(!(((ps_slice_hdr->i2_ctb_x + ps_tile_prev->u2_wd) % ps_sps->i2_pic_wd_in_ctb) == ps_tile->u1_pos_x)) //Case 2
2515 if(1 == ps_sps->i2_pic_wd_in_ctb)
2553 ps_codec->s_parse.i4_ctb_y * ps_sps->i2_pic_wd_in_ctb;
2566 ctb_indx = ps_codec->s_parse.i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_codec->s_parse.i4_ctb_y;
2577 (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size),
2578 (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size),
2579 ps_sps->i1_log2_ctb_size,
2593 ps_tu->b3_size = (ps_sps->i1_log2_ctb_size - 2);
2678 if((ps_tile->u2_wd == (ps_codec->s_parse.i4_ctb_tile_x + 1)) && (ps_tile->u2_wd != ps_sps->i2_pic_wd_in_ctb))
2680 ctb_indx = (ps_sps->i2_pic_wd_in_ctb * (ps_codec->s_parse.i4_ctb_tile_y + 1 + ps_tile->u1_pos_y)) + ps_tile->u1_pos_x; //idx is the beginning of next row in current tile.
2684 if((ps_tile->u2_wd + ps_tile->u1_pos_x == ps_sps->i2_pic_wd_in_ctb) && ((ps_tile->u2_ht + ps_tile->u1_pos_y == ps_sps->i2_pic_ht_in_ctb)))
2691 ctb_indx = ps_next_tile->u1_pos_x + (ps_next_tile->u1_pos_y * ps_sps->i2_pic_wd_in_ctb); //idx is the beginning of first row in next tile.
2708 if((ps_tile->u2_wd == (ps_codec->s_parse.i4_ctb_tile_x + 1)) && (ps_tile->u2_wd != ps_sps->i2_pic_wd_in_ctb))
2710 ctb_indx = (ps_sps->i2_pic_wd_in_ctb * (ps_codec->s_parse.i4_ctb_tile_y + 1 + ps_tile->u1_pos_y)) + ps_tile->u1_pos_x; //idx is the beginning of next row in current tile.
2714 if((ps_tile->u2_wd + ps_tile->u1_pos_x == ps_sps->i2_pic_wd_in_ctb) && ((ps_tile->u2_ht + ps_tile->u1_pos_y == ps_sps->i2_pic_ht_in_ctb)))
2722 ctb_indx = ps_next_tile->u1_pos_x + (ps_next_tile->u1_pos_y * ps_sps->i2_pic_wd_in_ctb); //idx is the beginning of first row in next tile.
2732 if((ps_tile->u2_wd == (ps_codec->s_parse.i4_ctb_tile_x + 1)) && (ps_tile->u2_wd != ps_sps->i2_pic_wd_in_ctb))
2734 ctb_indx = (ps_sps->i2_pic_wd_in_ctb * (ps_codec->s_parse.i4_ctb_tile_y + 1 + ps_tile->u1_pos_y)) + ps_tile->u1_pos_x; //idx is the beginning of next row in current tile.
2738 if((ps_tile->u2_wd + ps_tile->u1_pos_x == ps_sps->i2_pic_wd_in_ctb) && ((ps_tile->u2_ht + ps_tile->u1_pos_y == ps_sps->i2_pic_ht_in_ctb)))
2745 ctb_indx = ps_next_tile->u1_pos_x + (ps_next_tile->u1_pos_y * ps_sps->i2_pic_wd_in_ctb); //idx is the beginning of first row in next tile.
2761 WORD32 log2_ctb_size = ps_sps->i1_log2_ctb_size;
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;
2773 qp_strd = ps_sps->i2_pic_wd_in_ctb << (log2_ctb_size - 3);
2842 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb);
2845 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb);
2850 i2_wd_in_ctb = ps_sps->i2_pic_wd_in_ctb;
2899 if(((ps_sps->i2_pic_wd_in_ctb - 1) == ps_codec->s_parse.i4_ctb_x) || ((ps_tile->u2_wd - 1) == ps_codec->s_parse.i4_ctb_tile_x))
2918 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb);
2933 s_mv_ctxt.ps_sps = ps_sps;
2959 (ps_codec->s_parse.i4_ctb_x + ps_codec->s_parse.i4_ctb_y * ps_sps->i2_pic_wd_in_ctb) * num_minpu_in_ctb;
2984 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb);
3009 WORD32 rows_remaining = ps_sps->i2_pic_height_in_luma_samples
3010 - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size);
3051 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb);
3071 ps_codec->s_parse.s_bs_ctxt.ps_sps = ps_codec->s_parse.ps_sps;
3102 WORD32 bs_strd = (ps_sps->i2_pic_wd_in_ctb + 1) * (ctb_size * ctb_size / 8 / 16);
3122 sps_t *ps_sps = ps_codec->s_parse.ps_sps;
3126 idx += ((ps_codec->s_parse.i4_ctb_y) * ps_sps->i2_pic_wd_in_ctb);
3141 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb);
3144 + ps_slice_hdr->i2_ctb_y * (ps_sps->i2_pic_wd_in_ctb);
3189 if((ps_tile->u2_ht + ps_tile->u1_pos_y == ps_sps->i2_pic_ht_in_ctb) && (ps_tile->u2_wd + ps_tile->u1_pos_x == ps_sps->i2_pic_wd_in_ctb))
3194 ps_codec->s_parse.i4_ctb_y = ps_sps->i2_pic_ht_in_ctb;
3213 ps_codec->s_parse.i4_ctb_y * ps_sps->i2_pic_wd_in_ctb;
3221 ps_slice_hdr_next->i2_ctb_y * ps_sps->i2_pic_wd_in_ctb;
3233 // ps_proc->i4_ctb_cnt = ihevcd_nctb_cnt(ps_codec, ps_sps);
3278 while(ctb_indx != ps_sps->i4_pic_size_in_ctb)
3303 ps_sps->i2_pic_width_in_luma_samples,
3304 ps_sps->i2_pic_height_in_luma_samples,
3309 ps_sps->i2_pic_wd_in_ctb * (ctb_size * ctb_size / 8 / 16) * ps_sps->i2_pic_ht_in_ctb,
3310 (ps_sps->i2_pic_wd_in_ctb + 1) * (ctb_size * ctb_size / 8 / 16) * ps_sps->i2_pic_ht_in_ctb);
3313 (ps_sps->i2_pic_height_in_luma_samples * ps_sps->i2_pic_width_in_luma_samples) / (MIN_CU_SIZE * MIN_CU_SIZE));
3316 (ps_sps->i2_pic_height_in_luma_samples * ps_sps->i2_pic_width_in_luma_samples) / (MIN_CTB_SIZE * MIN_CTB_SIZE) / 8);
3319 (ps_sps->i2_pic_width_in_luma_samples / MIN_CU_SIZE) * (ps_sps->i2_pic_height_in_luma_samples / MIN_CU_SIZE) / 8);
3327 ps_codec->s_parse.s_deblk_ctxt.ps_sps = ps_codec->s_parse.ps_sps;
3333 ps_codec->s_parse.s_sao_ctxt.ps_sps = ps_codec->s_parse.ps_sps;