Searched defs:ratio (Results 1 - 12 of 12) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/ppd42ns/
H A Dppd42ns.h35 double ratio; member in struct:upm::__anon479
H A Dppd42ns.cxx75 double ratio = low_pulse_occupancy / (pulse_check_time * 1000 * 10.0); // Integer percentage 0=>100 local
76 double concentration = (1.1 * pow(ratio,3)) - (3.8 * pow(ratio, 2)) + (520 * ratio) + 0.62; // using spec sheet curve
78 data.ratio = ratio;
/hardware/bsp/intel/peripheral/libupm/src/ecs1030/
H A Decs1030.cxx85 double ratio = m_calibration * ((SUPPLYVOLTAGE / 1000.0) / (ADC_RESOLUTION)); local
86 return ( ratio * sqrt(sumCurrency / NUMBER_OF_SAMPLES) );
/hardware/bsp/intel/peripheral/libupm/src/tsl2561/
H A Dtsl2561.cxx149 // find the ratio of the channel values (Channel1/Channel0)
154 // round the ratio value
155 unsigned long ratio = (ratio1 + 1) >> 1; local
160 // Check if ratio <= eachBreak ?
161 if ((ratio >= 0) && (ratio <= LUX_K1C))
163 else if (ratio <= LUX_K2C)
165 else if (ratio <= LUX_K3C)
167 else if (ratio <= LUX_K4C)
169 else if (ratio <
[all...]
/hardware/qcom/audio/msm8909/post_proc/
H A Dreverb.c171 ALOGV("%s: ctxt %p, decay hf ratio: %d", __func__, context,
445 int16_t ratio; local
480 ratio = *(int16_t *)value;
481 reverb_set_decay_hf_ratio(reverb_ctxt, ratio);
488 ratio = *(int16_t *)value;
489 reverb_set_diffusion(reverb_ctxt, ratio);
492 ratio = *(int16_t *)value;
493 reverb_set_density(reverb_ctxt, ratio);
/hardware/qcom/audio/post_proc/
H A Dreverb.c175 ALOGV("%s: decay hf ratio: %d", __func__,
457 int16_t ratio; local
497 ratio = *(int16_t *)value;
498 reverb_set_decay_hf_ratio(reverb_ctxt, ratio);
507 ratio = *(int16_t *)value;
508 reverb_set_diffusion(reverb_ctxt, ratio);
512 ratio = *(int16_t *)value;
513 reverb_set_density(reverb_ctxt, ratio);
/hardware/intel/img/psb_video/src/
H A Dvsp_VPP.c1065 float ratio; local
1274 ratio = frc->output_fps / (float)frc->input_fps;
1276 if (!((ratio == 2 || ratio == 2.5 || ratio == 4) && frc->output_fps <= 60)) {
1278 ratio, frc->output_fps);
1402 float ratio; local
1466 ratio = frc_param->output_fps / (float)frc_param->input_fps;
1473 if (ratio == 2)
1475 else if (ratio
[all...]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp4191 int ratio, sub_gop_size, gop_size, nPframes, nBframes, nLayers; local
4248 * ratio is rounded,
4249 * eg1: nPframes = 9, nBframes = 11 => ratio = 1
4250 * eg2: nPframes = 9, nBframes = 16 => ratio = 2
4252 ratio = MAX(1, MIN((nBframes + (nPframes >> 1))/nPframes, 3));
4253 nBframes = ratio * nPframes;
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp4985 int ratio, sub_gop_size, gop_size, nPframes, nBframes, nLayers; local
5042 * ratio is rounded,
5043 * eg1: nPframes = 9, nBframes = 11 => ratio = 1
5044 * eg2: nPframes = 9, nBframes = 16 => ratio = 2
5046 ratio = MAX(1, MIN((nBframes + (nPframes >> 1))/nPframes, 3));
5047 nBframes = ratio * nPframes;
/hardware/qcom/camera/QCamera2/HAL3/
H A DQCamera3HWI.cpp7543 float ratio = 1.0 * MAX_PROCESSED_STREAMS * local
7547 info->resource_cost = 100 * MIN(1.0, ratio);
8258 * the ratio of preview buffers to video buffers requested in process
/hardware/qcom/camera/QCamera2/HAL/
H A DQCameraParameters.cpp99 const char QCameraParameters::KEY_QC_MIN_FOCUS_POS_RATIO[] = "min-focus-pos-ratio";
100 const char QCameraParameters::KEY_QC_MAX_FOCUS_POS_RATIO[] = "max-focus-pos-ratio";
503 /*Thumbnail sizes to match portrait picture size aspect ratio*/
1230 * DESCRIPTION: create string obj contains array of zoom ratio values
1559 // Update View angles based on Picture Aspect ratio
1577 // Update View angles based on Picture Aspect ratio
1615 * DESCRIPTION: Update the Horizontal & Vertical based on the Aspect ratio of Preview and
1616 * Picture aspect ratio
1646 // crop as per the Maximum Snapshot aspect ratio
1852 // that has same preview aspect ratio
1858 double ratio = (double)livesnapshot_sizes_tbl[i].width / local
[all...]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
H A Dwlioctl.h4242 int32 snr; /* signal to noise ratio */
5408 int32 tp_ratio_thresh; /* Throughput ratio threshold */
5439 uint16 ratio; /* Avg Txdelay Delta */ member in struct:txdelay_params

Completed in 2395 milliseconds