Lines Matching refs:MemY
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()
311 MemY[memYline][0] = ConvY; in icvCalcOpticalFlowLK_8u32fR()
328 GradY = ConvY - MemY[memYline][j]; in icvCalcOpticalFlowLK_8u32fR()
331 MemY[memYline][j] = ConvY; in icvCalcOpticalFlowLK_8u32fR()
352 GradY = ConvY - MemY[memYline][imageWidth - 1]; in icvCalcOpticalFlowLK_8u32fR()
355 MemY[memYline][imageWidth - 1] = ConvY; in icvCalcOpticalFlowLK_8u32fR()
546 cvFree( &MemY[k] ); in icvCalcOpticalFlowLK_8u32fR()