Home | History | Annotate | Download | only in src

Lines Matching defs:kx

48             CvSize src_size, const float* kx, const float* ky, float* buffer )
55 (kx || ky) && (buffer || !kx || !ky));
62 if( !kx )
99 dst[x] = (float)(kx[0]*buffer[x] + kx[1]*buffer[x+1] + kx[2]*buffer[x+2]);
401 CvMat *kx = 0, *ky = 0;
423 CV_CALL( kx = cvCreateMat( 1, _ksize, CV_32F ));
426 CvSepFilter::init_sobel_kernel( kx, ky, 2, 0, 0 );
427 CvSepFilter::init( _max_width, _src_type, _dst_type, kx, ky,
460 cvReleaseMat( &kx );
492 const dsttype* kx = (dsttype*)_kx->data.ptr; \
501 kx += ksize2; \
529 dsttype s0 = ky[0]*load_macro(s[0]), s1 = kx[0]*load_macro(s[0]);\
533 s0 += ky[k]*t; s1 += kx[k]*t; \
550 const int* kx = (const int*)_kx->data.ptr;
561 kx += ksize2;
638 int s0 = kx[0]*src[0][i] + ky[0]*src[0][i+width];
639 int s1 = kx[0]*src[0][i+1] + ky[0]*src[0][i+width+1];
644 int fx = kx[k], fy = ky[k];
654 int s0 = kx[0]*src[0][i] + ky[0]*src[0][i+width];
655 int s1 = kx[0]*src[0][i+1] + ky[0]*src[0][i+width+1];
660 int fx = kx[k], fy = ky[k];
672 int s0 = kx[0]*src[0][i] + ky[0]*src[0][i+width];
676 s0 += kx[k]*(src1[0] + src2[0]) + ky[k]*(src1[width] + src2[width]);
692 const float* kx = (const float*)_kx->data.ptr;
703 kx += ksize2;
767 float s0 = kx[0]*src[0][i] + ky[0]*src[0][i+width];
768 float s1 = kx[0]*src[0][i+1] + ky[0]*src[0][i+width+1];
773 float fx = kx[k], fy = ky[k];
785 float s0 = kx[0]*src[0][i] + ky[0]*src[0][i+width];
789 s0 += kx[k]*(src1[0] + src2[0]) + ky[k]*(src1[width] + src2[width]);