Home
last modified time | relevance | path

Searched refs:sr (Results 1 – 25 of 33) sorted by relevance

12

/hardware/qcom/sm8150/gps/utils/
Dloc_misc_utils.cpp263 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/
Dloc_misc_utils.cpp263 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/
Dhal_outputs.c535 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/
Dhal_outputs.c579 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/
Dplatform_api.h28 #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/
Daudio_extn.h88 #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/
Dcopybit.cpp503 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()
Dcopybit_c2d.cpp1391 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/
Dcopybit.cpp583 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()
Dcopybit_c2d.cpp1435 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/
Dcopybit.cpp561 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()
Dcopybit_c2d.cpp1436 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/
Dcopybit.cpp583 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/
Dcopybit.cpp575 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/
Dcopybit.cpp575 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()
Dcopybit_c2d.cpp1435 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/
Dcopybit.cpp581 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()
Dcopybit_c2d.cpp1433 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/
Dcopybit.cpp581 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/
Dcopybit.cpp583 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/
Dcopybit.cpp548 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()
Dcopybit_c2d.cpp1427 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/
Dcopybit.cpp548 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()
Dcopybit_c2d.cpp1433 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/
Dreference-ril.c2055 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));

12