/device/google/contexthub/firmware/os/drivers/orientation/ |
D | orientation.c | 117 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/ |
D | chre10_app.c | 62 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 …]
|
D | chre_app.c | 62 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/ |
D | hostIntf.c | 860 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/ |
D | st_mag40.c | 295 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/ |
D | st_acc44.c | 298 #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/invensense_icm40600/ |
D | invensense_icm40600.c | 709 #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/generic/goldfish/audio/ |
D | device_port_source.cpp | 267 int16_t *samples = mWriteBuffer.data(); in read() local 269 const unsigned requestedFrames = bytesToRead / nChannels / sizeof(*samples); in read() 286 mGenerator(samples, nFrames); in read() 289 adjust_channels(samples, 1, samples, nChannels, in read() 290 sizeof(*samples), nFrames * sizeof(*samples)); in read() 297 writer(mWriteBuffer.data(), nSamples * sizeof(*samples)); in read()
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 961 #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/generic/vulkan-cereal/third-party/astc-encoder/Source/ |
D | astcenccli_error_metrics.cpp | 293 double samples = 0.0; in compute_error_metrics() local 306 samples += pixels; in compute_error_metrics() 315 samples += pixels; in compute_error_metrics() 324 samples += pixels; in compute_error_metrics() 331 samples += pixels; in compute_error_metrics() 334 double denom = samples; in compute_error_metrics()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 676 #define DEC_INFO(name, type, axis, inter, samples) \ argument 681 .minSamples = samples 683 #define DEC_INFO_RATE(name, rates, type, axis, inter, samples) \ argument 684 DEC_INFO(name, type, axis, inter, samples), \ 687 #define DEC_INFO_RATE_RAW(name, rates, type, axis, inter, samples, raw, scale) \ argument 688 DEC_INFO(name, type, axis, inter, samples), \ 694 #define DEC_INFO_RATE_BIAS(name, rates, type, axis, inter, samples, bias) \ argument 695 DEC_INFO(name, type, axis, inter, samples), \ 700 #define DEC_INFO_RATE_RAW_BIAS(name, rates, type, axis, inter, samples, raw, scale, bias) \ argument 701 DEC_INFO_RATE_RAW(name, rates, type, axis, inter, samples, raw, scale), \ [all …]
|
/device/linaro/dragonboard/audio/ |
D | fir_filter.c | 101 void fir_process_interleaved(fir_filter_t* fir, int16_t* input, int16_t* output, uint32_t samples) { in fir_process_interleaved() argument 105 memcpy(&fir->state[start_offset], input, samples * fir->channels * sizeof(int16_t)); in fir_process_interleaved() 114 for (int s = 0; s < samples; s++) { in fir_process_interleaved() 152 memmove(fir->state, &fir->state[samples * fir->channels], in fir_process_interleaved()
|
/device/amlogic/yukawa/hal/audio/ |
D | fir_filter.c | 101 void fir_process_interleaved(fir_filter_t* fir, int16_t* input, int16_t* output, uint32_t samples) { in fir_process_interleaved() argument 105 memcpy(&fir->state[start_offset], input, samples * fir->channels * sizeof(int16_t)); in fir_process_interleaved() 114 for (int s = 0; s < samples; s++) { in fir_process_interleaved() 152 memmove(fir->state, &fir->state[samples * fir->channels], in fir_process_interleaved()
|
/device/generic/vulkan-cereal/stream-servers/gl/OpenGLESDispatch/ |
D | gles_extensions_dispatch_logging_wrappers.impl | 179 void glTexStorageMem2DMultisampleEXT_dispatchLoggingWrapper(GLenum target, GLsizei samples, GLenum … 180 …EXT(target:0x%X, samples:%d, internalFormat:0x%X, width:%d, height:%d, fixedSampleLocations:%d, me… 181 …GLDispatch::glTexStorageMem2DMultisampleEXT_underlying(target, samples, internalFormat, width, hei… 189 void glTexStorageMem3DMultisampleEXT_dispatchLoggingWrapper(GLenum target, GLsizei samples, GLenum … 190 …arget:0x%X, samples:%d, internalFormat:0x%X, width:%d, height:%d, depth:%d, fixedSampleLocations:%… 191 …GLDispatch::glTexStorageMem3DMultisampleEXT_underlying(target, samples, internalFormat, width, hei…
|
D | gles1_stubbed_in_translator_namespace.entries | 76 void glTexStorageMem2DMultisampleEXT(GLenum target, GLsizei samples, GLenum internalFormat, GLsizei… 78 void glTexStorageMem3DMultisampleEXT(GLenum target, GLsizei samples, GLenum internalFormat, GLsizei… 97 void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsize…
|
/device/google/contexthub/firmware/os/drivers/window_orientation/ |
D | window_orientation.c | 396 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/vsync/ |
D | vsync.c | 95 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/ |
D | sensors.h | 78 struct SingleAxisDataPoint samples[]; member 105 struct TripleAxisDataPoint samples[]; member 122 struct RawTripleAxisDataPoint samples[]; member
|
/device/generic/vulkan-cereal/include/OpenGLESDispatch/ |
D | gles_extensions_functions.h | 43 …zei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations,… 45 …samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampl…
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
D | lps22hb.c | 199 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/generic/goldfish-opengl/system/include/GLES2/ |
D | gl2ext.h | 716 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GL… 718 GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum in… 809 …GLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageS… 810 …ERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageS… 812 …NTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageS… 813 …dRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageS… 882 …YP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalf… 884 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, … 970 …YP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalf… 973 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, … [all …]
|
/device/google/raviole/audio/oriole/cs35l41/fw/ |
D | readme.md | 22 - **Top**: 5 samples (3 new ones + 2 from 20210323) 23 - **Bottom**: Same 3 samples as 20210323 37 - Recharacterized and retuned with EVT Bucks (3 samples each Buck)
|
/device/generic/vulkan-cereal/include/GLES2/ |
D | gl2ext.h | 719 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GL… 721 GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum in… 812 …GLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageS… 813 …ERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageS… 815 …NTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageS… 816 …dRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageS… 885 …YP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalf… 887 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, … 973 …YP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalf… 976 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, … [all …]
|
/device/google/raviole/audio/raven/cs35l41/fw/ |
D | readme.md | 22 - Recharacterized and retuned to include new limit samples 28 - Recharacterized and retuned to include new limit samples 45 Retune using R4 EVT samples.
|
/device/google/contexthub/firmware/os/drivers/tilt_detection/ |
D | tilt_detection.c | 84 uint32_t numSamples = ev->samples[0].firstSample.numSamples; in algoUpdate() 90 sample = &ev->samples[i]; in algoUpdate()
|