Searched refs:MemY (Results 1 – 2 of 2) sorted by relevance
/external/opencv/cv/src/ |
D | cvoptflowhs.cpp | 102 float *MemY[2]; in icvCalcOpticalFlowHS_8u32fR() local 162 MemY[k] = (float *) cvAlloc( (imgSize.width) * sizeof( float )); in icvCalcOpticalFlowHS_8u32fR() 164 if( MemY[k] == NULL ) in icvCalcOpticalFlowHS_8u32fR() 190 if( MemY[k] ) in icvCalcOpticalFlowHS_8u32fR() 191 cvFree( &MemY[k] ); in icvCalcOpticalFlowHS_8u32fR() 206 MemY[0][0] = MemY[1][0] = CONV( imgA[0], imgA[0], imgA[1] ); in icvCalcOpticalFlowHS_8u32fR() 211 MemY[0][j] = MemY[1][j] = CONV( imgA[j - 1], imgA[j], imgA[j + 1] ); in icvCalcOpticalFlowHS_8u32fR() 222 MemY[0][imageWidth - 1] = in icvCalcOpticalFlowHS_8u32fR() 223 MemY[1][imageWidth - 1] = CONV( imgA[imageWidth - 2], in icvCalcOpticalFlowHS_8u32fR() 252 GradY = (ConvY - MemY[memYline][0]) * 0.125f; in icvCalcOpticalFlowHS_8u32fR() [all …]
|
D | cvoptflowlk.cpp | 102 float *MemY[2]; in icvCalcOpticalFlowLK_8u32fR() local 207 MemY[k] = (float *) cvAlloc( (imgSize.width) * sizeof( float )); in icvCalcOpticalFlowLK_8u32fR() 209 if( MemY[k] == NULL ) in icvCalcOpticalFlowLK_8u32fR() 229 if( MemY[k] ) in icvCalcOpticalFlowLK_8u32fR() 230 cvFree( &MemY[k] ); in icvCalcOpticalFlowLK_8u32fR() 243 MemY[0][0] = MemY[1][0] = CONV( imgA[0], imgA[0], imgA[1] ); in icvCalcOpticalFlowLK_8u32fR() 248 MemY[0][j] = MemY[1][j] = CONV( imgA[j - 1], imgA[j], imgA[j + 1] ); in icvCalcOpticalFlowLK_8u32fR() 259 MemY[0][imageWidth - 1] = in icvCalcOpticalFlowLK_8u32fR() 260 MemY[1][imageWidth - 1] = CONV( imgA[imageWidth - 2], in icvCalcOpticalFlowLK_8u32fR() 308 GradY = ConvY - MemY[memYline][0]; in icvCalcOpticalFlowLK_8u32fR() [all …]
|