Home
last modified time | relevance | path

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

/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp209 int nb, polltime = -1; in pollEvents() local
214 nb = poll(mPollFds, numSensorDrivers, polltime); in pollEvents()
215 LOGI_IF(0, "poll nb=%d, count=%d, pt=%d", nb, count, polltime); in pollEvents()
216 if (nb > 0) { in pollEvents()
219 nb = 0; in pollEvents()
227 nb = ((MPLSensor*)mSensor)-> in pollEvents()
230 if (isDmpScreenAutoRotationEnabled() && nb > 0) { in pollEvents()
231 count -= nb; in pollEvents()
232 nbEvents += nb; in pollEvents()
233 data += nb; in pollEvents()
[all …]
DMPLSupport.cpp84 int nb; in enable_sysfs_sensor() local
88 nb = write(fd, &c, 1); in enable_sysfs_sensor()
90 if (nb <= 0) { in enable_sysfs_sensor()
93 c, nb, strerror(err), err); in enable_sysfs_sensor()
/hardware/invensense/6515/libsensors_iio/
Dsensors_mpl.cpp223 int nb, polltime = -1; in pollEvents() local
251 nb = poll(mPollFds, numSensorDrivers, polltime); in pollEvents()
252 LOGI_IF(0, "poll nb=%d, count=%d, pt=%d ts=%lld", nb, count, polltime, getTimestamp()); in pollEvents()
253 if (nb == 0 && count > 0) { in pollEvents()
256 nb = ((MPLSensor*) mSensor)->readDmpPedometerEvents( in pollEvents()
260 nb, count, nbEvents, data->timestamp); in pollEvents()
261 if (nb > 0) { in pollEvents()
262 count -= nb; in pollEvents()
263 nbEvents += nb; in pollEvents()
264 data += nb; in pollEvents()
[all …]
DMPLSupport.cpp84 int nb; in enable_sysfs_sensor() local
88 nb = write(fd, &c, 1); in enable_sysfs_sensor()
90 if (nb <= 0) { in enable_sysfs_sensor()
93 c, nb, strerror(err), err); in enable_sysfs_sensor()
DMPLSensor.cpp3989 int i, nb, mask = 0, local
/hardware/akm/AK8975_FS/libsensors/
Dsensors.cpp287 int nb = sensor->readEvents(data, count); in pollEvents() local
288 if (nb < count) { in pollEvents()
292 if ((0 != nb) && (acc == i)) { in pollEvents()
293 ((AkmSensor*)(mSensors[akm]))->setAccel(&data[nb-1]); in pollEvents()
295 count -= nb; in pollEvents()
296 nbEvents += nb; in pollEvents()
297 data += nb; in pollEvents()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_detokenize.c72 ctx = get_coef_context(nb, token_cache, c); \
84 int ctx, const int16_t *scan, const int16_t *nb, in decode_coefs() argument
123 ctx = get_coef_context(nb, token_cache, c); in decode_coefs()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_tokenize.c226 const int16_t *scan, *nb; in tokenize_b() local
246 nb = so->neighbors; in tokenize_b()
261 pt = get_coef_context(nb, token_cache, c); in tokenize_b()
275 pt = get_coef_context(nb, token_cache, c); in tokenize_b()
Dvp9_encodemb.c98 const int16_t *nb, in trellis_get_coeff_context() argument
103 pt = get_coef_context(nb, token_cache, idx + 1); in trellis_get_coeff_context()
135 const int16_t *nb = so->neighbors; in optimize_b() local
174 pt = trellis_get_coeff_context(scan, nb, i, t0, token_cache); in optimize_b()
224 pt = trellis_get_coeff_context(scan, nb, i, t0, token_cache); in optimize_b()
229 pt = trellis_get_coeff_context(scan, nb, i, t1, token_cache); in optimize_b()
Dvp9_rdopt.c556 const int16_t *scan, const int16_t *nb, in cost_coeffs() argument
599 pt = get_coef_context(nb, token_cache, c); in cost_coeffs()
615 pt = get_coef_context(nb, token_cache, c); in cost_coeffs()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/
Dviddec_mp4_videoobjectlayer.c32 int nb = 0; in mp4_GetMacroBlockNumberSize() local
36 nb ++; in mp4_GetMacroBlockNumberSize()
38 return nb; in mp4_GetMacroBlockNumberSize()