/external/opencv/cvaux/src/ |
D | cvhmm.cpp | 147 hmm[0].num_states = state_number[0]; in icvCreate2DHMM() 181 for( i = 0; i < hmm[0].num_states; i++ ) in icvCreate2DHMM() 185 hmm[i+1].num_states = state_number[i+1]; in icvCreate2DHMM() 190 hmm[i].transP = icvCreateMatrix_32f( hmm[i].num_states, hmm[i].num_states ); in icvCreate2DHMM() 204 for( i = 0; i < hmm[0].num_states + 1; i++ ) in icvRelease2DHMM() 275 int superstate = (int)((i * hmm->num_states)*inv_y);/* /obs_info->obs_y; */ in icvUniformImgSegm() 281 … int state = (int)((j * hmm->u.ehmm[superstate].num_states)* inv_x); /* / obs_info->obs_x; */ in icvUniformImgSegm() 294 if ( hmm->num_states > obs_info->obs_y ) return CV_BADSIZE_ERR; in icvUniformImgSegm() 297 float row_per_state = (float)obs_info->obs_y / hmm->num_states; in icvUniformImgSegm() 301 for( i = 0; i < hmm->num_states; i++ ) in icvUniformImgSegm() [all …]
|
D | cvhmm1d.cpp | 71 CvStatus icvForward1DHMM( int num_states, int num_obs, CvMatr64d A, 78 double* m_pi = icvAlloc( num_states* sizeof( double) ); 84 double* alpha = icvAlloc( num_states*num_obs * sizeof( double ) ); 91 for (i = 1; i < num_states; i++) 96 for (i = 0; i < num_states; i++) 109 for (j = 0; j < num_states; j++) 114 for (i = 0; i < num_states; i++) 116 … sum += alpha[(t - 1) * num_states + i] * A[i * num_states + j]; 119 alpha[(t - 1) * num_states + j] = sum * B[t * num_states + j]; 122 sum_alpha += alpha[(t - 1) * num_states + j]; [all …]
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | regexcst.pl | 27 $num_states = 1; # Always the state number for the line being compiled. 66 $states{$state_name} = $num_states; 67 $stateNames[$num_states] = $state_name; 88 $state_line_num[$num_states] = $line_num; # remember line number with each state 95 $state_literal_chars[$num_states] = $fields[0]; 96 $state_literal_chars[$num_states] =~ s/'//g; 99 $state_char_class[$num_states] = $fields[0]; 111 $state_flag[$num_states] = "FALSE"; 113 $state_flag[$num_states] = "TRUE"; 120 $state_dest_state[$num_states] = $fields[0]; [all …]
|
/external/icu4c/i18n/ |
D | regexcst.pl | 27 $num_states = 1; # Always the state number for the line being compiled. 66 $states{$state_name} = $num_states; 67 $stateNames[$num_states] = $state_name; 88 $state_line_num[$num_states] = $line_num; # remember line number with each state 95 $state_literal_chars[$num_states] = $fields[0]; 96 $state_literal_chars[$num_states] =~ s/'//g; 99 $state_char_class[$num_states] = $fields[0]; 111 $state_flag[$num_states] = "FALSE"; 113 $state_flag[$num_states] = "TRUE"; 120 $state_dest_state[$num_states] = $fields[0]; [all …]
|
/external/icu4c/common/ |
D | rbbicst.pl | 26 $num_states = 1; # Always the state number for the line being compiled. 65 $states{$state_name} = $num_states; 66 $stateNames[$num_states] = $state_name; 87 $state_line_num[$num_states] = $line_num; # remember line number with each state 94 $state_literal_chars[$num_states] = $fields[0]; 95 $state_literal_chars[$num_states] =~ s/'//g; 98 $state_char_class[$num_states] = $fields[0]; 110 $state_flag[$num_states] = $javaOutput? "false" : "FALSE"; 112 $state_flag[$num_states] = $javaOutput? "true": "TRUE"; 119 $state_dest_state[$num_states] = $fields[0]; [all …]
|
/external/chromium_org/third_party/icu/source/common/ |
D | rbbicst.pl | 26 $num_states = 1; # Always the state number for the line being compiled. 65 $states{$state_name} = $num_states; 66 $stateNames[$num_states] = $state_name; 87 $state_line_num[$num_states] = $line_num; # remember line number with each state 94 $state_literal_chars[$num_states] = $fields[0]; 95 $state_literal_chars[$num_states] =~ s/'//g; 98 $state_char_class[$num_states] = $fields[0]; 110 $state_flag[$num_states] = $javaOutput? "false" : "FALSE"; 112 $state_flag[$num_states] = $javaOutput? "true": "TRUE"; 119 $state_dest_state[$num_states] = $fields[0]; [all …]
|
/external/openfst/src/include/fst/extensions/ngram/ |
D | ngram-fst.h | 101 uint64 num_states, num_futures, num_final; in Read() local 102 const size_t offset = sizeof(num_states) + sizeof(num_futures) + in Read() 105 strm.read(reinterpret_cast<char *>(&num_states), sizeof(num_states)); in Read() 108 size_t size = Storage(num_states, num_futures, num_final); in Read() 112 memcpy(data, reinterpret_cast<char *>(&num_states), sizeof(num_states)); in Read() 113 memcpy(data + sizeof(num_states), reinterpret_cast<char *>(&num_futures), in Read() 115 memcpy(data + sizeof(num_states) + sizeof(num_futures), in Read() 177 static size_t Storage(uint64 num_states, uint64 num_futures, in Storage() argument 182 size_t offset = sizeof(num_states) + sizeof(num_futures) + in Storage() 185 BitmapIndex::StorageSize(num_states * 2 + 1) + in Storage() [all …]
|
/external/openfst/src/include/fst/ |
D | partition.h | 57 Partition(T num_states) { in Partition() argument 58 Initialize(num_states); in Partition() 71 void Initialize(size_t num_states) { in Initialize() argument 78 elements_.resize(num_states); in Initialize() 79 class_index_.resize(num_states, -1); in Initialize() 80 class_size_.reserve(num_states); in Initialize() 81 for (size_t i = 0; i < num_states; ++i) in Initialize() 83 num_states_ = num_states; in Initialize()
|
D | const-fst.h | 347 size_t num_arcs = -1, num_states = -1; in WriteFst() local 352 num_states = impl->nstates_; in WriteFst() 357 num_states = 0; in WriteFst() 360 ++num_states; in WriteFst() 366 hdr.SetNumStates(num_states); in WriteFst() 415 if (hdr.NumStates() != num_states) { in WriteFst()
|
D | vector-fst.h | 550 StateId num_states = 0; in WriteFst() local 563 num_states++; in WriteFst() 571 hdr.SetNumStates(num_states); in WriteFst() 575 if (num_states != hdr.NumStates()) { in WriteFst()
|
D | compact-fst.h | 937 size_t num_arcs = -1, num_states = -1, num_compacts = -1; in WriteFst() local 941 num_states = impl->Data()->NumStates(); in WriteFst() 950 num_states = 0; in WriteFst() 953 ++num_states; in WriteFst() 966 hdr.SetNumStates(num_states); in WriteFst()
|
D | minimize.h | 381 const size_t num_states() const { return num_states_; } in num_states() function 398 partition_.Initialize(hvisitor.num_states()); in Initialize()
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | partition.h | 52 Partition(T num_states) { in Partition() argument 53 Initialize(num_states); in Partition() 66 void Initialize(size_t num_states) { in Initialize() argument 73 elements_.resize(num_states); in Initialize() 74 class_index_.resize(num_states, -1); in Initialize() 75 class_size_.reserve(num_states); in Initialize() 76 for (size_t i = 0; i < num_states; ++i) in Initialize() 78 num_states_ = num_states; in Initialize()
|
D | minimize.h | 368 const size_t num_states() const { return num_states_; } in num_states() function 385 partition_.Initialize(hvisitor.num_states()); in Initialize()
|
/external/srec/srec/include/ |
D | srec_arb.h | 67 asr_uint16_t num_states; member 78 asr_int16_t num_states; member 95 asr_int16_t num_states; /* total number of states, all allophones, phonemes */ member
|
D | hmm_desc.h | 54 int num_states; member
|
/external/srec/srec/clib/ |
D | srec_arb.c | 162 for (j = 0; j < allotree->hmm_infos[modelid].num_states; j++) in get_modelids_for_pron() 211 pfread(&(pd->num_states), sizeof(asr_uint16_t), 1, fp); in read_phoneme_data() 223 for (j = 0; j < (*pdata)[i].num_states; j++) in read_phoneme_data() 246 pfread(&(hmm_infos[i].num_states), sizeof(asr_int16_t), 1, fp); in read_hmminfos() 255 pfread(*buffer, sizeof(asr_int16_t), allotree->num_states, fp); in read_hmminfos() 258 num_atoms = sizeof(hmm_infos[0].state_indices[0]) * allotree->num_states / BYTES_PER_ATOM; in read_hmminfos() 266 offset += hmm_infos[i].num_states; in read_hmminfos() 319 pfread(&allotree->num_states, sizeof(asr_int16_t), 1, fp); /* num_states */ in read_arbdata_from_stream()
|
/external/hyphenation/ |
D | hyphen.c | 177 hnj_hash_insert (hashtab, string, dict->num_states); in hnj_get_state() 179 if (!(dict->num_states & (dict->num_states - 1))) in hnj_get_state() 182 (dict->num_states << 1) * in hnj_get_state() 185 dict->states[dict->num_states].match = NULL; in hnj_get_state() 186 dict->states[dict->num_states].repl = NULL; in hnj_get_state() 187 dict->states[dict->num_states].fallback_state = -1; in hnj_get_state() 188 dict->states[dict->num_states].num_trans = 0; in hnj_get_state() 189 dict->states[dict->num_states].trans = NULL; in hnj_get_state() 190 return dict->num_states++; in hnj_get_state() 309 dict[k]->num_states = 1; in hnj_hyphen_load_from_buffer() [all …]
|
D | hyphen.h | 71 int num_states; member
|
/external/srec/tools/cmd/ |
D | pht_to_long.pl | 24 ($trash,$lph,$sph,$num_states) = split(/\s+/);
|
D | pht_to_short.pl | 18 ($trash,$lph,$sph,$num_states) = split(/\s+/);
|
/external/openfst/src/include/fst/extensions/pdt/ |
D | paren.h | 439 PdtBalanceData<A> *Reverse(StateId num_states, 461 StateId num_states, in Reverse() argument 466 StateId split_size = num_states / num_split; in Reverse() 468 for (StateId i = 0; i < num_states; i+= split_size) { in Reverse()
|
/external/srec/tools/test_swiarb/ |
D | test_swiarb.c | 133 (unsigned int) allotree->hmm_infos[model_sequence[j]].num_states); in main()
|
/external/mesa3d/src/gallium/drivers/trace/ |
D | tr_context.c | 294 unsigned num_states, in trace_context_bind_sampler_states() argument 318 trace_dump_arg(uint, num_states); in trace_context_bind_sampler_states() 319 trace_dump_arg_array(ptr, states, num_states); in trace_context_bind_sampler_states() 323 pipe->bind_vertex_sampler_states(pipe, num_states, states); in trace_context_bind_sampler_states() 326 pipe->bind_geometry_sampler_states(pipe, num_states, states); in trace_context_bind_sampler_states() 329 pipe->bind_fragment_sampler_states(pipe, num_states, states); in trace_context_bind_sampler_states()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/trace/ |
D | tr_context.c | 294 unsigned num_states, in trace_context_bind_sampler_states() argument 318 trace_dump_arg(uint, num_states); in trace_context_bind_sampler_states() 319 trace_dump_arg_array(ptr, states, num_states); in trace_context_bind_sampler_states() 323 pipe->bind_vertex_sampler_states(pipe, num_states, states); in trace_context_bind_sampler_states() 326 pipe->bind_geometry_sampler_states(pipe, num_states, states); in trace_context_bind_sampler_states() 329 pipe->bind_fragment_sampler_states(pipe, num_states, states); in trace_context_bind_sampler_states()
|