Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 14 of 14) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/tsl2561/
Dtsl2561.cxx155 unsigned long ratio = (ratio1 + 1) >> 1; in getLux() local
161 if ((ratio >= 0) && (ratio <= LUX_K1C)) in getLux()
163 else if (ratio <= LUX_K2C) in getLux()
165 else if (ratio <= LUX_K3C) in getLux()
167 else if (ratio <= LUX_K4C) in getLux()
169 else if (ratio <= LUX_K5C) in getLux()
171 else if (ratio <= LUX_K6C) in getLux()
173 else if (ratio <= LUX_K7C) in getLux()
175 else if (ratio > LUX_K8C) in getLux()
/hardware/bsp/intel/peripheral/libupm/src/ppd42ns/
Dppd42ns.cxx75 …double ratio = low_pulse_occupancy / (pulse_check_time * 1000 * 10.0); // Integer percentage 0=>1… in getData() local
76 …double concentration = (1.1 * pow(ratio,3)) - (3.8 * pow(ratio, 2)) + (520 * ratio) + 0.62; // usi… in getData()
78 data.ratio = ratio; in getData()
Dppd42ns.h35 double ratio; member
/hardware/bsp/intel/peripheral/libupm/src/ecs1030/
Decs1030.cxx85 double ratio = m_calibration * ((SUPPLYVOLTAGE / 1000.0) / (ADC_RESOLUTION)); in getCurrency_B() local
86 return ( ratio * sqrt(sumCurrency / NUMBER_OF_SAMPLES) ); in getCurrency_B()
/hardware/qcom/audio/post_proc/
Dreverb.c457 int16_t ratio; in reverb_set_parameter() local
497 ratio = *(int16_t *)value; in reverb_set_parameter()
498 reverb_set_decay_hf_ratio(reverb_ctxt, ratio); in reverb_set_parameter()
507 ratio = *(int16_t *)value; in reverb_set_parameter()
508 reverb_set_diffusion(reverb_ctxt, ratio); in reverb_set_parameter()
512 ratio = *(int16_t *)value; in reverb_set_parameter()
513 reverb_set_density(reverb_ctxt, ratio); in reverb_set_parameter()
/hardware/qcom/audio/msm8909/post_proc/
Dreverb.c445 int16_t ratio; in reverb_set_parameter() local
480 ratio = *(int16_t *)value; in reverb_set_parameter()
481 reverb_set_decay_hf_ratio(reverb_ctxt, ratio); in reverb_set_parameter()
488 ratio = *(int16_t *)value; in reverb_set_parameter()
489 reverb_set_diffusion(reverb_ctxt, ratio); in reverb_set_parameter()
492 ratio = *(int16_t *)value; in reverb_set_parameter()
493 reverb_set_density(reverb_ctxt, ratio); in reverb_set_parameter()
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dppd42ns.js43 console.log("Ratio: " + data.ratio);
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dppd42ns.cxx54 cout << "Ratio: " << data.ratio << endl; in main()
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dppd42ns.py55 print "Ratio: " + str(data.ratio)
/hardware/intel/img/psb_video/src/
Dvsp_VPP.c1065 float ratio; in vsp_QueryVideoProcPipelineCaps() local
1274 ratio = frc->output_fps / (float)frc->input_fps; in vsp_QueryVideoProcPipelineCaps()
1276 if (!((ratio == 2 || ratio == 2.5 || ratio == 4) && frc->output_fps <= 60)) { in vsp_QueryVideoProcPipelineCaps()
1278 ratio, frc->output_fps); in vsp_QueryVideoProcPipelineCaps()
1402 float ratio; in vsp_set_filter_param() local
1466 ratio = frc_param->output_fps / (float)frc_param->input_fps; in vsp_set_filter_param()
1473 if (ratio == 2) in vsp_set_filter_param()
1475 else if (ratio == 2.5) in vsp_set_filter_param()
1477 else if (ratio == 4) in vsp_set_filter_param()
1479 else if (ratio == 1.25) in vsp_set_filter_param()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp4191 int ratio, sub_gop_size, gop_size, nPframes, nBframes, nLayers; in venc_calibrate_gop() local
4252 ratio = MAX(1, MIN((nBframes + (nPframes >> 1))/nPframes, 3)); in venc_calibrate_gop()
4253 nBframes = ratio * nPframes; in venc_calibrate_gop()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp4985 int ratio, sub_gop_size, gop_size, nPframes, nBframes, nLayers; in venc_calibrate_gop() local
5046 ratio = MAX(1, MIN((nBframes + (nPframes >> 1))/nPframes, 3)); in venc_calibrate_gop()
5047 nBframes = ratio * nPframes; in venc_calibrate_gop()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dwlioctl.h5439 uint16 ratio; /* Avg Txdelay Delta */ member
/hardware/qcom/camera/QCamera2/HAL/
DQCameraParameters.cpp1858 double ratio = (double)livesnapshot_sizes_tbl[i].width / in setLiveSnapshotSize() local
1860 if (fabs(previewAspectRatio - ratio) <= ASPECT_TOLERANCE) { in setLiveSnapshotSize()