/hardware/qcom/sm8150/gps/utils/ |
D | loc_misc_utils.cpp | 263 float cr = 0.0, sr = 0.0, cp = 0.0, sp = 0.0, ch = 0.0, sh = 0.0; in Euler2Dcm() local 266 sr = sinf(euler[0]); in Euler2Dcm() 273 dcm[0][1] = (sp*sr*ch) - (cr*sh); in Euler2Dcm() 274 dcm[0][2] = (cr*sp*ch) + (sh*sr); in Euler2Dcm() 277 dcm[1][1] = (sr*sp*sh) + (cr*ch); in Euler2Dcm() 278 dcm[1][2] = (cr*sp*sh) - (sr*ch); in Euler2Dcm() 281 dcm[2][1] = sr * cp; in Euler2Dcm()
|
/hardware/qcom/sm7250/gps/utils/ |
D | loc_misc_utils.cpp | 263 float cr = 0.0, sr = 0.0, cp = 0.0, sp = 0.0, ch = 0.0, sh = 0.0; in Euler2Dcm() local 266 sr = sinf(euler[0]); in Euler2Dcm() 273 dcm[0][1] = (sp*sr*ch) - (cr*sh); in Euler2Dcm() 274 dcm[0][2] = (cr*sp*ch) + (sh*sr); in Euler2Dcm() 277 dcm[1][1] = (sr*sp*sh) + (cr*ch); in Euler2Dcm() 278 dcm[1][2] = (cr*sp*sh) - (sr*ch); in Euler2Dcm() 281 dcm[2][1] = sr * cp; in Euler2Dcm()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | hal_outputs.c | 535 long sr = 1000; in inv_generate_hal_outputs() local 552 sr = sensor_cal->gyro.sample_rate_ms; in inv_generate_hal_outputs() 555 if ((sensor_cal->accel.status & INV_SENSOR_ON) && (sr > sensor_cal->accel.sample_rate_ms)) { in inv_generate_hal_outputs() 556 sr = sensor_cal->accel.sample_rate_ms; in inv_generate_hal_outputs() 559 if ((sensor_cal->compass.status & INV_SENSOR_ON) && (sr > sensor_cal->compass.sample_rate_ms)) { in inv_generate_hal_outputs() 560 sr = sensor_cal->compass.sample_rate_ms; in inv_generate_hal_outputs() 563 if ((sensor_cal->quat.status & INV_SENSOR_ON) && (sr > sensor_cal->quat.sample_rate_ms)) { in inv_generate_hal_outputs() 564 sr = sensor_cal->quat.sample_rate_ms; in inv_generate_hal_outputs()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | hal_outputs.c | 579 long sr = 1000; in inv_generate_hal_outputs() local 596 sr = sensor_cal->gyro.sample_rate_ms; in inv_generate_hal_outputs() 599 if ((sensor_cal->accel.status & INV_SENSOR_ON) && (sr > sensor_cal->accel.sample_rate_ms)) { in inv_generate_hal_outputs() 600 sr = sensor_cal->accel.sample_rate_ms; in inv_generate_hal_outputs() 603 if ((sensor_cal->compass.status & INV_SENSOR_ON) && (sr > sensor_cal->compass.sample_rate_ms)) { in inv_generate_hal_outputs() 604 sr = sensor_cal->compass.sample_rate_ms; in inv_generate_hal_outputs() 607 if ((sensor_cal->quat.status & INV_SENSOR_ON) && (sr > sensor_cal->quat.sample_rate_ms)) { in inv_generate_hal_outputs() 608 sr = sensor_cal->quat.sample_rate_ms; in inv_generate_hal_outputs()
|
/hardware/qcom/audio/hal/ |
D | platform_api.h | 28 #define sample_rate_multiple(sr, base) ((sr % base)== 0?true:false) argument 180 int bw, int sr, int *app_type);
|
/hardware/qcom/audio/hal/audio_extn/ |
D | audio_extn.h | 88 #define audio_extn_usb_altset_for_service_interval(p, si, bw, sr, ch) (-1) argument 105 int audio_extn_usb_sup_sample_rates(bool is_playback, uint32_t *sr, uint32_t l);
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | copybit.cpp | 503 struct copybit_rect_t sr = { 0, 0, src->w, src->h }; in blit_copybit() local 504 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
|
D | copybit_c2d.cpp | 1391 struct copybit_rect_t sr = { 0, 0, src->w, src->h }; in blit_copybit() local 1393 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | copybit.cpp | 583 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 584 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
|
D | copybit_c2d.cpp | 1435 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 1437 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | copybit.cpp | 561 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 562 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
|
D | copybit_c2d.cpp | 1436 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 1438 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()
|
/hardware/qcom/display/msm8909w_3100/libcopybit/ |
D | copybit.cpp | 583 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 584 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
|
/hardware/qcom/sm7250/display/libcopybit/ |
D | copybit.cpp | 575 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 576 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
|
/hardware/qcom/sm8150/display/libcopybit/ |
D | copybit.cpp | 575 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 576 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
|
D | copybit_c2d.cpp | 1435 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 1437 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()
|
/hardware/qcom/display/msm8998/libcopybit/ |
D | copybit.cpp | 581 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 582 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
|
D | copybit_c2d.cpp | 1433 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 1435 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | copybit.cpp | 581 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 582 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
|
/hardware/qcom/sdm845/display/libcopybit/ |
D | copybit.cpp | 583 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 584 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | copybit.cpp | 548 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 549 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
|
D | copybit_c2d.cpp | 1427 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 1429 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | copybit.cpp | 548 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 549 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
|
D | copybit_c2d.cpp | 1433 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local 1435 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()
|
/hardware/ril/reference-ril/ |
D | reference-ril.c | 2055 RIL_SIM_IO_Response sr; local 2061 memset(&sr, 0, sizeof(sr)); 2085 err = parseSimResponseLine(line, &sr); 2090 RIL_onRequestComplete(t, RIL_E_SUCCESS, &sr, sizeof(sr));
|