Searched refs:bayer_step (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/imgproc/src/ |
D | demosaicing.cpp | 90 int bayer2Gray(const uchar* bayer, int bayer_step, uchar* dst, in bayer2Gray() argument 104 __m128i r1 = _mm_loadu_si128((const __m128i*)(bayer+bayer_step)); in bayer2Gray() 105 __m128i r2 = _mm_loadu_si128((const __m128i*)(bayer+bayer_step*2)); in bayer2Gray() 136 int bayer2RGB(const uchar* bayer, int bayer_step, uchar* dst, int width, int blue) const in bayer2RGB() argument 154 __m128i r1 = _mm_loadu_si128((const __m128i*)(bayer+bayer_step)); in bayer2RGB() 155 __m128i r2 = _mm_loadu_si128((const __m128i*)(bayer+bayer_step*2)); in bayer2RGB() 232 int bayer2RGB_EA(const uchar* bayer, int bayer_step, uchar* dst, int width, int blue) const in bayer2RGB_EA() argument 252 __m128i r1 = _mm_loadu_si128((const __m128i*)(bayer+bayer_step)); in bayer2RGB_EA() 253 __m128i r2 = _mm_loadu_si128((const __m128i*)(bayer+bayer_step*2)); in bayer2RGB_EA() 345 int bayer2Gray(const uchar* bayer, int bayer_step, uchar* dst, in bayer2Gray() argument [all …]
|
/external/opencv/cv/src/ |
D | cvcolor.cpp | 2132 icvBayer2BGR_8u_C1C3R( const uchar* bayer0, int bayer_step, in icvBayer2BGR_8u_C1C3R() argument 2145 for( ; size.height-- > 0; bayer0 += bayer_step, dst0 += dst_step ) in icvBayer2BGR_8u_C1C3R() 2160 t0 = (bayer[1] + bayer[bayer_step*2+1] + 1) >> 1; in icvBayer2BGR_8u_C1C3R() 2161 t1 = (bayer[bayer_step] + bayer[bayer_step+2] + 1) >> 1; in icvBayer2BGR_8u_C1C3R() 2163 dst[0] = bayer[bayer_step+1]; in icvBayer2BGR_8u_C1C3R() 2173 t0 = (bayer[0] + bayer[2] + bayer[bayer_step*2] + in icvBayer2BGR_8u_C1C3R() 2174 bayer[bayer_step*2+2] + 2) >> 2; in icvBayer2BGR_8u_C1C3R() 2175 t1 = (bayer[1] + bayer[bayer_step] + in icvBayer2BGR_8u_C1C3R() 2176 bayer[bayer_step+2] + bayer[bayer_step*2+1]+2) >> 2; in icvBayer2BGR_8u_C1C3R() 2179 dst[1] = bayer[bayer_step+1]; in icvBayer2BGR_8u_C1C3R() [all …]
|