Home | History | Annotate | Download | only in common

Lines Matching refs:wd

79                                 WORD32 wd,
90 pu1_src_left[row] = pu1_src[row * src_strd + (wd - 1)];
92 pu1_src_top_left[0] = pu1_src_top[wd - 1];
93 for(col = 0; col < wd; col++)
110 for(col = 0; col < wd; col++)
123 /* input 'wd' has to be for the interleaved block and not for each color component */
133 WORD32 wd,
145 pu1_src_left[2 * row] = pu1_src[row * src_strd + (wd - 2)];
146 pu1_src_left[2 * row + 1] = pu1_src[row * src_strd + (wd - 1)];
148 pu1_src_top_left[0] = pu1_src_top[wd - 2];
149 pu1_src_top_left[1] = pu1_src_top[wd - 1];
150 for(col = 0; col < wd; col++)
170 for(col = 0; col < wd; col++)
195 WORD32 wd,
211 *pu1_src_top_left = pu1_src_top[wd - 1];
214 au1_src_left_tmp[row] = pu1_src[row * src_strd + wd - 1];
216 for(col = 0; col < wd; col++)
228 au1_mask[wd - 1] = 0;
236 for(col = 0; col < wd; col++)
267 /* input 'wd' has to be for the interleaved block and not for each color component */
278 WORD32 wd,
295 pu1_src_top_left[0] = pu1_src_top[wd - 2];
296 pu1_src_top_left[1] = pu1_src_top[wd - 1];
299 au1_src_left_tmp[2 * row] = pu1_src[row * src_strd + wd - 2];
300 au1_src_left_tmp[2 * row + 1] = pu1_src[row * src_strd + wd - 1];
302 for(col = 0; col < wd; col++)
314 au1_mask[(wd - 1) >> 1] = 0;
323 for(col = 0; col < wd; col++)
374 WORD32 wd,
392 *pu1_src_top_left = pu1_src_top[wd - 1];
395 pu1_src_left[row] = pu1_src[row * src_strd + wd - 1];
397 for(col = 0; col < wd; col++)
407 for(col = 0; col < wd; col++)
414 for(col = 0; col < wd; col++)
428 for(col = 0; col < wd; col++)
448 for(col = 0; col < wd; col++)
457 /* input 'wd' has to be for the interleaved block and not for each color component */
468 WORD32 wd,
486 pu1_src_top_left[0] = pu1_src_top[wd - 2];
487 pu1_src_top_left[1] = pu1_src_top[wd - 1];
490 pu1_src_left[2 * row] = pu1_src[row * src_strd + wd - 2];
491 pu1_src_left[2 * row + 1] = pu1_src[row * src_strd + wd - 1];
493 for(col = 0; col < wd; col++)
503 for(col = 0; col < wd; col++)
510 for(col = 0; col < wd; col++)
524 wd; col++)
547 for(col = 0; col < wd; col++)
566 WORD32 wd,
594 u1_src_top_left_tmp = pu1_src_top[wd - 1];
597 au1_src_left_tmp[row] = pu1_src[row * src_strd + wd - 1];
599 for(col = 0; col < wd; col++)
634 edge_idx = 2 + SIGN(pu1_src[wd - 1 + (ht - 1) * src_strd] - pu1_src[wd - 1 + (ht - 1) * src_strd - 1 - src_strd]) +
635 SIGN(pu1_src[wd - 1 + (ht - 1) * src_strd] - pu1_src[wd - 1 + (ht - 1) * src_strd + 1 + src_strd]);
641 u1_pos_wd_ht_tmp = CLIP3(pu1_src[wd - 1 + (ht - 1) * src_strd] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
645 u1_pos_wd_ht_tmp = pu1_src[wd - 1 + (ht - 1) * src_strd];
650 u1_pos_wd_ht_tmp = pu1_src[wd - 1 + (ht - 1) * src_strd];
665 for(col = 1; col < wd; col++)
672 for(col = 1; col < wd; col++)
681 au1_mask[wd - 1] = 0;
695 for(col = 0; col < wd; col++)
722 pu1_src[(pu1_avail[3] ? wd - 1 - src_strd : wd - 1)] = u1_pos_wd_ht_tmp;
734 for(col = 0; col < wd; col++)
755 WORD32 wd,
787 au1_src_top_left_tmp[0] = pu1_src_top[wd - 2];
788 au1_src_top_left_tmp[1] = pu1_src_top[wd - 1];
791 au1_src_left_tmp[2 * row] = pu1_src[row * src_strd + wd - 2];
792 au1_src_left_tmp[2 * row + 1] = pu1_src[row * src_strd + wd - 1];
794 for(col = 0; col < wd; col++)
847 edge_idx = 2 + SIGN(pu1_src[wd - 2 + (ht - 1) * src_strd] - pu1_src[wd - 2 + (ht - 1) * src_strd - 2 - src_strd]) +
848 SIGN(pu1_src[wd - 2 + (ht - 1) * src_strd] - pu1_src[wd - 2 + (ht - 1) * src_strd + 2 + src_strd]);
854 u1_pos_wd_ht_tmp_u = CLIP3(pu1_src[wd - 2 + (ht - 1) * src_strd] + pi1_sao_offset_u[edge_idx], 0, (1 << bit_depth) - 1);
858 u1_pos_wd_ht_tmp_u = pu1_src[wd - 2 + (ht - 1) * src_strd];
862 edge_idx = 2 + SIGN(pu1_src[wd - 1 + (ht - 1) * src_strd] - pu1_src[wd - 1 + (ht - 1) * src_strd - 2 - src_strd]) +
863 SIGN(pu1_src[wd - 1 + (ht - 1) * src_strd] - pu1_src[wd - 1 + (ht - 1) * src_strd + 2 + src_strd]);
869 u1_pos_wd_ht_tmp_v = CLIP3(pu1_src[wd - 1 + (ht - 1) * src_strd] + pi1_sao_offset_v[edge_idx], 0, (1 << bit_depth) - 1);
873 u1_pos_wd_ht_tmp_v = pu1_src[wd - 1 + (ht - 1) * src_strd];
878 u1_pos_wd_ht_tmp_u = pu1_src[wd - 2 + (ht - 1) * src_strd];
879 u1_pos_wd_ht_tmp_v = pu1_src[wd - 1 + (ht - 1) * src_strd];
894 for(col = 2; col < wd; col++)
901 for(col = 2; col < wd; col++)
910 au1_mask[(wd - 1) >> 1] = 0;
925 for(col = 0; col < wd; col++)
956 pu1_src[(pu1_avail[3] ? wd - 2 - src_strd : wd - 2)] = u1_pos_wd_ht_tmp_u;
957 pu1_src[(pu1_avail[3] ? wd - 1 - src_strd : wd - 1)] = u1_pos_wd_ht_tmp_v;
970 for(col = 0; col < wd; col++)
990 WORD32 wd,
1013 u1_src_top_left_tmp = pu1_src_top[wd - 1];
1016 au1_src_left_tmp[row] = pu1_src[row * src_strd + wd - 1];
1018 for(col = 0; col < wd; col++)
1028 edge_idx = 2 + SIGN(pu1_src[wd - 1] - pu1_src_top_right[0]) +
1029 SIGN(pu1_src[wd - 1] - pu1_src[wd - 1 - 1 + src_strd]);
1035 u1_pos_wd_0_tmp = CLIP3(pu1_src[wd - 1] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
1039 u1_pos_wd_0_tmp = pu1_src[wd - 1];
1044 u1_pos_wd_0_tmp = pu1_src[wd - 1];
1083 for(col = 0; col < wd - 1; col++)
1090 for(col = 0; col < wd - 1; col++)
1099 au1_mask[wd - 1] = 0;
1112 au1_sign_up[wd - 1] = SIGN(pu1_src[wd - 1] - pu1_src[wd - 1 + 1 - src_strd]);
1113 for(col = 0; col < wd; col++)
1134 pu1_src[-(pu1_avail[2] ? ht : ht + 1) * src_strd + wd - 1] = u1_pos_wd_0_tmp;
1147 for(col = 0; col < wd; col++)
1167 WORD32 wd,
1191 au1_src_top_left_tmp[0] = pu1_src_top[wd - 2];
1192 au1_src_top_left_tmp[1] = pu1_src_top[wd - 1];
1195 au1_src_left_tmp[2 * row] = pu1_src[row * src_strd + wd - 2];
1196 au1_src_left_tmp[2 * row + 1] = pu1_src[row * src_strd + wd - 1];
1198 for(col = 0; col < wd; col++)
1210 edge_idx = 2 + SIGN(pu1_src[wd - 2] - pu1_src_top_right[0]) +
1211 SIGN(pu1_src[wd - 2] - pu1_src[wd - 2 - 2 + src_strd]);
1217 u1_pos_wd_0_tmp_u = CLIP3(pu1_src[wd - 2] + pi1_sao_offset_u[edge_idx], 0, (1 << bit_depth) - 1);
1221 u1_pos_wd_0_tmp_u = pu1_src[wd - 2];
1225 edge_idx = 2 + SIGN(pu1_src[wd - 1] - pu1_src_top_right[1]) +
1226 SIGN(pu1_src[wd - 1] - pu1_src[wd - 1 - 2 + src_strd]);
1232 u1_pos_wd_0_tmp_v = CLIP3(pu1_src[wd - 1] + pi1_sao_offset_v[edge_idx], 0, (1 << bit_depth) - 1);
1236 u1_pos_wd_0_tmp_v = pu1_src[wd - 1];
1241 u1_pos_wd_0_tmp_u = pu1_src[wd - 2];
1242 u1_pos_wd_0_tmp_v = pu1_src[wd - 1];
1298 for(col = 0; col < wd - 2; col++)
1305 for(col = 0; col < wd - 2; col++)
1314 au1_mask[(wd - 1) >> 1] = 0;
1327 au1_sign_up[wd - 2] = SIGN(pu1_src[wd - 2] - pu1_src[wd - 2 + 2 - src_strd]);
1328 au1_sign_up[wd - 1] = SIGN(pu1_src[wd - 1] - pu1_src[wd - 1 + 2 - src_strd]);
1329 for(col = 0; col < wd; col++)
1353 pu1_src[-(pu1_avail[2] ? ht : ht + 1) * src_strd + wd - 2] = u1_pos_wd_0_tmp_u;
1354 pu1_src[-(pu1_avail[2] ? ht : ht + 1) * src_strd + wd - 1] = u1_pos_wd_0_tmp_v;
1369 for(col = 0; col < wd; col++)