Lines Matching defs:col

85     WORD32 row, col;
93 for(col = 0; col < wd; col++)
95 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col];
110 for(col = 0; col < wd; col++)
114 band_idx = band_table[pu1_src[col] >> band_shift];
115 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[band_idx], 0, (1 << (band_shift + 5)) - 1);
140 WORD32 row, col;
150 for(col = 0; col < wd; col++)
152 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col];
170 for(col = 0; col < wd; col++)
175 pi1_sao_offset = (0 == col % 2) ? pi1_sao_offset_u : pi1_sao_offset_v;
176 band_idx = (0 == col % 2) ? band_table_u[pu1_src[col] >> band_shift] : band_table_v[pu1_src[col] >> band_shift];
177 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[band_idx], 0, (1 << (band_shift + 5)) - 1);
198 WORD32 row, col;
216 for(col = 0; col < wd; col++)
218 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col];
236 for(col = 0; col < wd; col++)
240 u1_sign_right = SIGN(pu1_src[col] - pu1_src[col + 1]);
244 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col];
248 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
281 WORD32 row, col;
302 for(col = 0; col < wd; col++)
304 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col];
323 for(col = 0; col < wd; col++)
328 if(0 == col % 2)
331 u1_sign_right_u = SIGN(pu1_src[col] - pu1_src[col + 2]);
338 u1_sign_right_v = SIGN(pu1_src[col] - pu1_src[col + 2]);
343 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col >> 1];
347 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
377 WORD32 row, col;
397 for(col = 0; col < wd; col++)
399 au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col];
407 for(col = 0; col < wd; col++)
409 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src[col - src_strd]);
414 for(col = 0; col < wd; col++)
416 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src_top[col]);
428 for(col = 0; col < wd; col++)
432 u1_sign_down = SIGN(pu1_src[col] - pu1_src[col + src_strd]);
433 edge_idx = 2 + au1_sign_up[col] + u1_sign_down;
434 au1_sign_up[col] = -u1_sign_down;
436 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col];
440 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
448 for(col = 0; col < wd; col++)
450 pu1_src_top[col] = au1_src_top_tmp[col];
471 WORD32 row, col;
493 for(col = 0; col < wd; col++)
495 au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col];
503 for(col = 0; col < wd; col++)
505 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src[col - src_strd]);
510 for(col = 0; col < wd; col++)
512 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src_top[col]);
524 for(col = 0; col < wd; col++)
529 pi1_sao_offset = (0 == col % 2) ? pi1_sao_offset_u : pi1_sao_offset_v;
531 u1_sign_down = SIGN(pu1_src[col] - pu1_src[col + src_strd]);
532 edge_idx = 2 + au1_sign_up[col] + u1_sign_down;
533 au1_sign_up[col] = -u1_sign_down;
535 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col >> 1];
539 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
547 for(col = 0; col < wd; col++)
549 pu1_src_top[col] = au1_src_top_tmp[col];
569 WORD32 row, col;
599 for(col = 0; col < wd; col++)
601 au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col];
665 for(col = 1; col < wd; col++)
667 pu1_sign_up[col] = SIGN(pu1_src[col] - pu1_src[col - 1 - src_strd]);
672 for(col = 1; col < wd; col++)
674 pu1_sign_up[col] = SIGN(pu1_src[col] - pu1_src_top[col - 1]);
695 for(col = 0; col < wd; col++)
699 u1_sign_down = SIGN(pu1_src[col] - pu1_src[col + 1 + src_strd]);
700 edge_idx = 2 + pu1_sign_up[col] + u1_sign_down;
701 pu1_sign_up_tmp[col + 1] = -u1_sign_down;
703 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col];
707 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
734 for(col = 0; col < wd; col++)
736 pu1_src_top[col] = au1_src_top_tmp[col];
758 WORD32 row, col;
794 for(col = 0; col < wd; col++)
796 au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col];
894 for(col = 2; col < wd; col++)
896 pu1_sign_up[col] = SIGN(pu1_src[col] - pu1_src[col - 2 - src_strd]);
901 for(col = 2; col < wd; col++)
903 pu1_sign_up[col] = SIGN(pu1_src[col] - pu1_src_top[col - 2]);
925 for(col = 0; col < wd; col++)
930 pi1_sao_offset = (0 == col % 2) ? pi1_sao_offset_u : pi1_sao_offset_v;
932 u1_sign_down = SIGN(pu1_src[col] - pu1_src[col + 2 + src_strd]);
933 edge_idx = 2 + pu1_sign_up[col] + u1_sign_down;
934 pu1_sign_up_tmp[col + 2] = -u1_sign_down;
936 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col >> 1];
940 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
970 for(col = 0; col < wd; col++)
972 pu1_src_top[col] = au1_src_top_tmp[col];
993 WORD32 row, col;
1018 for(col = 0; col < wd; col++)
1020 au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col];
1083 for(col = 0; col < wd - 1; col++)
1085 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src[col + 1 - src_strd]);
1090 for(col = 0; col < wd - 1; col++)
1092 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src_top[col + 1]);
1113 for(col = 0; col < wd; col++)
1117 u1_sign_down = SIGN(pu1_src[col] - ((col == 0) ? pu1_src_left_cpy[row + 1] :
1118 pu1_src[col - 1 + src_strd]));
1119 edge_idx = 2 + au1_sign_up[col] + u1_sign_down;
1120 if(col > 0)
1121 au1_sign_up[col - 1] = -u1_sign_down;
1123 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col];
1127 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
1147 for(col = 0; col < wd; col++)
1149 pu1_src_top[col] = au1_src_top_tmp[col];
1170 WORD32 row, col;
1198 for(col = 0; col < wd; col++)
1200 au1_src_top_tmp[col] = pu1_src[(ht - 1) * src_strd + col];
1298 for(col = 0; col < wd - 2; col++)
1300 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src[col + 2 - src_strd]);
1305 for(col = 0; col < wd - 2; col++)
1307 au1_sign_up[col] = SIGN(pu1_src[col] - pu1_src_top[col + 2]);
1329 for(col = 0; col < wd; col++)
1334 pi1_sao_offset = (0 == col % 2) ? pi1_sao_offset_u : pi1_sao_offset_v;
1336 u1_sign_down = SIGN(pu1_src[col] - ((col < 2) ? pu1_src_left_cpy[2 * (row + 1) + col] :
1337 pu1_src[col - 2 + src_strd]));
1338 edge_idx = 2 + au1_sign_up[col] + u1_sign_down;
1339 if(col > 1)
1340 au1_sign_up[col - 2] = -u1_sign_down;
1342 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col >> 1];
1346 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1);
1369 for(col = 0; col < wd; col++)
1371 pu1_src_top[col] = au1_src_top_tmp[col];