Home
last modified time | relevance | path

Searched refs:costTable (Results 1 – 1 of 1) sorted by relevance

/external/opencv/cvaux/src/
Dcvcorrespond.cpp60 float *costTable; in icvDynamicCorrespond() local
94 costTable = (float *)cvAlloc( (first_runs + 1) * (second_runs + 1) * sizeof( float )); in icvDynamicCorrespond()
96 if( costTable == 0 ) in icvDynamicCorrespond()
103 cvFree( &costTable ); in icvDynamicCorrespond()
111 costTable[0] = 0.0f; in icvDynamicCorrespond()
123 costTable[n + 1] = costTable[n] + Occlusion * (l_end - prev); in icvDynamicCorrespond()
139 costTable[baseIndex + row_size] = costTable[baseIndex] + Occlusion * (l_end - prev); in icvDynamicCorrespond()
196 min2 = costTable[i_1 + j * row_size] + Occlusion * l_len; in icvDynamicCorrespond()
198 min3 = costTable[i + j_1 * row_size] + Occlusion * r_len; in icvDynamicCorrespond()
200 min1 = costTable[i_1 + j_1 * row_size] + cost + (float) cost1; in icvDynamicCorrespond()
[all …]