• Home
  • Raw
  • Download

Lines Matching refs:wd

79                                 WORD32 wd,  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()
92 pu1_src_top_left[0] = pu1_src_top[wd - 1]; in ihevc_sao_band_offset_luma()
93 for(col = 0; col < wd; col++) in ihevc_sao_band_offset_luma()
110 for(col = 0; col < wd; col++) in ihevc_sao_band_offset_luma()
133 WORD32 wd, 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()
148 pu1_src_top_left[0] = pu1_src_top[wd - 2]; in ihevc_sao_band_offset_chroma()
149 pu1_src_top_left[1] = pu1_src_top[wd - 1]; in ihevc_sao_band_offset_chroma()
150 for(col = 0; col < wd; col++) in ihevc_sao_band_offset_chroma()
170 for(col = 0; col < wd; col++) in ihevc_sao_band_offset_chroma()
195 WORD32 wd, in ihevc_sao_edge_offset_class0() argument
211 *pu1_src_top_left = pu1_src_top[wd - 1]; in ihevc_sao_edge_offset_class0()
214 au1_src_left_tmp[row] = pu1_src[row * src_strd + wd - 1]; in ihevc_sao_edge_offset_class0()
216 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class0()
228 au1_mask[wd - 1] = 0; in ihevc_sao_edge_offset_class0()
236 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class0()
278 WORD32 wd, in ihevc_sao_edge_offset_class0_chroma() argument
295 pu1_src_top_left[0] = pu1_src_top[wd - 2]; in ihevc_sao_edge_offset_class0_chroma()
296 pu1_src_top_left[1] = pu1_src_top[wd - 1]; in ihevc_sao_edge_offset_class0_chroma()
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()
302 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class0_chroma()
314 au1_mask[(wd - 1) >> 1] = 0; in ihevc_sao_edge_offset_class0_chroma()
323 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class0_chroma()
374 WORD32 wd, in ihevc_sao_edge_offset_class1() argument
392 *pu1_src_top_left = pu1_src_top[wd - 1]; in ihevc_sao_edge_offset_class1()
395 pu1_src_left[row] = pu1_src[row * src_strd + wd - 1]; in ihevc_sao_edge_offset_class1()
397 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1()
407 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1()
414 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1()
428 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1()
448 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1()
468 WORD32 wd, in ihevc_sao_edge_offset_class1_chroma() argument
486 pu1_src_top_left[0] = pu1_src_top[wd - 2]; in ihevc_sao_edge_offset_class1_chroma()
487 pu1_src_top_left[1] = pu1_src_top[wd - 1]; in ihevc_sao_edge_offset_class1_chroma()
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()
493 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1_chroma()
503 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1_chroma()
510 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1_chroma()
524 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1_chroma()
547 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1_chroma()
566 WORD32 wd, in ihevc_sao_edge_offset_class2() argument
594 u1_src_top_left_tmp = pu1_src_top[wd - 1]; in ihevc_sao_edge_offset_class2()
597 au1_src_left_tmp[row] = pu1_src[row * src_strd + wd - 1]; in ihevc_sao_edge_offset_class2()
599 for(col = 0; col < wd; col++) 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()
665 for(col = 1; col < wd; col++) in ihevc_sao_edge_offset_class2()
672 for(col = 1; col < wd; col++) in ihevc_sao_edge_offset_class2()
681 au1_mask[wd - 1] = 0; in ihevc_sao_edge_offset_class2()
695 for(col = 0; col < wd; col++) 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()
734 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class2()
755 WORD32 wd, in ihevc_sao_edge_offset_class2_chroma() argument
787 au1_src_top_left_tmp[0] = pu1_src_top[wd - 2]; in ihevc_sao_edge_offset_class2_chroma()
788 au1_src_top_left_tmp[1] = pu1_src_top[wd - 1]; in ihevc_sao_edge_offset_class2_chroma()
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()
794 for(col = 0; col < wd; col++) 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()
894 for(col = 2; col < wd; col++) in ihevc_sao_edge_offset_class2_chroma()
901 for(col = 2; col < wd; col++) in ihevc_sao_edge_offset_class2_chroma()
910 au1_mask[(wd - 1) >> 1] = 0; in ihevc_sao_edge_offset_class2_chroma()
925 for(col = 0; col < wd; col++) 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()
970 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class2_chroma()
990 WORD32 wd, in ihevc_sao_edge_offset_class3() argument
1013 u1_src_top_left_tmp = pu1_src_top[wd - 1]; in ihevc_sao_edge_offset_class3()
1016 au1_src_left_tmp[row] = pu1_src[row * src_strd + wd - 1]; in ihevc_sao_edge_offset_class3()
1018 for(col = 0; col < wd; 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()
1083 for(col = 0; col < wd - 1; col++) in ihevc_sao_edge_offset_class3()
1090 for(col = 0; col < wd - 1; col++) in ihevc_sao_edge_offset_class3()
1099 au1_mask[wd - 1] = 0; 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()
1113 for(col = 0; col < wd; col++) 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()
1147 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class3()
1167 WORD32 wd, in ihevc_sao_edge_offset_class3_chroma() argument
1191 au1_src_top_left_tmp[0] = pu1_src_top[wd - 2]; in ihevc_sao_edge_offset_class3_chroma()
1192 au1_src_top_left_tmp[1] = pu1_src_top[wd - 1]; in ihevc_sao_edge_offset_class3_chroma()
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()
1198 for(col = 0; col < wd; 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()
1298 for(col = 0; col < wd - 2; col++) in ihevc_sao_edge_offset_class3_chroma()
1305 for(col = 0; col < wd - 2; col++) in ihevc_sao_edge_offset_class3_chroma()
1314 au1_mask[(wd - 1) >> 1] = 0; 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()
1329 for(col = 0; col < wd; col++) 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()
1369 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class3_chroma()