Lines Matching refs:ps_sps

91     sps_t *ps_sps;  in ihevcd_sao_ctb()  local
116 ps_sps = ps_sao_ctxt->ps_sps; in ihevcd_sao_ctb()
117 log2_ctb_size = ps_sps->i1_log2_ctb_size; in ihevcd_sao_ctb()
123 …ps_sao = ps_sao_ctxt->ps_pic_sao + ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * ps_sps->i2_pic_… in ihevcd_sao_ctb()
124 loop_filter_strd = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64; in ihevcd_sao_ctb()
136 … remaining_cols = ps_sps->i2_pic_width_in_luma_samples - (ps_sao_ctxt->i4_ctb_x << log2_ctb_size); in ihevcd_sao_ctb()
140 … remaining_rows = ps_sps->i2_pic_height_in_luma_samples - (ps_sao_ctxt->i4_ctb_y << log2_ctb_size); in ihevcd_sao_ctb()
186 if(ps_sps->i2_pic_wd_in_ctb - 1 == ps_sao_ctxt->i4_ctb_x) in ihevcd_sao_ctb()
208 if(ps_sps->i2_pic_ht_in_ctb - 1 == ps_sao_ctxt->i4_ctb_y) in ihevcd_sao_ctb()
534 sps_t *ps_sps; in ihevcd_sao_shift_ctb() local
584 ps_sps = ps_sao_ctxt->ps_sps; in ihevcd_sao_shift_ctb()
588 log2_ctb_size = ps_sps->i1_log2_ctb_size; in ihevcd_sao_shift_ctb()
611 …ps_sao = ps_sao_ctxt->ps_pic_sao + ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * ps_sps->i2_pic_… in ihevcd_sao_shift_ctb()
612 loop_filter_strd = (ps_sps->i2_pic_width_in_luma_samples + 63) >> 6; in ihevcd_sao_shift_ctb()
634 …remaining_rows = ps_sps->i2_pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size)… in ihevcd_sao_shift_ctb()
635 …remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) … in ihevcd_sao_shift_ctb()
713 …remaining_rows = ps_sps->i2_pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size)… in ihevcd_sao_shift_ctb()
714 …remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) … in ihevcd_sao_shift_ctb()
797 WORD32 top_left_ctb_indx = (ps_sao_ctxt->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ctb + in ihevcd_sao_shift_ctb()
805 ps_sao -= (1 + ps_sps->i2_pic_wd_in_ctb); in ihevcd_sao_shift_ctb()
910 … idx_tl = pu1_slice_idx[ctbx_tl + (ctby_tl * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
911 …4_idx_tl[2] = au4_idx_tl[4] = *(pu1_slice_idx + ctbx_tl_t + (ctby_tl_t * ps_sps->i2_pic_wd_in_ctb)… in ihevcd_sao_shift_ctb()
912 … au4_idx_tl[0] = pu1_slice_idx[ctbx_tl_l + (ctby_tl_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
913 … au4_idx_tl[1] = au4_idx_tl[5] = pu1_slice_idx[ctbx_tl_r + (ctby_tl_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
914 …au4_idx_tl[3] = au4_idx_tl[6] = pu1_slice_idx[ctbx_tl_d + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)… in ihevcd_sao_shift_ctb()
915 … au4_idx_tl[7] = pu1_slice_idx[ctbx_tl_d + 1 + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
926 … au4_idx_tl[6] = pu1_slice_idx[(ctbx_tl_d - 1) + (ctby_tl_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
935 … au4_idx_tl[5] = pu1_slice_idx[(ctbx_tl_l + 1) + (ctby_tl_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
936 … au4_idx_tl[4] = pu1_slice_idx[(ctbx_tl_t - 1) + (ctby_tl_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
938 … au4_idx_tl[7] = pu1_slice_idx[(ctbx_tl_d + 1) + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1010 … idx_tl = pu1_tile_idx[ctbx_tl + (ctby_tl * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1011 …u4_idx_tl[2] = au4_idx_tl[4] = *(pu1_tile_idx + ctbx_tl_t + (ctby_tl_t * ps_sps->i2_pic_wd_in_ctb)… in ihevcd_sao_shift_ctb()
1012 … au4_idx_tl[0] = pu1_tile_idx[ctbx_tl_l + (ctby_tl_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1013 … au4_idx_tl[1] = au4_idx_tl[5] = pu1_tile_idx[ctbx_tl_r + (ctby_tl_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1014 …au4_idx_tl[3] = au4_idx_tl[6] = pu1_tile_idx[ctbx_tl_d + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1015 … au4_idx_tl[7] = pu1_tile_idx[ctbx_tl_d + 1 + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1026 … au4_idx_tl[6] = pu1_tile_idx[(ctbx_tl_d - 1) + (ctby_tl_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1035 … au4_idx_tl[5] = pu1_tile_idx[(ctbx_tl_l + 1) + (ctby_tl_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1036 … au4_idx_tl[4] = pu1_tile_idx[(ctbx_tl_t - 1) + (ctby_tl_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1038 … au4_idx_tl[7] = pu1_tile_idx[(ctbx_tl_d + 1) + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1073 if(ps_sps->i2_pic_wd_in_ctb == ps_sao_ctxt->i4_ctb_x) in ihevcd_sao_shift_ctb()
1086 if(ps_sps->i2_pic_ht_in_ctb == ps_sao_ctxt->i4_ctb_y) in ihevcd_sao_shift_ctb()
1230 … idx_tl = pu1_slice_idx[ctbx_tl + (ctby_tl * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1231 …4_idx_tl[2] = au4_idx_tl[4] = *(pu1_slice_idx + ctbx_tl_t + (ctby_tl_t * ps_sps->i2_pic_wd_in_ctb)… in ihevcd_sao_shift_ctb()
1232 … au4_idx_tl[0] = pu1_slice_idx[ctbx_tl_l + (ctby_tl_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1233 … au4_idx_tl[1] = au4_idx_tl[5] = pu1_slice_idx[ctbx_tl_r + (ctby_tl_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1234 …au4_idx_tl[3] = au4_idx_tl[6] = pu1_slice_idx[ctbx_tl_d + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)… in ihevcd_sao_shift_ctb()
1235 … au4_idx_tl[7] = pu1_slice_idx[ctbx_tl_d + 1 + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1246 … au4_idx_tl[6] = pu1_slice_idx[(ctbx_tl_d - 1) + (ctby_tl_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1255 … au4_idx_tl[5] = pu1_slice_idx[(ctbx_tl_l + 1) + (ctby_tl_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1256 … au4_idx_tl[4] = pu1_slice_idx[(ctbx_tl_t - 1) + (ctby_tl_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1258 … au4_idx_tl[7] = pu1_slice_idx[(ctbx_tl_d + 1) + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1320 … idx_tl = pu1_tile_idx[ctbx_tl + (ctby_tl * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1321 …u4_idx_tl[2] = au4_idx_tl[4] = *(pu1_tile_idx + ctbx_tl_t + (ctby_tl_t * ps_sps->i2_pic_wd_in_ctb)… in ihevcd_sao_shift_ctb()
1322 … au4_idx_tl[0] = pu1_tile_idx[ctbx_tl_l + (ctby_tl_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1323 … au4_idx_tl[1] = au4_idx_tl[5] = pu1_tile_idx[ctbx_tl_r + (ctby_tl_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1324 …au4_idx_tl[3] = au4_idx_tl[6] = pu1_tile_idx[ctbx_tl_d + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1325 … au4_idx_tl[7] = pu1_tile_idx[ctbx_tl_d + 1 + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1336 … au4_idx_tl[6] = pu1_tile_idx[(ctbx_tl_d - 1) + (ctby_tl_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1345 … au4_idx_tl[5] = pu1_tile_idx[(ctbx_tl_l + 1) + (ctby_tl_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1346 … au4_idx_tl[4] = pu1_tile_idx[(ctbx_tl_t - 1) + (ctby_tl_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1348 … au4_idx_tl[7] = pu1_tile_idx[(ctbx_tl_d + 1) + (ctby_tl_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1380 if(ps_sps->i2_pic_wd_in_ctb == ps_sao_ctxt->i4_ctb_x) in ihevcd_sao_shift_ctb()
1393 if(ps_sps->i2_pic_ht_in_ctb == ps_sao_ctxt->i4_ctb_y) in ihevcd_sao_shift_ctb()
1405 if((ctb_size == 16) && (ps_sao_ctxt->i4_ctb_y != ps_sps->i2_pic_ht_in_ctb - 1)) in ihevcd_sao_shift_ctb()
1459 ps_sao += (1 + ps_sps->i2_pic_wd_in_ctb); in ihevcd_sao_shift_ctb()
1479 WORD32 top_ctb_indx = (ps_sao_ctxt->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ctb + in ihevcd_sao_shift_ctb()
1484 …remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) … in ihevcd_sao_shift_ctb()
1489 …remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) … in ihevcd_sao_shift_ctb()
1497 ps_sao -= (ps_sps->i2_pic_wd_in_ctb); in ihevcd_sao_shift_ctb()
1603 … au4_idx_t[0] = au4_idx_t[4] = pu1_slice_idx[ctbx_t_l + (ctby_t_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1604 … au4_idx_t[6] = pu1_slice_idx[ctbx_t_d - 1 + (ctby_t_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1606 … idx_t = pu1_slice_idx[ctbx_t + (ctby_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1607 … au4_idx_t[2] = au4_idx_t[5] = pu1_slice_idx[ctbx_t_t + (ctby_t_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1608 … au4_idx_t[1] = pu1_slice_idx[ctbx_t_r + (ctby_t_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1609 … au4_idx_t[3] = au4_idx_t[7] = pu1_slice_idx[ctbx_t_d + (ctby_t_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1679 … au4_idx_t[0] = au4_idx_t[4] = pu1_tile_idx[ctbx_t_l + (ctby_t_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1680 … au4_idx_t[6] = pu1_tile_idx[ctbx_t_d - 1 + (ctby_t_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1682 … idx_t = pu1_tile_idx[ctbx_t + (ctby_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1683 … au4_idx_t[2] = au4_idx_t[5] = pu1_tile_idx[ctbx_t_t + (ctby_t_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1684 … au4_idx_t[1] = pu1_tile_idx[ctbx_t_r + (ctby_t_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1685 … au4_idx_t[3] = au4_idx_t[7] = pu1_tile_idx[ctbx_t_d + (ctby_t_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1719 … if(ps_sps->i2_pic_width_in_luma_samples - (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) <= sao_wd_luma) in ihevcd_sao_shift_ctb()
1733 if(ps_sps->i2_pic_ht_in_ctb == ps_sao_ctxt->i4_ctb_y) in ihevcd_sao_shift_ctb()
1880 … au4_idx_t[0] = au4_idx_t[4] = pu1_slice_idx[ctbx_t_l + (ctby_t_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1881 … au4_idx_t[6] = pu1_slice_idx[ctbx_t_d - 1 + (ctby_t_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1883 … idx_t = pu1_slice_idx[ctbx_t + (ctby_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1884 … au4_idx_t[2] = au4_idx_t[5] = pu1_slice_idx[ctbx_t_t + (ctby_t_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1885 … au4_idx_t[1] = pu1_slice_idx[ctbx_t_r + (ctby_t_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1886 … au4_idx_t[3] = au4_idx_t[7] = pu1_slice_idx[ctbx_t_d + (ctby_t_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1953 … au4_idx_t[0] = au4_idx_t[4] = pu1_tile_idx[ctbx_t_l + (ctby_t_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1954 … au4_idx_t[6] = pu1_tile_idx[ctbx_t_d - 1 + (ctby_t_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1956 … idx_t = pu1_tile_idx[ctbx_t + (ctby_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1957 … au4_idx_t[2] = au4_idx_t[5] = pu1_tile_idx[ctbx_t_t + (ctby_t_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1958 … au4_idx_t[1] = pu1_tile_idx[ctbx_t_r + (ctby_t_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1959 … au4_idx_t[3] = au4_idx_t[7] = pu1_tile_idx[ctbx_t_d + (ctby_t_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
1991 …if(ps_sps->i2_pic_width_in_luma_samples - (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) <= sao_wd_chrom… in ihevcd_sao_shift_ctb()
2005 if(ps_sps->i2_pic_ht_in_ctb == ps_sao_ctxt->i4_ctb_y) in ihevcd_sao_shift_ctb()
2068 ps_sao += (ps_sps->i2_pic_wd_in_ctb); in ihevcd_sao_shift_ctb()
2086 WORD32 left_ctb_indx = (ps_sao_ctxt->i4_ctb_y) * ps_sps->i2_pic_wd_in_ctb + in ihevcd_sao_shift_ctb()
2091 …remaining_rows = ps_sps->i2_pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size)… in ihevcd_sao_shift_ctb()
2096 …remaining_rows = ps_sps->i2_pic_height_in_luma_samples / 2 - ((ps_sao_ctxt->i4_ctb_y << (log2_ctb_… in ihevcd_sao_shift_ctb()
2208 … au4_idx_l[2] = au4_idx_l[4] = pu1_slice_idx[ctbx_l_t + (ctby_l_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2209 … au4_idx_l[5] = pu1_slice_idx[ctbx_l_t + 1 + (ctby_l_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2211 … idx_l = au4_idx_l[6] = pu1_slice_idx[ctbx_l + (ctby_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2212 … au4_idx_l[0] = pu1_slice_idx[ctbx_l_l + (ctby_l_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2213 … au4_idx_l[1] = au4_idx_l[7] = pu1_slice_idx[ctbx_l_r + (ctby_l_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2214 … au4_idx_l[3] = pu1_slice_idx[ctbx_l_d + (ctby_l_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2278 … au4_idx_l[2] = au4_idx_l[4] = pu1_tile_idx[ctbx_l_t + (ctby_l_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2279 … au4_idx_l[5] = pu1_tile_idx[ctbx_l_t + 1 + (ctby_l_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2282 … idx_l = au4_idx_l[6] = pu1_tile_idx[ctbx_l + (ctby_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2283 … au4_idx_l[0] = pu1_tile_idx[ctbx_l_l + (ctby_l_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2284 … au4_idx_l[1] = au4_idx_l[7] = pu1_tile_idx[ctbx_l_r + (ctby_l_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2285 … au4_idx_l[3] = pu1_tile_idx[ctbx_l_d + (ctby_l_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2316 if(ps_sps->i2_pic_wd_in_ctb == ps_sao_ctxt->i4_ctb_x) in ihevcd_sao_shift_ctb()
2330 …if(ps_sps->i2_pic_height_in_luma_samples - (ps_sao_ctxt->i4_ctb_y << log2_ctb_size) <= sao_ht_lum… in ihevcd_sao_shift_ctb()
2478 … au4_idx_l[2] = au4_idx_l[4] = pu1_slice_idx[ctbx_l_t + (ctby_l_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2479 … au4_idx_l[5] = pu1_slice_idx[ctbx_l_t + 1 + (ctby_l_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2481 … idx_l = au4_idx_l[6] = pu1_slice_idx[ctbx_l + (ctby_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2482 … au4_idx_l[0] = pu1_slice_idx[ctbx_l_l + (ctby_l_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2483 … au4_idx_l[1] = au4_idx_l[7] = pu1_slice_idx[ctbx_l_r + (ctby_l_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2484 … au4_idx_l[3] = pu1_slice_idx[ctbx_l_d + (ctby_l_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2546 … au4_idx_l[2] = au4_idx_l[4] = pu1_tile_idx[ctbx_l_t + (ctby_l_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2547 … au4_idx_l[5] = pu1_tile_idx[ctbx_l_t + 1 + (ctby_l_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2550 … idx_l = au4_idx_l[6] = pu1_tile_idx[ctbx_l + (ctby_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2551 … au4_idx_l[0] = pu1_tile_idx[ctbx_l_l + (ctby_l_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2552 … au4_idx_l[1] = au4_idx_l[7] = pu1_tile_idx[ctbx_l_r + (ctby_l_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2553 … au4_idx_l[3] = pu1_tile_idx[ctbx_l_d + (ctby_l_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2584 if(ps_sps->i2_pic_wd_in_ctb == ps_sao_ctxt->i4_ctb_x) in ihevcd_sao_shift_ctb()
2598 …if(ps_sps->i2_pic_height_in_luma_samples / 2 - (ps_sao_ctxt->i4_ctb_y << (log2_ctb_size - 1)) <= … in ihevcd_sao_shift_ctb()
2612 … if((ctb_size == 16) && (ps_sao_ctxt->i4_ctb_x != ps_sps->i2_pic_wd_in_ctb - 1)) in ihevcd_sao_shift_ctb()
2686 …remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) … in ihevcd_sao_shift_ctb()
2691 …remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) … in ihevcd_sao_shift_ctb()
2697 …remaining_rows = ps_sps->i2_pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size)… in ihevcd_sao_shift_ctb()
2702 …remaining_rows = ps_sps->i2_pic_height_in_luma_samples / 2 - ((ps_sao_ctxt->i4_ctb_y << (log2_ctb_… in ihevcd_sao_shift_ctb()
2811 … au4_idx_c[0] = au4_idx_c[6] = pu1_slice_idx[ctbx_c_l + (ctby_c_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2822 … au4_idx_c[4] = pu1_slice_idx[ctbx_c_t - 1 + (ctby_c_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2823 … au4_idx_c[2] = au4_idx_c[5] = pu1_slice_idx[ctbx_c_t + (ctby_c_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2825 … idx_c = pu1_slice_idx[ctbx_c + (ctby_c * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2826 … au4_idx_c[1] = au4_idx_c[7] = pu1_slice_idx[ctbx_c_r + (ctby_c_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2827 … au4_idx_c[3] = pu1_slice_idx[ctbx_c_d + (ctby_c_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2899 … au4_idx_c[0] = au4_idx_c[6] = pu1_tile_idx[ctbx_c_l + (ctby_c_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2910 … au4_idx_c[4] = pu1_tile_idx[ctbx_c_t - 1 + (ctby_c_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2911 … au4_idx_c[2] = au4_idx_c[5] = pu1_tile_idx[ctbx_c_t + (ctby_c_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2913 … idx_c = pu1_tile_idx[ctbx_c + (ctby_c * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2914 … au4_idx_c[1] = au4_idx_c[7] = pu1_tile_idx[ctbx_c_r + (ctby_c_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2915 … au4_idx_c[3] = pu1_tile_idx[ctbx_c_d + (ctby_c_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
2948 … if(ps_sps->i2_pic_width_in_luma_samples - (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) <= sao_wd_luma) in ihevcd_sao_shift_ctb()
2962 …if(ps_sps->i2_pic_height_in_luma_samples - (ps_sao_ctxt->i4_ctb_y << log2_ctb_size) <= sao_ht_lum… in ihevcd_sao_shift_ctb()
3115 … au4_idx_c[0] = au4_idx_c[6] = pu1_slice_idx[ctbx_c_l + (ctby_c_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
3126 … au4_idx_c[2] = au4_idx_c[5] = pu1_slice_idx[ctbx_c_t + (ctby_c_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
3127 … au4_idx_c[4] = pu1_slice_idx[ctbx_c_t - 1 + (ctby_c_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
3129 idx_c = pu1_slice_idx[ctbx_c + (ctby_c * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
3130 … au4_idx_c[1] = au4_idx_c[7] = pu1_slice_idx[ctbx_c_r + (ctby_c_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
3131 … au4_idx_c[3] = pu1_slice_idx[ctbx_c_d + (ctby_c_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
3205 … au4_idx_c[0] = au4_idx_c[6] = pu1_tile_idx[ctbx_c_l + (ctby_c_l * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
3216 … au4_idx_c[4] = pu1_tile_idx[ctbx_c_t - 1 + (ctby_c_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
3217 … au4_idx_c[2] = au4_idx_c[5] = pu1_tile_idx[ctbx_c_t + (ctby_c_t * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
3219 … idx_c = pu1_tile_idx[ctbx_c + (ctby_c * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
3220 … au4_idx_c[1] = au4_idx_c[7] = pu1_tile_idx[ctbx_c_r + (ctby_c_r * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
3221 … au4_idx_c[3] = pu1_tile_idx[ctbx_c_d + (ctby_c_d * ps_sps->i2_pic_wd_in_ctb)]; in ihevcd_sao_shift_ctb()
3254 …if(ps_sps->i2_pic_width_in_luma_samples - (ps_sao_ctxt->i4_ctb_x << log2_ctb_size) <= sao_wd_chrom… in ihevcd_sao_shift_ctb()
3268 …if(ps_sps->i2_pic_height_in_luma_samples / 2 - (ps_sao_ctxt->i4_ctb_y << (log2_ctb_size - 1)) <= … in ihevcd_sao_shift_ctb()
3358 …remaining_rows = ps_sps->i2_pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size)… in ihevcd_sao_shift_ctb()
3359 …remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) … in ihevcd_sao_shift_ctb()
3436 …remaining_rows = ps_sps->i2_pic_height_in_luma_samples - ((ps_sao_ctxt->i4_ctb_y << log2_ctb_size)… in ihevcd_sao_shift_ctb()
3437 …remaining_cols = ps_sps->i2_pic_width_in_luma_samples - ((ps_sao_ctxt->i4_ctb_x << log2_ctb_size) … in ihevcd_sao_shift_ctb()