Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 25 of 54) sorted by relevance

123

/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c117 struct FusionSensorSample samples[NUM_OF_RAW_SENSOR][MAX_NUM_SAMPLES]; member
155 #define DEC_INFO_RATE(name, rates, type, axis, inter, samples) \ argument
161 .minSamples = samples
211 curr_sample = ev->samples; in fillSamples()
213 num_samples = ev->samples[0].firstSample.numSamples; in fillSamples()
217 next_sample = ev->samples; in fillSamples()
218 num_samples = ev->samples[0].firstSample.numSamples + 1; in fillSamples()
224 if (next_sample == ev->samples) in fillSamples()
247 mTask.samples[index][w].x = curr_sample->x + weight_next * in fillSamples()
249 mTask.samples[index][w].y = curr_sample->y + weight_next * in fillSamples()
[all …]
/device/google/contexthub/firmware/app/chre/common/
Dchre10_app.c62 for (i=0; i<src->samples[0].firstSample.numSamples; i++) { in processTripleAxisData()
64 three.header.baseTimestamp += src->samples[i].deltaTime; in processTripleAxisData()
65 three.readings[0].x = src->samples[i].x; in processTripleAxisData()
66 three.readings[0].y = src->samples[i].y; in processTripleAxisData()
67 three.readings[0].z = src->samples[i].z; in processTripleAxisData()
85 for (i=0; i<src->samples[0].firstSample.numSamples; i++) { in processSingleAxisData()
87 occ.header.baseTimestamp += src->samples[i].deltaTime; in processSingleAxisData()
100 for (i=0; i<src->samples[0].firstSample.numSamples; i++) { in processSingleAxisData()
102 flt.header.baseTimestamp += src->samples[i].deltaTime; in processSingleAxisData()
103 flt.readings[0].value = src->samples[i].fdata; in processSingleAxisData()
[all …]
Dchre_app.c62 for (i=0; i<src->samples[0].firstSample.numSamples; i++) { in processTripleAxisData()
64 three.header.baseTimestamp += src->samples[i].deltaTime; in processTripleAxisData()
65 three.readings[0].x = src->samples[i].x; in processTripleAxisData()
66 three.readings[0].y = src->samples[i].y; in processTripleAxisData()
67 three.readings[0].z = src->samples[i].z; in processTripleAxisData()
85 for (i=0; i<src->samples[0].firstSample.numSamples; i++) { in processSingleAxisData()
87 occ.header.baseTimestamp += src->samples[i].deltaTime; in processSingleAxisData()
100 for (i=0; i<src->samples[0].firstSample.numSamples; i++) { in processSingleAxisData()
102 flt.header.baseTimestamp += src->samples[i].deltaTime; in processSingleAxisData()
103 flt.readings[0].value = src->samples[i].fdata; in processSingleAxisData()
[all …]
/device/google/contexthub/firmware/os/core/
DhostIntf.c860 uint8_t evtNumSamples = single->samples[0].firstSample.numSamples; in copySingleSamples()
870 sensor->lastTime += single->samples[i].deltaTime; in copySingleSamples()
874 sensor->buffer.single[0].idata = single->samples[i].idata; in copySingleSamples()
898 sensor->buffer.single[numSamples].idata = single->samples[0].idata; in copySingleSamples()
904 deltaTime = single->samples[i].deltaTime; in copySingleSamples()
909 sensor->buffer.single[numSamples].idata = single->samples[i].idata; in copySingleSamples()
924 for (i = 0; i < triple->samples[0].firstSample.numSamples; i++) { in copyTripleSamples()
932 sensor->lastTime += triple->samples[i].deltaTime; in copyTripleSamples()
936 sensor->buffer.triple[0].ix = triple->samples[i].ix; in copyTripleSamples()
937 sensor->buffer.triple[0].iy = triple->samples[i].iy; in copyTripleSamples()
[all …]
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c295 memset(&ev->samples[0].firstSample, 0x00, sizeof(struct SensorFirstSample)); in magAllocateEvt()
396 #define DEC_INFO_BIAS(name, type, axis, inter, samples, rates, raw, scale, bias) \ argument
401 .minSamples = samples, \
407 #define DEC_INFO(name, type, axis, inter, samples, rates, raw, scale) \ argument
412 .minSamples = samples, \
754 magSample->samples[0].deltaTime = 0; in parseRawData()
755 magSample->samples[0].firstSample.numSamples = 1; in parseRawData()
756 magSample->samples[0].x = x; in parseRawData()
757 magSample->samples[0].y = y; in parseRawData()
758 magSample->samples[0].z = z; in parseRawData()
[all …]
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c298 #define DEC_INFO(name, type, axis, inter, samples, rates, raw, scale) \ argument
303 .minSamples = samples, \
544 memset(&ev->samples[0].firstSample, 0x00, sizeof(struct SensorFirstSample)); in accAllocateEvt()
658 accSample->samples[0].deltaTime = 0; in parseRawData()
659 accSample->samples[0].firstSample.numSamples = num_of_smpl; in parseRawData()
674 accSample->samples[i].x = x; in parseRawData()
675 accSample->samples[i].y = y; in parseRawData()
676 accSample->samples[i].z = z; in parseRawData()
679 accSample->samples[i].deltaTime = mTask.sample_rate_ns; in parseRawData()
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c95 memset(&ev->samples[0].firstSample, 0x00, sizeof(struct SensorFirstSample)); in vsyncAllocateEvt()
97 ev->samples[0].firstSample.numSamples = 1; in vsyncAllocateEvt()
98 ev->samples[0].idata = 1; in vsyncAllocateEvt()
/device/google/contexthub/firmware/os/inc/
Dsensors.h78 struct SingleAxisDataPoint samples[]; member
105 struct TripleAxisDataPoint samples[]; member
122 struct RawTripleAxisDataPoint samples[]; member
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c709 #define DEC_INFO(name, type, axis, inter, samples) \ argument
714 .minSamples = samples
716 #define DEC_INFO_RATE(name, rates, type, axis, inter, samples) \ argument
717 DEC_INFO(name, type, axis, inter, samples), \
720 #define DEC_INFO_RATE_RAW(name, rates, type, axis, inter, samples, raw, scale) \ argument
721 DEC_INFO(name, type, axis, inter, samples), \
727 #define DEC_INFO_RATE_BIAS(name, rates, type, axis, inter, samples, bias) \ argument
728 DEC_INFO(name, type, axis, inter, samples), \
733 #define DEC_INFO_RATE_RAW_BIAS(name, rates, type, axis, inter, samples, raw, scale, bias) \ argument
734 DEC_INFO_RATE_RAW(name, rates, type, axis, inter, samples, raw, scale), \
[all …]
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c961 #define DEC_INFO(name, type, axis, inter, samples) \ argument
966 .minSamples = samples
968 #define DEC_INFO_RATE(name, rates, type, axis, inter, samples) \ argument
969 DEC_INFO(name, type, axis, inter, samples), \
972 #define DEC_INFO_RATE_BIAS(name, rates, type, axis, inter, samples, bias) \ argument
973 DEC_INFO(name, type, axis, inter, samples), \
978 #define DEC_INFO_RATE_RAW(name, rates, type, axis, inter, samples, raw, scale) \ argument
979 DEC_INFO(name, type, axis, inter, samples), \
985 #define DEC_INFO_RATE_RAW_BIAS(name, rates, type, axis, inter, samples, raw, scale, bias) \ argument
986 DEC_INFO_RATE_RAW(name, rates, type, axis, inter, samples, raw, scale), \
[all …]
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c669 #define DEC_INFO(name, type, axis, inter, samples) \ argument
674 .minSamples = samples
676 #define DEC_INFO_RATE(name, rates, type, axis, inter, samples) \ argument
677 DEC_INFO(name, type, axis, inter, samples), \
680 #define DEC_INFO_RATE_RAW(name, rates, type, axis, inter, samples, raw, scale) \ argument
681 DEC_INFO(name, type, axis, inter, samples), \
687 #define DEC_INFO_RATE_BIAS(name, rates, type, axis, inter, samples, bias) \ argument
688 DEC_INFO(name, type, axis, inter, samples), \
693 #define DEC_INFO_RATE_RAW_BIAS(name, rates, type, axis, inter, samples, raw, scale, bias) \ argument
694 DEC_INFO_RATE_RAW(name, rates, type, axis, inter, samples, raw, scale), \
[all …]
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c396 size_t sampleCnt = ev->samples[0].firstSample.numSamples; in add_samples()
405 x = ev->samples[i].x; in add_samples()
406 y = ev->samples[i].y; in add_samples()
407 z = ev->samples[i].z; in add_samples()
412 now_nsec += i > 0 ? ev->samples[i].deltaTime : 0; in add_samples()
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c199 memset(&ev->samples[0].firstSample, 0x00, sizeof(struct SensorFirstSample)); in baroAllocateEvt()
201 ev->samples[0].firstSample.numSamples = 1; in baroAllocateEvt()
202 ev->samples[0].fdata = sample; in baroAllocateEvt()
314 #define DEC_INFO(name, type, axis, inter, samples, rates) \ argument
319 .minSamples = samples, \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_sys.py550 samples = ['', 'u'*100000]
551 for sample in samples:
660 samples = [[], [1,2,3], ['1', '2', '3']]
661 for sample in samples:
702 samples = [[], range(10), range(50)]
704 for sample in samples:
747 samples = [u'', u'1'*100]
750 for s in samples:
Dtest_collections.py296 samples = [None,
302 for x in samples:
323 samples = [str(),
329 for x in samples:
347 samples = [iter(str()),
355 for x in samples:
380 samples = [str(),
384 for x in samples:
398 samples = [str(),
402 for x in samples:
[all …]
/device/google/cuttlefish_common/tools/play_audio/
Dsdl_wrapper.cpp66 wav_spec.samples = 4096; in OpenAudioDevice()
/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c84 uint32_t numSamples = ev->samples[0].firstSample.numSamples; in algoUpdate()
90 sample = &ev->samples[i]; in algoUpdate()
/device/generic/goldfish-opengl/system/include/GLES2/
Dgl2ext.h431 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GL…
433 GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum in…
536 …YP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalf…
538 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, …
607 …YP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalf…
610 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, …
960 …TRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalf…
961 …(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
963 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GL…
964 …(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
[all …]
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c238 memset(&ev->samples[0].firstSample, 0x00, sizeof(struct SensorFirstSample)); in baroAllocateEvt()
240 ev->samples[0].firstSample.numSamples = 1; in baroAllocateEvt()
241 ev->samples[0].fdata = sample; in baroAllocateEvt()
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c272 #define DEC_INFO(name, type, axis, inter, samples, rates) \ argument
277 .minSamples = samples, \
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c225 #define DEC_INFO(name, type, axis, inter, samples, rates) \ argument
230 .minSamples = samples, \
/device/generic/goldfish-opengl/system/include/GLES/
Dglext.h965 …YP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalf…
1050 …TRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalf…
1051 …(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1166 …TRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalf…
1167 …(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.h165 … GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
/device/google/cuttlefish_common/guest/libs/eglwrapper/
Dgles3_wrapper_entry.cpp180 …void glRenderbufferStorageMultisampleIMG(GLenum target, GLsizei samples, GLenum internalformat, GL…
181 …(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
297 …void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsiz…
412 …void glTexStorage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei widt…
1459 void glRenderbufferStorageMultisampleIMG(GLenum target, GLsizei samples, GLenum internalformat, GLs… in glRenderbufferStorageMultisampleIMG() argument
1462 ctx->glRenderbufferStorageMultisampleIMG( target, samples, internalformat, width, height); in glRenderbufferStorageMultisampleIMG()
1465 …G(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) in glFramebufferTexture2DMultisampleIMG() argument
1468 ctx->glFramebufferTexture2DMultisampleIMG( target, attachment, textarget, texture, level, samples); in glFramebufferTexture2DMultisampleIMG()
2161 void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsize… in glRenderbufferStorageMultisample() argument
2164 ctx->glRenderbufferStorageMultisample( target, samples, internalformat, width, height); in glRenderbufferStorageMultisample()
[all …]
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
Dgles.cpp1276 void glRenderbufferStorageMultisampleIMG(GLenum target, GLsizei samples, GLenum internalformat, GLs… in glRenderbufferStorageMultisampleIMG() argument
1278 …getDispatch()->glRenderbufferStorageMultisampleIMG(target, samples, internalformat, width, height); in glRenderbufferStorageMultisampleIMG()
1281 …G(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) in glFramebufferTexture2DMultisampleIMG() argument
1283 …ch()->glFramebufferTexture2DMultisampleIMG(target, attachment, textarget, texture, level, samples); in glFramebufferTexture2DMultisampleIMG()

123