• Home
  • Raw
  • Download

Lines Matching refs:col

85     WORD32 row, col;  in ihevc_sao_band_offset_luma()  local
93 for(col = 0; col < wd; col++) in ihevc_sao_band_offset_luma()
95 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_band_offset_luma()
110 for(col = 0; col < wd; col++) in ihevc_sao_band_offset_luma()
114 band_idx = band_table[pu1_src[col] >> band_shift]; in ihevc_sao_band_offset_luma()
115 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[band_idx], 0, (1 << (band_shift + 5)) - 1); in ihevc_sao_band_offset_luma()
140 WORD32 row, col; in ihevc_sao_band_offset_chroma() local
150 for(col = 0; col < wd; col++) in ihevc_sao_band_offset_chroma()
152 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_band_offset_chroma()
170 for(col = 0; col < wd; col++) in ihevc_sao_band_offset_chroma()
175 pi1_sao_offset = (0 == col % 2) ? pi1_sao_offset_u : pi1_sao_offset_v; 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()
177 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[band_idx], 0, (1 << (band_shift + 5)) - 1); in ihevc_sao_band_offset_chroma()
198 WORD32 row, col; in ihevc_sao_edge_offset_class0() local
216 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class0()
218 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_edge_offset_class0()
236 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class0()
240 u1_sign_right = SIGN(pu1_src[col] - pu1_src[col + 1]); in ihevc_sao_edge_offset_class0()
244 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col]; in ihevc_sao_edge_offset_class0()
248 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class0()
281 WORD32 row, col; in ihevc_sao_edge_offset_class0_chroma() local
302 for(col = 0; col < wd; col++) 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()
323 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class0_chroma()
328 if(0 == col % 2) 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()
343 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col >> 1]; in ihevc_sao_edge_offset_class0_chroma()
347 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class0_chroma()
377 WORD32 row, col; in ihevc_sao_edge_offset_class1() local
397 for(col = 0; col < wd; col++) 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()
407 for(col = 0; col < wd; col++) 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()
414 for(col = 0; col < wd; col++) 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()
428 for(col = 0; col < wd; 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()
433 edge_idx = 2 + au1_sign_up[col] + u1_sign_down; in ihevc_sao_edge_offset_class1()
434 au1_sign_up[col] = -u1_sign_down; in ihevc_sao_edge_offset_class1()
436 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col]; in ihevc_sao_edge_offset_class1()
440 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class1()
448 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1()
450 pu1_src_top[col] = au1_src_top_tmp[col]; in ihevc_sao_edge_offset_class1()
471 WORD32 row, col; in ihevc_sao_edge_offset_class1_chroma() local
493 for(col = 0; col < wd; col++) 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()
503 for(col = 0; col < wd; col++) 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()
510 for(col = 0; col < wd; col++) 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()
524 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1_chroma()
529 pi1_sao_offset = (0 == col % 2) ? pi1_sao_offset_u : pi1_sao_offset_v; 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()
532 edge_idx = 2 + au1_sign_up[col] + u1_sign_down; in ihevc_sao_edge_offset_class1_chroma()
533 au1_sign_up[col] = -u1_sign_down; in ihevc_sao_edge_offset_class1_chroma()
535 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col >> 1]; in ihevc_sao_edge_offset_class1_chroma()
539 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class1_chroma()
547 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class1_chroma()
549 pu1_src_top[col] = au1_src_top_tmp[col]; in ihevc_sao_edge_offset_class1_chroma()
569 WORD32 row, col; in ihevc_sao_edge_offset_class2() local
599 for(col = 0; col < wd; col++) 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()
665 for(col = 1; col < wd; col++) 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()
672 for(col = 1; col < wd; col++) 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()
695 for(col = 0; col < wd; col++) 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()
700 edge_idx = 2 + pu1_sign_up[col] + u1_sign_down; in ihevc_sao_edge_offset_class2()
701 pu1_sign_up_tmp[col + 1] = -u1_sign_down; in ihevc_sao_edge_offset_class2()
703 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col]; in ihevc_sao_edge_offset_class2()
707 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class2()
734 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class2()
736 pu1_src_top[col] = au1_src_top_tmp[col]; in ihevc_sao_edge_offset_class2()
758 WORD32 row, col; in ihevc_sao_edge_offset_class2_chroma() local
794 for(col = 0; col < wd; col++) 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()
894 for(col = 2; col < wd; col++) 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()
901 for(col = 2; col < wd; col++) 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()
925 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class2_chroma()
930 pi1_sao_offset = (0 == col % 2) ? pi1_sao_offset_u : pi1_sao_offset_v; 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()
933 edge_idx = 2 + pu1_sign_up[col] + u1_sign_down; in ihevc_sao_edge_offset_class2_chroma()
934 pu1_sign_up_tmp[col + 2] = -u1_sign_down; in ihevc_sao_edge_offset_class2_chroma()
936 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col >> 1]; in ihevc_sao_edge_offset_class2_chroma()
940 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class2_chroma()
970 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class2_chroma()
972 pu1_src_top[col] = au1_src_top_tmp[col]; in ihevc_sao_edge_offset_class2_chroma()
993 WORD32 row, col; in ihevc_sao_edge_offset_class3() local
1018 for(col = 0; col < wd; col++) 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()
1083 for(col = 0; col < wd - 1; col++) 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()
1090 for(col = 0; col < wd - 1; col++) 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()
1113 for(col = 0; col < wd; col++) 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()
1119 edge_idx = 2 + au1_sign_up[col] + u1_sign_down; in ihevc_sao_edge_offset_class3()
1120 if(col > 0) in ihevc_sao_edge_offset_class3()
1121 au1_sign_up[col - 1] = -u1_sign_down; in ihevc_sao_edge_offset_class3()
1123 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col]; in ihevc_sao_edge_offset_class3()
1127 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class3()
1147 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class3()
1149 pu1_src_top[col] = au1_src_top_tmp[col]; in ihevc_sao_edge_offset_class3()
1170 WORD32 row, col; in ihevc_sao_edge_offset_class3_chroma() local
1198 for(col = 0; col < wd; col++) 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()
1298 for(col = 0; col < wd - 2; col++) 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()
1305 for(col = 0; col < wd - 2; col++) 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()
1329 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class3_chroma()
1334 pi1_sao_offset = (0 == col % 2) ? pi1_sao_offset_u : pi1_sao_offset_v; 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()
1338 edge_idx = 2 + au1_sign_up[col] + u1_sign_down; in ihevc_sao_edge_offset_class3_chroma()
1339 if(col > 1) in ihevc_sao_edge_offset_class3_chroma()
1340 au1_sign_up[col - 2] = -u1_sign_down; in ihevc_sao_edge_offset_class3_chroma()
1342 edge_idx = gi4_ihevc_table_edge_idx[edge_idx] & au1_mask[col >> 1]; in ihevc_sao_edge_offset_class3_chroma()
1346 … pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); in ihevc_sao_edge_offset_class3_chroma()
1369 for(col = 0; col < wd; col++) in ihevc_sao_edge_offset_class3_chroma()
1371 pu1_src_top[col] = au1_src_top_tmp[col]; in ihevc_sao_edge_offset_class3_chroma()