Lines Matching refs:pu1_src

72 void ihevc_sao_band_offset_luma(UWORD8 *pu1_src,  in ihevc_sao_band_offset_luma()  argument
90 pu1_src_left[row] = pu1_src[row * src_strd + (wd - 1)]; in ihevc_sao_band_offset_luma()
95 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_band_offset_luma()
114 band_idx = band_table[pu1_src[col] >> band_shift]; in ihevc_sao_band_offset_luma()
115pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[band_idx], 0, (1 << (band_shift + 5)) - 1); in ihevc_sao_band_offset_luma()
117 pu1_src += src_strd; in ihevc_sao_band_offset_luma()
124 void ihevc_sao_band_offset_chroma(UWORD8 *pu1_src, in ihevc_sao_band_offset_chroma() argument
145 pu1_src_left[2 * row] = pu1_src[row * src_strd + (wd - 2)]; in ihevc_sao_band_offset_chroma()
146 pu1_src_left[2 * row + 1] = pu1_src[row * src_strd + (wd - 1)]; in ihevc_sao_band_offset_chroma()
152 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_band_offset_chroma()
176 …band_idx = (0 == col % 2) ? band_table_u[pu1_src[col] >> band_shift] : band_table_v[pu1_src[col] >… in ihevc_sao_band_offset_chroma()
177pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[band_idx], 0, (1 << (band_shift + 5)) - 1); in ihevc_sao_band_offset_chroma()
179 pu1_src += src_strd; in ihevc_sao_band_offset_chroma()
186 void ihevc_sao_edge_offset_class0(UWORD8 *pu1_src, in ihevc_sao_edge_offset_class0() argument
214 au1_src_left_tmp[row] = pu1_src[row * src_strd + wd - 1]; in ihevc_sao_edge_offset_class0()
218 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_edge_offset_class0()
235 u1_sign_left = SIGN(pu1_src[0] - pu1_src_left[row]); in ihevc_sao_edge_offset_class0()
240 u1_sign_right = SIGN(pu1_src[col] - pu1_src[col + 1]); in ihevc_sao_edge_offset_class0()
248pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class0()
252 pu1_src += src_strd; in ihevc_sao_edge_offset_class0()
268 void ihevc_sao_edge_offset_class0_chroma(UWORD8 *pu1_src, in ihevc_sao_edge_offset_class0_chroma() argument
299 au1_src_left_tmp[2 * row] = pu1_src[row * src_strd + wd - 2]; in ihevc_sao_edge_offset_class0_chroma()
300 au1_src_left_tmp[2 * row + 1] = pu1_src[row * src_strd + wd - 1]; in ihevc_sao_edge_offset_class0_chroma()
304 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_edge_offset_class0_chroma()
321 u1_sign_left_u = SIGN(pu1_src[0] - pu1_src_left[2 * row]); in ihevc_sao_edge_offset_class0_chroma()
322 u1_sign_left_v = SIGN(pu1_src[1] - pu1_src_left[2 * row + 1]); in ihevc_sao_edge_offset_class0_chroma()
331 u1_sign_right_u = SIGN(pu1_src[col] - pu1_src[col + 2]); in ihevc_sao_edge_offset_class0_chroma()
338 u1_sign_right_v = SIGN(pu1_src[col] - pu1_src[col + 2]); in ihevc_sao_edge_offset_class0_chroma()
347pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class0_chroma()
351 pu1_src += src_strd; in ihevc_sao_edge_offset_class0_chroma()
365 void ihevc_sao_edge_offset_class1(UWORD8 *pu1_src, in ihevc_sao_edge_offset_class1() argument
395 pu1_src_left[row] = pu1_src[row * src_strd + wd - 1]; in ihevc_sao_edge_offset_class1()
399 au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_edge_offset_class1()
405 pu1_src += src_strd; in ihevc_sao_edge_offset_class1()
409 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src[col - src_strd]); in ihevc_sao_edge_offset_class1()
416 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src_top[col]); in ihevc_sao_edge_offset_class1()
432 u1_sign_down = SIGN(pu1_src[col] - pu1_src[col + src_strd]); in ihevc_sao_edge_offset_class1()
440pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class1()
444 pu1_src += src_strd; in ihevc_sao_edge_offset_class1()
458 void ihevc_sao_edge_offset_class1_chroma(UWORD8 *pu1_src, in ihevc_sao_edge_offset_class1_chroma() argument
490 pu1_src_left[2 * row] = pu1_src[row * src_strd + wd - 2]; in ihevc_sao_edge_offset_class1_chroma()
491 pu1_src_left[2 * row + 1] = pu1_src[row * src_strd + wd - 1]; in ihevc_sao_edge_offset_class1_chroma()
495 au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_edge_offset_class1_chroma()
501 pu1_src += src_strd; in ihevc_sao_edge_offset_class1_chroma()
505 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src[col - src_strd]); in ihevc_sao_edge_offset_class1_chroma()
512 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src_top[col]); in ihevc_sao_edge_offset_class1_chroma()
531 u1_sign_down = SIGN(pu1_src[col] - pu1_src[col + src_strd]); in ihevc_sao_edge_offset_class1_chroma()
539pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class1_chroma()
543 pu1_src += src_strd; in ihevc_sao_edge_offset_class1_chroma()
557 void ihevc_sao_edge_offset_class2(UWORD8 *pu1_src, in ihevc_sao_edge_offset_class2() argument
597 au1_src_left_tmp[row] = pu1_src[row * src_strd + wd - 1]; in ihevc_sao_edge_offset_class2()
601 au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_edge_offset_class2()
610 edge_idx = 2 + SIGN(pu1_src[0] - pu1_src_top_left[0]) + in ihevc_sao_edge_offset_class2()
611 SIGN(pu1_src[0] - pu1_src[1 + src_strd]); in ihevc_sao_edge_offset_class2()
617 u1_pos_0_0_tmp = CLIP3(pu1_src[0] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class2()
621 u1_pos_0_0_tmp = pu1_src[0]; in ihevc_sao_edge_offset_class2()
626 u1_pos_0_0_tmp = pu1_src[0]; in ihevc_sao_edge_offset_class2()
634 …edge_idx = 2 + SIGN(pu1_src[wd - 1 + (ht - 1) * src_strd] - pu1_src[wd - 1 + (ht - 1) * src_strd -… in ihevc_sao_edge_offset_class2()
635 …SIGN(pu1_src[wd - 1 + (ht - 1) * src_strd] - pu1_src[wd - 1 + (ht - 1) * src_strd + 1 + src_strd]); in ihevc_sao_edge_offset_class2()
641 …u1_pos_wd_ht_tmp = CLIP3(pu1_src[wd - 1 + (ht - 1) * src_strd] + pi1_sao_offset[edge_idx], 0, (1 <… in ihevc_sao_edge_offset_class2()
645 u1_pos_wd_ht_tmp = pu1_src[wd - 1 + (ht - 1) * src_strd]; in ihevc_sao_edge_offset_class2()
650 u1_pos_wd_ht_tmp = pu1_src[wd - 1 + (ht - 1) * src_strd]; in ihevc_sao_edge_offset_class2()
662 pu1_src += src_strd; in ihevc_sao_edge_offset_class2()
667 pu1_sign_up[col] = SIGN(pu1_src[col] - pu1_src[col - 1 - src_strd]); in ihevc_sao_edge_offset_class2()
674 pu1_sign_up[col] = SIGN(pu1_src[col] - pu1_src_top[col - 1]); in ihevc_sao_edge_offset_class2()
694 pu1_sign_up[0] = SIGN(pu1_src[0] - pu1_src_left_cpy[row - 1]); in ihevc_sao_edge_offset_class2()
699 u1_sign_down = SIGN(pu1_src[col] - pu1_src[col + 1 + src_strd]); in ihevc_sao_edge_offset_class2()
707pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class2()
718 pu1_src += src_strd; in ihevc_sao_edge_offset_class2()
721 pu1_src[-(pu1_avail[2] ? ht : ht + 1) * src_strd] = u1_pos_0_0_tmp; in ihevc_sao_edge_offset_class2()
722 pu1_src[(pu1_avail[3] ? wd - 1 - src_strd : wd - 1)] = u1_pos_wd_ht_tmp; in ihevc_sao_edge_offset_class2()
745 void ihevc_sao_edge_offset_class2_chroma(UWORD8 *pu1_src, in ihevc_sao_edge_offset_class2_chroma() argument
791 au1_src_left_tmp[2 * row] = pu1_src[row * src_strd + wd - 2]; in ihevc_sao_edge_offset_class2_chroma()
792 au1_src_left_tmp[2 * row + 1] = pu1_src[row * src_strd + wd - 1]; in ihevc_sao_edge_offset_class2_chroma()
796 au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_edge_offset_class2_chroma()
806 edge_idx = 2 + SIGN(pu1_src[0] - pu1_src_top_left[0]) + in ihevc_sao_edge_offset_class2_chroma()
807 SIGN(pu1_src[0] - pu1_src[2 + src_strd]); in ihevc_sao_edge_offset_class2_chroma()
813 … u1_pos_0_0_tmp_u = CLIP3(pu1_src[0] + pi1_sao_offset_u[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class2_chroma()
817 u1_pos_0_0_tmp_u = pu1_src[0]; in ihevc_sao_edge_offset_class2_chroma()
821 edge_idx = 2 + SIGN(pu1_src[1] - pu1_src_top_left[1]) + in ihevc_sao_edge_offset_class2_chroma()
822 SIGN(pu1_src[1] - pu1_src[1 + 2 + src_strd]); in ihevc_sao_edge_offset_class2_chroma()
828 … u1_pos_0_0_tmp_v = CLIP3(pu1_src[1] + pi1_sao_offset_v[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class2_chroma()
832 u1_pos_0_0_tmp_v = pu1_src[1]; in ihevc_sao_edge_offset_class2_chroma()
837 u1_pos_0_0_tmp_u = pu1_src[0]; in ihevc_sao_edge_offset_class2_chroma()
838 u1_pos_0_0_tmp_v = pu1_src[1]; in ihevc_sao_edge_offset_class2_chroma()
847 …edge_idx = 2 + SIGN(pu1_src[wd - 2 + (ht - 1) * src_strd] - pu1_src[wd - 2 + (ht - 1) * src_strd -… in ihevc_sao_edge_offset_class2_chroma()
848 …SIGN(pu1_src[wd - 2 + (ht - 1) * src_strd] - pu1_src[wd - 2 + (ht - 1) * src_strd + 2 + src_strd]); in ihevc_sao_edge_offset_class2_chroma()
854 …u1_pos_wd_ht_tmp_u = CLIP3(pu1_src[wd - 2 + (ht - 1) * src_strd] + pi1_sao_offset_u[edge_idx], 0, … in ihevc_sao_edge_offset_class2_chroma()
858 u1_pos_wd_ht_tmp_u = pu1_src[wd - 2 + (ht - 1) * src_strd]; in ihevc_sao_edge_offset_class2_chroma()
862 …edge_idx = 2 + SIGN(pu1_src[wd - 1 + (ht - 1) * src_strd] - pu1_src[wd - 1 + (ht - 1) * src_strd -… in ihevc_sao_edge_offset_class2_chroma()
863 …SIGN(pu1_src[wd - 1 + (ht - 1) * src_strd] - pu1_src[wd - 1 + (ht - 1) * src_strd + 2 + src_strd]); in ihevc_sao_edge_offset_class2_chroma()
869 …u1_pos_wd_ht_tmp_v = CLIP3(pu1_src[wd - 1 + (ht - 1) * src_strd] + pi1_sao_offset_v[edge_idx], 0, … in ihevc_sao_edge_offset_class2_chroma()
873 u1_pos_wd_ht_tmp_v = pu1_src[wd - 1 + (ht - 1) * src_strd]; in ihevc_sao_edge_offset_class2_chroma()
878 u1_pos_wd_ht_tmp_u = pu1_src[wd - 2 + (ht - 1) * src_strd]; in ihevc_sao_edge_offset_class2_chroma()
879 u1_pos_wd_ht_tmp_v = pu1_src[wd - 1 + (ht - 1) * src_strd]; in ihevc_sao_edge_offset_class2_chroma()
891 pu1_src += src_strd; in ihevc_sao_edge_offset_class2_chroma()
896 pu1_sign_up[col] = SIGN(pu1_src[col] - pu1_src[col - 2 - src_strd]); in ihevc_sao_edge_offset_class2_chroma()
903 pu1_sign_up[col] = SIGN(pu1_src[col] - pu1_src_top[col - 2]); in ihevc_sao_edge_offset_class2_chroma()
923 pu1_sign_up[0] = SIGN(pu1_src[0] - pu1_src_left_cpy[2 * (row - 1)]); in ihevc_sao_edge_offset_class2_chroma()
924 pu1_sign_up[1] = SIGN(pu1_src[1] - pu1_src_left_cpy[2 * (row - 1) + 1]); in ihevc_sao_edge_offset_class2_chroma()
932 u1_sign_down = SIGN(pu1_src[col] - pu1_src[col + 2 + src_strd]); in ihevc_sao_edge_offset_class2_chroma()
940pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class2_chroma()
951 pu1_src += src_strd; in ihevc_sao_edge_offset_class2_chroma()
954 pu1_src[-(pu1_avail[2] ? ht : ht + 1) * src_strd] = u1_pos_0_0_tmp_u; in ihevc_sao_edge_offset_class2_chroma()
955 pu1_src[-(pu1_avail[2] ? ht : ht + 1) * src_strd + 1] = u1_pos_0_0_tmp_v; in ihevc_sao_edge_offset_class2_chroma()
956 pu1_src[(pu1_avail[3] ? wd - 2 - src_strd : wd - 2)] = u1_pos_wd_ht_tmp_u; in ihevc_sao_edge_offset_class2_chroma()
957 pu1_src[(pu1_avail[3] ? wd - 1 - src_strd : wd - 1)] = u1_pos_wd_ht_tmp_v; in ihevc_sao_edge_offset_class2_chroma()
981 void ihevc_sao_edge_offset_class3(UWORD8 *pu1_src, in ihevc_sao_edge_offset_class3() argument
1016 au1_src_left_tmp[row] = pu1_src[row * src_strd + wd - 1]; in ihevc_sao_edge_offset_class3()
1020 au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_edge_offset_class3()
1028 edge_idx = 2 + SIGN(pu1_src[wd - 1] - pu1_src_top_right[0]) + in ihevc_sao_edge_offset_class3()
1029 SIGN(pu1_src[wd - 1] - pu1_src[wd - 1 - 1 + src_strd]); in ihevc_sao_edge_offset_class3()
1035 … u1_pos_wd_0_tmp = CLIP3(pu1_src[wd - 1] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class3()
1039 u1_pos_wd_0_tmp = pu1_src[wd - 1]; in ihevc_sao_edge_offset_class3()
1044 u1_pos_wd_0_tmp = pu1_src[wd - 1]; in ihevc_sao_edge_offset_class3()
1052 … edge_idx = 2 + SIGN(pu1_src[(ht - 1) * src_strd] - pu1_src[(ht - 1) * src_strd + 1 - src_strd]) + in ihevc_sao_edge_offset_class3()
1053 SIGN(pu1_src[(ht - 1) * src_strd] - pu1_src_bot_left[0]); in ihevc_sao_edge_offset_class3()
1059 …u1_pos_0_ht_tmp = CLIP3(pu1_src[(ht - 1) * src_strd] + pi1_sao_offset[edge_idx], 0, (1 << bit_dept… in ihevc_sao_edge_offset_class3()
1063 u1_pos_0_ht_tmp = pu1_src[(ht - 1) * src_strd]; in ihevc_sao_edge_offset_class3()
1068 u1_pos_0_ht_tmp = pu1_src[(ht - 1) * src_strd]; in ihevc_sao_edge_offset_class3()
1080 pu1_src += src_strd; in ihevc_sao_edge_offset_class3()
1085 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src[col + 1 - src_strd]); in ihevc_sao_edge_offset_class3()
1092 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src_top[col + 1]); in ihevc_sao_edge_offset_class3()
1112 au1_sign_up[wd - 1] = SIGN(pu1_src[wd - 1] - pu1_src[wd - 1 + 1 - src_strd]); in ihevc_sao_edge_offset_class3()
1117 u1_sign_down = SIGN(pu1_src[col] - ((col == 0) ? pu1_src_left_cpy[row + 1] : in ihevc_sao_edge_offset_class3()
1118 pu1_src[col - 1 + src_strd])); in ihevc_sao_edge_offset_class3()
1127pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class3()
1131 pu1_src += src_strd; in ihevc_sao_edge_offset_class3()
1134 pu1_src[-(pu1_avail[2] ? ht : ht + 1) * src_strd + wd - 1] = u1_pos_wd_0_tmp; in ihevc_sao_edge_offset_class3()
1135 pu1_src[(pu1_avail[3] ? (-src_strd) : 0)] = u1_pos_0_ht_tmp; in ihevc_sao_edge_offset_class3()
1157 void ihevc_sao_edge_offset_class3_chroma(UWORD8 *pu1_src, in ihevc_sao_edge_offset_class3_chroma() argument
1195 au1_src_left_tmp[2 * row] = pu1_src[row * src_strd + wd - 2]; in ihevc_sao_edge_offset_class3_chroma()
1196 au1_src_left_tmp[2 * row + 1] = pu1_src[row * src_strd + wd - 1]; in ihevc_sao_edge_offset_class3_chroma()
1200 au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_edge_offset_class3_chroma()
1210 edge_idx = 2 + SIGN(pu1_src[wd - 2] - pu1_src_top_right[0]) + in ihevc_sao_edge_offset_class3_chroma()
1211 SIGN(pu1_src[wd - 2] - pu1_src[wd - 2 - 2 + src_strd]); in ihevc_sao_edge_offset_class3_chroma()
1217 … u1_pos_wd_0_tmp_u = CLIP3(pu1_src[wd - 2] + pi1_sao_offset_u[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class3_chroma()
1221 u1_pos_wd_0_tmp_u = pu1_src[wd - 2]; in ihevc_sao_edge_offset_class3_chroma()
1225 edge_idx = 2 + SIGN(pu1_src[wd - 1] - pu1_src_top_right[1]) + in ihevc_sao_edge_offset_class3_chroma()
1226 SIGN(pu1_src[wd - 1] - pu1_src[wd - 1 - 2 + src_strd]); in ihevc_sao_edge_offset_class3_chroma()
1232 … u1_pos_wd_0_tmp_v = CLIP3(pu1_src[wd - 1] + pi1_sao_offset_v[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class3_chroma()
1236 u1_pos_wd_0_tmp_v = pu1_src[wd - 1]; in ihevc_sao_edge_offset_class3_chroma()
1241 u1_pos_wd_0_tmp_u = pu1_src[wd - 2]; in ihevc_sao_edge_offset_class3_chroma()
1242 u1_pos_wd_0_tmp_v = pu1_src[wd - 1]; in ihevc_sao_edge_offset_class3_chroma()
1251 … edge_idx = 2 + SIGN(pu1_src[(ht - 1) * src_strd] - pu1_src[(ht - 1) * src_strd + 2 - src_strd]) + in ihevc_sao_edge_offset_class3_chroma()
1252 SIGN(pu1_src[(ht - 1) * src_strd] - pu1_src_bot_left[0]); in ihevc_sao_edge_offset_class3_chroma()
1258 …u1_pos_0_ht_tmp_u = CLIP3(pu1_src[(ht - 1) * src_strd] + pi1_sao_offset_u[edge_idx], 0, (1 << bit_… in ihevc_sao_edge_offset_class3_chroma()
1262 u1_pos_0_ht_tmp_u = pu1_src[(ht - 1) * src_strd]; in ihevc_sao_edge_offset_class3_chroma()
1266 …edge_idx = 2 + SIGN(pu1_src[(ht - 1) * src_strd + 1] - pu1_src[(ht - 1) * src_strd + 1 + 2 - src_s… in ihevc_sao_edge_offset_class3_chroma()
1267 SIGN(pu1_src[(ht - 1) * src_strd + 1] - pu1_src_bot_left[1]); in ihevc_sao_edge_offset_class3_chroma()
1273 …u1_pos_0_ht_tmp_v = CLIP3(pu1_src[(ht - 1) * src_strd + 1] + pi1_sao_offset_v[edge_idx], 0, (1 << … in ihevc_sao_edge_offset_class3_chroma()
1277 u1_pos_0_ht_tmp_v = pu1_src[(ht - 1) * src_strd + 1]; in ihevc_sao_edge_offset_class3_chroma()
1282 u1_pos_0_ht_tmp_u = pu1_src[(ht - 1) * src_strd]; in ihevc_sao_edge_offset_class3_chroma()
1283 u1_pos_0_ht_tmp_v = pu1_src[(ht - 1) * src_strd + 1]; in ihevc_sao_edge_offset_class3_chroma()
1295 pu1_src += src_strd; in ihevc_sao_edge_offset_class3_chroma()
1300 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src[col + 2 - src_strd]); in ihevc_sao_edge_offset_class3_chroma()
1307 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src_top[col + 2]); in ihevc_sao_edge_offset_class3_chroma()
1327 au1_sign_up[wd - 2] = SIGN(pu1_src[wd - 2] - pu1_src[wd - 2 + 2 - src_strd]); in ihevc_sao_edge_offset_class3_chroma()
1328 au1_sign_up[wd - 1] = SIGN(pu1_src[wd - 1] - pu1_src[wd - 1 + 2 - src_strd]); in ihevc_sao_edge_offset_class3_chroma()
1336 … u1_sign_down = SIGN(pu1_src[col] - ((col < 2) ? pu1_src_left_cpy[2 * (row + 1) + col] : in ihevc_sao_edge_offset_class3_chroma()
1337 pu1_src[col - 2 + src_strd])); in ihevc_sao_edge_offset_class3_chroma()
1346pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class3_chroma()
1350 pu1_src += src_strd; in ihevc_sao_edge_offset_class3_chroma()
1353 pu1_src[-(pu1_avail[2] ? ht : ht + 1) * src_strd + wd - 2] = u1_pos_wd_0_tmp_u; in ihevc_sao_edge_offset_class3_chroma()
1354 pu1_src[-(pu1_avail[2] ? ht : ht + 1) * src_strd + wd - 1] = u1_pos_wd_0_tmp_v; in ihevc_sao_edge_offset_class3_chroma()
1355 pu1_src[(pu1_avail[3] ? (-src_strd) : 0)] = u1_pos_0_ht_tmp_u; in ihevc_sao_edge_offset_class3_chroma()
1356 pu1_src[(pu1_avail[3] ? (-src_strd) : 0) + 1] = u1_pos_0_ht_tmp_v; in ihevc_sao_edge_offset_class3_chroma()