Home
last modified time | relevance | path

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

/external/opencv3/modules/cudabgsegm/src/cuda/
Dmog2.cu155 int nmodes = modesUsed(y, x); in mog2() local
156 int nNewModes = nmodes; //current number of modes in GMM in mog2()
162 for (int mode = 0; mode < nmodes; ++mode) in mog2()
232 nmodes--; in mog2()
242 for (int mode = 0; mode < nmodes; ++mode) in mog2()
245 nmodes = nNewModes; in mog2()
252 int mode = nmodes == c_nmixtures ? c_nmixtures - 1 : nmodes++; in mog2()
254 if (nmodes == 1) in mog2()
262 for (int i = 0; i < nmodes - 1; ++i) in mog2()
274 for (int i = nmodes - 1; i > 0; --i) in mog2()
[all …]
/external/opencv3/modules/video/src/opencl/
Dbgfg_mog2.cl70 uchar nmodes = _modesUsed[0];
79 for (; mode < nmodes; ++mode)
133 for (; mode < nmodes; ++mode)
141 nmodes = mode;
151 for (int mode = 0; mode < nmodes; ++mode)
157 uchar mode = nmodes == (NMIXTURES) ? (NMIXTURES) - 1 : nmodes++;
160 if (nmodes == 1)
170 for (int i = nmodes - 1; i > 0; --i)
187 _modesUsed[0] = nmodes;
193 for (uchar mode = 0; mode < nmodes; ++mode)
[all …]
/external/opencv3/modules/video/src/
Dbgfg_gaussmix2.cpp461 detectShadowGMM(const float* data, int nchannels, int nmodes, in detectShadowGMM() argument
468 for( int mode = 0; mode < nmodes; mode++, mean += nchannels ) in detectShadowGMM()
581 int nmodes = modesUsed[x], nNewModes = nmodes;//current number of modes in GMM in operator ()() local
588 for( int mode = 0; mode < nmodes; mode++, mean_m += nchannels ) in operator ()()
671 nmodes--; in operator ()()
682 for( int mode = 0; mode < nmodes; mode++ ) in operator ()()
687 nmodes = nNewModes; in operator ()()
693 int mode = nmodes == nmixtures ? nmixtures-1 : nmodes++; in operator ()()
695 if (nmodes==1) in operator ()()
702 for( int i = 0; i < nmodes-1; i++ ) in operator ()()
[all …]
/external/blktrace/btt/
Doutput.c394 int i, nmodes; in do_output_dip_seek_info() local
405 nmodes = seeki_mode(handle, &m); in do_output_dip_seek_info()
409 median, nmodes > 0 ? m.modes[0] : 0, m.most_seeks); in do_output_dip_seek_info()
410 if (nmodes > 2) in do_output_dip_seek_info()
411 fprintf(ofp, "\n%10s %15s %15s %15s ...(%d more)\n", "", "", "", "", nmodes-1); in do_output_dip_seek_info()
413 for (i = 1; i < nmodes; i++) in do_output_dip_seek_info()
424 nmodes > 0 ? m.modes[0] : 0, m.most_seeks); in do_output_dip_seek_info()
425 for (i = 1; i < nmodes; i++) in do_output_dip_seek_info()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c1267 struct hostapd_hw_modes *mode11g = NULL, *nmodes, *mode; in wpa_driver_nl80211_postprocess_modes() local
1301 nmodes = os_realloc_array(modes, *num_modes + 1, sizeof(*nmodes)); in wpa_driver_nl80211_postprocess_modes()
1302 if (nmodes == NULL) in wpa_driver_nl80211_postprocess_modes()
1305 mode = &nmodes[*num_modes]; in wpa_driver_nl80211_postprocess_modes()
1308 modes = nmodes; in wpa_driver_nl80211_postprocess_modes()