Home | History | Annotate | Download | only in src

Lines Matching defs:lut

45 *                                    LUT Transform                                       *
51 type t0 = lut[src[i]]; \
52 type t1 = lut[src[i+1]]; \
56 t0 = lut[src[i+2]]; \
57 t1 = lut[src[i+3]]; \
64 type t0 = lut[src[i]]; \
72 type t0 = lut[src[i]*2]; \
73 type t1 = lut[src[i+1]*2 + 1]; \
81 type t0 = lut[src[i]*3]; \
82 type t1 = lut[src[i+1]*3 + 1]; \
83 type t2 = lut[src[i+2]*3 + 2]; \
92 type t0 = lut[src[i]*4]; \
93 type t1 = lut[src[i+1]*4 + 1]; \
96 t0 = lut[src[i+2]*4 + 2]; \
97 t1 = lut[src[i+3]*4 + 3]; \
107 const dsttype* lut ) \
154 /* repack the lut to planar layout */ \
166 const dsttype* lut = lutp + k*256; \
169 dsttype t0 = lut[src[j]]; \
170 dsttype t1 = lut[src[j+cn]]; \
175 dst[j] = lut[src[j]]; \
208 int dststep, CvSize size, const void* lut, int cn );
225 CvMat lutstub, *lut = (CvMat*)lutarr;
247 if( !CV_IS_MAT(lut) )
248 CV_CALL( lut = cvGetMat( lut, &lutstub ));
264 lut_cn = CV_MAT_CN( lut->type );
266 if( !CV_IS_MAT_CONT(lut->type) || (lut_cn != 1 && lut_cn != cn) ||
267 !CV_ARE_DEPTHS_EQ( dst, lut ) || lut->width*lut->height != 256 )
268 CV_ERROR( CV_StsBadArg, "The LUT must be continuous array \n"
284 lut_data = lut->data.ptr;
291 // shuffle lut