Lines Matching refs:CD
60 CvConDensation *CD = 0; in cvCreateConDensation() local
69 CV_CALL( CD = (CvConDensation *) cvAlloc( sizeof( CvConDensation ))); in cvCreateConDensation()
71 CD->SamplesNum = SamplesNum; in cvCreateConDensation()
72 CD->DP = DP; in cvCreateConDensation()
73 CD->MP = MP; in cvCreateConDensation()
75 CV_CALL( CD->flSamples = (float **) cvAlloc( sizeof( float * ) * SamplesNum )); in cvCreateConDensation()
76 CV_CALL( CD->flNewSamples = (float **) cvAlloc( sizeof( float * ) * SamplesNum )); in cvCreateConDensation()
77 CV_CALL( CD->flSamples[0] = (float *) cvAlloc( sizeof( float ) * SamplesNum * DP )); in cvCreateConDensation()
78 CV_CALL( CD->flNewSamples[0] = (float *) cvAlloc( sizeof( float ) * SamplesNum * DP )); in cvCreateConDensation()
83 CD->flSamples[i] = CD->flSamples[i - 1] + DP; in cvCreateConDensation()
84 CD->flNewSamples[i] = CD->flNewSamples[i - 1] + DP; in cvCreateConDensation()
87 CV_CALL( CD->State = (float *) cvAlloc( sizeof( float ) * DP )); in cvCreateConDensation()
88 CV_CALL( CD->DynamMatr = (float *) cvAlloc( sizeof( float ) * DP * DP )); in cvCreateConDensation()
89 CV_CALL( CD->flConfidence = (float *) cvAlloc( sizeof( float ) * SamplesNum )); in cvCreateConDensation()
90 CV_CALL( CD->flCumulative = (float *) cvAlloc( sizeof( float ) * SamplesNum )); in cvCreateConDensation()
92 CV_CALL( CD->RandS = (CvRandState *) cvAlloc( sizeof( CvRandState ) * DP )); in cvCreateConDensation()
93 CV_CALL( CD->Temp = (float *) cvAlloc( sizeof( float ) * DP )); in cvCreateConDensation()
94 CV_CALL( CD->RandomSample = (float *) cvAlloc( sizeof( float ) * DP )); in cvCreateConDensation()
99 return CD; in cvCreateConDensation()
121 CvConDensation *CD = *ConDensation; in cvReleaseConDensation() local
126 if( !CD ) in cvReleaseConDensation()
130 cvFree( &CD->State ); in cvReleaseConDensation()
131 cvFree( &CD->DynamMatr); in cvReleaseConDensation()
132 cvFree( &CD->flConfidence ); in cvReleaseConDensation()
133 cvFree( &CD->flCumulative ); in cvReleaseConDensation()
134 cvFree( &CD->flSamples[0] ); in cvReleaseConDensation()
135 cvFree( &CD->flNewSamples[0] ); in cvReleaseConDensation()
136 cvFree( &CD->flSamples ); in cvReleaseConDensation()
137 cvFree( &CD->flNewSamples ); in cvReleaseConDensation()
138 cvFree( &CD->Temp ); in cvReleaseConDensation()
139 cvFree( &CD->RandS ); in cvReleaseConDensation()
140 cvFree( &CD->RandomSample ); in cvReleaseConDensation()