Searched refs:all_states (Results 1 – 2 of 2) sorted by relevance
213 CvEHMMState* all_states;226 all_states = (CvEHMMState *)icvAlloc( real_states * sizeof( CvEHMMState ) );231 all_states[i].num_mix = num_mix[i];246 all_states[i].mu = pointers; pointers += num_mix[i] * obs_size; 247 all_states[i].inv_var = pointers; pointers += num_mix[i] * obs_size;249 all_states[i].log_var_val = pointers; pointers += num_mix[i];250 all_states[i].weight = pointers; pointers += num_mix[i];252 hmm->u.state = all_states;
132 CvEHMMState* all_states; in icvCreate2DHMM() local151 all_states = (CvEHMMState *)cvAlloc( real_states * sizeof( CvEHMMState ) ); in icvCreate2DHMM()156 all_states[i].num_mix = num_mix[i]; in icvCreate2DHMM()171 all_states[i].mu = pointers; pointers += num_mix[i] * obs_size; in icvCreate2DHMM()172 all_states[i].inv_var = pointers; pointers += num_mix[i] * obs_size; in icvCreate2DHMM()174 all_states[i].log_var_val = pointers; pointers += num_mix[i]; in icvCreate2DHMM()175 all_states[i].weight = pointers; pointers += num_mix[i]; in icvCreate2DHMM()183 hmm[i+1].u.state = all_states; in icvCreate2DHMM()184 all_states += state_number[i+1]; in icvCreate2DHMM()