• Home
  • Raw
  • Download

Lines Matching refs:srow

947         const uchar* srow;  in Bayer2RGB_VNG_8u()  local
952 srow = bayer + (y+dy)*bstep + 1; in Bayer2RGB_VNG_8u()
963 for( ; i <= N-9; i += 8, srow += 8, brow += 8 ) in Bayer2RGB_VNG_8u()
967 s1 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow-1-bstep)),z); in Bayer2RGB_VNG_8u()
968 s2 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow-bstep)),z); in Bayer2RGB_VNG_8u()
969 s3 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow+1-bstep)),z); in Bayer2RGB_VNG_8u()
971 s4 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow-1)),z); in Bayer2RGB_VNG_8u()
972 s6 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow+1)),z); in Bayer2RGB_VNG_8u()
974 s7 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow-1+bstep)),z); in Bayer2RGB_VNG_8u()
975 s8 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow+bstep)),z); in Bayer2RGB_VNG_8u()
976 s9 = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i*)(srow+1+bstep)),z); in Bayer2RGB_VNG_8u()
1008 for( ; i < N-1; i++, srow++, brow++ ) in Bayer2RGB_VNG_8u()
1010 brow[0] = (ushort)(std::abs(srow[-1-bstep] - srow[-1+bstep]) + in Bayer2RGB_VNG_8u()
1011 std::abs(srow[-bstep] - srow[+bstep])*2 + in Bayer2RGB_VNG_8u()
1012 std::abs(srow[1-bstep] - srow[1+bstep])); in Bayer2RGB_VNG_8u()
1013 brow[N] = (ushort)(std::abs(srow[-1-bstep] - srow[1-bstep]) + in Bayer2RGB_VNG_8u()
1014 std::abs(srow[-1] - srow[1])*2 + in Bayer2RGB_VNG_8u()
1015 std::abs(srow[-1+bstep] - srow[1+bstep])); in Bayer2RGB_VNG_8u()
1016 brow[N2] = (ushort)(std::abs(srow[+1-bstep] - srow[-1+bstep])*2); in Bayer2RGB_VNG_8u()
1017 brow[N3] = (ushort)(std::abs(srow[-1-bstep] - srow[1+bstep])*2); in Bayer2RGB_VNG_8u()
1018 brow[N4] = (ushort)(brow[N2] + std::abs(srow[-bstep] - srow[-1]) + in Bayer2RGB_VNG_8u()
1019 std::abs(srow[+bstep] - srow[1])); in Bayer2RGB_VNG_8u()
1020 brow[N5] = (ushort)(brow[N3] + std::abs(srow[-bstep] - srow[1]) + in Bayer2RGB_VNG_8u()
1021 std::abs(srow[+bstep] - srow[-1])); in Bayer2RGB_VNG_8u()
1022 brow[N6] = (ushort)((srow[-bstep] + srow[-1] + srow[1] + srow[+bstep])>>1); in Bayer2RGB_VNG_8u()
1030 srow = bayer + y*bstep + 2; in Bayer2RGB_VNG_8u()
1042 for( ; i < limit; i++, srow++, brow0++, brow1++, brow2++, dstrow += 3 ) in Bayer2RGB_VNG_8u()
1066 Rs += srow[-bstep*2] + srow[0]; in Bayer2RGB_VNG_8u()
1067 Gs += srow[-bstep]*2; in Bayer2RGB_VNG_8u()
1068 Bs += srow[-bstep-1] + srow[-bstep+1]; in Bayer2RGB_VNG_8u()
1073 Rs += srow[bstep*2] + srow[0]; in Bayer2RGB_VNG_8u()
1074 Gs += srow[bstep]*2; in Bayer2RGB_VNG_8u()
1075 Bs += srow[bstep-1] + srow[bstep+1]; in Bayer2RGB_VNG_8u()
1080 Rs += srow[-2] + srow[0]; in Bayer2RGB_VNG_8u()
1081 Gs += srow[-1]*2; in Bayer2RGB_VNG_8u()
1082 Bs += srow[-bstep-1] + srow[bstep-1]; in Bayer2RGB_VNG_8u()
1087 Rs += srow[2] + srow[0]; in Bayer2RGB_VNG_8u()
1088 Gs += srow[1]*2; in Bayer2RGB_VNG_8u()
1089 Bs += srow[-bstep+1] + srow[bstep+1]; in Bayer2RGB_VNG_8u()
1094 Rs += srow[-bstep*2+2] + srow[0]; in Bayer2RGB_VNG_8u()
1096 Bs += srow[-bstep+1]*2; in Bayer2RGB_VNG_8u()
1101 Rs += srow[bstep*2-2] + srow[0]; in Bayer2RGB_VNG_8u()
1103 Bs += srow[bstep-1]*2; in Bayer2RGB_VNG_8u()
1108 Rs += srow[-bstep*2-2] + srow[0]; in Bayer2RGB_VNG_8u()
1110 Bs += srow[-bstep+1]*2; in Bayer2RGB_VNG_8u()
1115 Rs += srow[bstep*2+2] + srow[0]; in Bayer2RGB_VNG_8u()
1117 Bs += srow[-bstep+1]*2; in Bayer2RGB_VNG_8u()
1120 R = srow[0]; in Bayer2RGB_VNG_8u()
1138 Rs += srow[-bstep*2-1] + srow[-bstep*2+1]; in Bayer2RGB_VNG_8u()
1139 Gs += srow[-bstep*2] + srow[0]; in Bayer2RGB_VNG_8u()
1140 Bs += srow[-bstep]*2; in Bayer2RGB_VNG_8u()
1145 Rs += srow[bstep*2-1] + srow[bstep*2+1]; in Bayer2RGB_VNG_8u()
1146 Gs += srow[bstep*2] + srow[0]; in Bayer2RGB_VNG_8u()
1147 Bs += srow[bstep]*2; in Bayer2RGB_VNG_8u()
1152 Rs += srow[-1]*2; in Bayer2RGB_VNG_8u()
1153 Gs += srow[-2] + srow[0]; in Bayer2RGB_VNG_8u()
1154 Bs += srow[-bstep-2]+srow[bstep-2]; in Bayer2RGB_VNG_8u()
1159 Rs += srow[1]*2; in Bayer2RGB_VNG_8u()
1160 Gs += srow[2] + srow[0]; in Bayer2RGB_VNG_8u()
1161 Bs += srow[-bstep+2]+srow[bstep+2]; in Bayer2RGB_VNG_8u()
1166 Rs += srow[-bstep*2+1] + srow[1]; in Bayer2RGB_VNG_8u()
1167 Gs += srow[-bstep+1]*2; in Bayer2RGB_VNG_8u()
1168 Bs += srow[-bstep] + srow[-bstep+2]; in Bayer2RGB_VNG_8u()
1173 Rs += srow[bstep*2-1] + srow[-1]; in Bayer2RGB_VNG_8u()
1174 Gs += srow[bstep-1]*2; in Bayer2RGB_VNG_8u()
1175 Bs += srow[bstep] + srow[bstep-2]; in Bayer2RGB_VNG_8u()
1180 Rs += srow[-bstep*2-1] + srow[-1]; in Bayer2RGB_VNG_8u()
1181 Gs += srow[-bstep-1]*2; in Bayer2RGB_VNG_8u()
1182 Bs += srow[-bstep-2]+srow[-bstep]; in Bayer2RGB_VNG_8u()
1187 Rs += srow[bstep*2+1] + srow[1]; in Bayer2RGB_VNG_8u()
1188 Gs += srow[bstep+1]*2; in Bayer2RGB_VNG_8u()
1189 Bs += srow[bstep+2]+srow[bstep]; in Bayer2RGB_VNG_8u()
1192 G = srow[0]; in Bayer2RGB_VNG_8u()
1218 for( ; i <= N - 10; i += 8, srow += 8, brow0 += 8, brow1 += 8, brow2 += 8 ) in Bayer2RGB_VNG_8u()
1278 __m128i x0 = _mm_loadl_u8_s16(srow, +0 ); in Bayer2RGB_VNG_8u()
1279 __m128i x1 = _mm_loadl_u8_s16(srow, -1 - bstep ); in Bayer2RGB_VNG_8u()
1280 __m128i x2 = _mm_loadl_u8_s16(srow, -1 - bstep*2); in Bayer2RGB_VNG_8u()
1281 __m128i x3 = _mm_loadl_u8_s16(srow, - bstep ); in Bayer2RGB_VNG_8u()
1282 __m128i x4 = _mm_loadl_u8_s16(srow, +1 - bstep*2); in Bayer2RGB_VNG_8u()
1283 __m128i x5 = _mm_loadl_u8_s16(srow, +1 - bstep ); in Bayer2RGB_VNG_8u()
1284 __m128i x6 = _mm_loadl_u8_s16(srow, +2 - bstep ); in Bayer2RGB_VNG_8u()
1285 __m128i x7 = _mm_loadl_u8_s16(srow, +1 ); in Bayer2RGB_VNG_8u()
1286 __m128i x8 = _mm_loadl_u8_s16(srow, +2 + bstep ); in Bayer2RGB_VNG_8u()
1287 __m128i x9 = _mm_loadl_u8_s16(srow, +1 + bstep ); in Bayer2RGB_VNG_8u()
1288 __m128i x10 = _mm_loadl_u8_s16(srow, +1 + bstep*2); in Bayer2RGB_VNG_8u()
1289 __m128i x11 = _mm_loadl_u8_s16(srow, + bstep ); in Bayer2RGB_VNG_8u()
1290 __m128i x12 = _mm_loadl_u8_s16(srow, -1 + bstep*2); in Bayer2RGB_VNG_8u()
1291 __m128i x13 = _mm_loadl_u8_s16(srow, -1 + bstep ); in Bayer2RGB_VNG_8u()
1292 __m128i x14 = _mm_loadl_u8_s16(srow, -2 + bstep ); in Bayer2RGB_VNG_8u()
1293 __m128i x15 = _mm_loadl_u8_s16(srow, -1 ); in Bayer2RGB_VNG_8u()
1294 __m128i x16 = _mm_loadl_u8_s16(srow, -2 - bstep ); in Bayer2RGB_VNG_8u()
1303 … t1 = _mm_adds_epi16(_mm_loadl_u8_s16(srow, -bstep*2), x0); // srow[-bstep*2] + srow[0] in Bayer2RGB_VNG_8u()
1317 … t1 = _mm_adds_epi16(_mm_loadl_u8_s16(srow, -bstep*2+2), x0); // srow[-bstep*2+2] + srow[0] in Bayer2RGB_VNG_8u()
1331 t1 = _mm_adds_epi16(_mm_loadl_u8_s16(srow, 2), x0); // srow[2] + srow[0] in Bayer2RGB_VNG_8u()
1345 … t1 = _mm_adds_epi16(_mm_loadl_u8_s16(srow, bstep*2+2), x0); // srow[bstep*2+2] + srow[0] in Bayer2RGB_VNG_8u()
1359 t1 = _mm_adds_epi16(_mm_loadl_u8_s16(srow,bstep*2), x0); // srow[bstep*2]+srow[0] in Bayer2RGB_VNG_8u()
1373 … t1 = _mm_adds_epi16(_mm_loadl_u8_s16(srow, bstep*2-2), x0); // srow[bstep*2-2]+srow[0] in Bayer2RGB_VNG_8u()
1387 t1 = _mm_adds_epi16(_mm_loadl_u8_s16(srow, -2), x0); // srow[-2]+srow[0] in Bayer2RGB_VNG_8u()
1401 … t1 = _mm_adds_epi16(_mm_loadl_u8_s16(srow,-bstep*2-2), x0); // srow[-bstep*2-2]+srow[0] in Bayer2RGB_VNG_8u()