/hardware/qcom/audio/legacy/libalsa-intf/ |
D | alsa_mixer.c | 50 #define check_range(val, min, max) \ argument 51 (((val < min) ? (min) : (val > max) ? (max) : (val))) 56 #define percent_to_index(val, min, max) \ argument 57 ((val) * ((max) - (min)) * 0.01 + (min) + .5) 137 unsigned max = mixer->ctl[n].info->value.enumerated.items; in mixer_close() local 138 for (m = 0; m < max; m++) in mixer_close() 261 ei->value.integer.max, in mixer_dump() 268 ei->value.integer64.max, in mixer_dump() 313 long *min, long *max, unsigned int *tlv_type) in mixer_ctl_read_tlv() argument 362 *max = (ctl->info->value.integer.max); in mixer_ctl_read_tlv() [all …]
|
/hardware/libhardware/modules/consumerir/ |
D | consumerir.c | 32 {.min = 30000, .max = 30000}, 33 {.min = 33000, .max = 33000}, 34 {.min = 36000, .max = 36000}, 35 {.min = 38000, .max = 38000}, 36 {.min = 40000, .max = 40000}, 37 {.min = 56000, .max = 56000},
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | slider_control_options.h | 36 const T& max, in SliderControlOptions() argument 38 : min_(min), max_(max), defaults_(defaults){}; in SliderControlOptions() 39 SliderControlOptions(const T& min, const T& max, std::map<int, T> defaults) in SliderControlOptions() argument 41 max_(max), in SliderControlOptions()
|
D | ranged_converter.h | 36 TV4L2 max, 57 TV4L2 max, in RangedConverter() argument 61 max_(max), in RangedConverter()
|
/hardware/qcom/msm8998/json-c/ |
D | arraylist.c | 59 static int array_list_expand_internal(struct array_list *arr, int max) in array_list_expand_internal() argument 64 if(max < arr->size) return 0; in array_list_expand_internal() 66 if (new_size < max) in array_list_expand_internal() 67 new_size = max; in array_list_expand_internal()
|
/hardware/google/av/codec2/vndk/include/util/ |
D | C2InterfaceUtils.h | 63 constexpr static T MAX_VALUE = std::numeric_limits<T>::max(); 164 C2SupportedRange<T> InRange(T min, T max, T step = MIN_STEP) { 165 return C2SupportedRange(min, max, step); 179 C2SupportedRange<T> InSeries(T min, T max, T num, T denom) { 180 return C2SupportedRange(min, max, 0, num, denom); 195 C2SupportedRange<T> InMacSeries(T min, T max, T step, T num, T denom) { 196 return C2SupportedRange(min, max, step, num, denom); 254 inline C2_HIDE constexpr T max() const { return _mMax; } 312 …constexpr C2_HIDE C2SupportedRange(T min, T max, T step = T(std::is_floating_point<T>::value ? 0 :… 313 : _mMin(min), _mMax(max), _mStep(step), _mNum(1), _mDenom(1) { } [all …]
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | ALSAMixer.cpp | 85 max(SND_MIXER_VOL_RANGE_MAX), in mixer_info_t() 92 long max; member 197 getVolumeRange[i] (elem, &info->min, &info->max); in ALSAMixer() 198 info->volume = info->max; in ALSAMixer() 234 getVolumeRange[i] (elem, &info->min, &info->max); in ALSAMixer() 235 info->volume = info->max; in ALSAMixer() 273 long maxVol = info->max; in setMasterVolume() 292 long maxVol = info->max; in setMasterGain() 314 long maxVol = info->max; in setVolume() 337 long maxVol = info->max; in setGain()
|
/hardware/qcom/bt/msm8996/libbt-vendor/include/ |
D | hw_rome.h | 153 #define CALC_SEG_SIZE(len, max) ((plen) % (max))?((plen/max)+1) : ((plen) / (max)) argument
|
/hardware/qcom/bt/msm8909/libbt-vendor/include/ |
D | hw_rome.h | 151 #define CALC_SEG_SIZE(len, max) ((plen) % (max))?((plen/max)+1) : ((plen) / (max)) argument
|
/hardware/qcom/bt/msm8992/libbt-vendor/include/ |
D | hw_rome.h | 152 #define CALC_SEG_SIZE(len, max) ((plen) % (max))?((plen/max)+1) : ((plen) / (max)) argument
|
/hardware/qcom/bt/msm8998/libbt-vendor/include/ |
D | hw_rome.h | 152 #define CALC_SEG_SIZE(len, max) ((plen) % (max))?((plen/max)+1) : ((plen) / (max)) argument
|
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/include/ |
D | hw_rome.h | 152 #define CALC_SEG_SIZE(len, max) ((plen) % (max))?((plen/max)+1) : ((plen) / (max)) argument
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmutils.h | 106 uint16 max; /* maximum number of queued packets */ member 146 uint16 max; /* total max packets */ \ 287 #define pktq_psetmax(pq, prec, _max) ((pq)->q[prec].max = (_max)) 288 #define pktq_pmax(pq, prec) ((pq)->q[prec].max) 290 #define pktq_pavail(pq, prec) ((pq)->q[prec].max - (pq)->q[prec].len) 291 #define pktq_pfull(pq, prec) ((pq)->q[prec].len >= (pq)->q[prec].max) 318 #define pktq_max(pq) ((int)(pq)->max) 319 #define pktq_avail(pq) ((int)((pq)->max - (pq)->len)) 320 #define pktq_full(pq) ((pq)->len >= (pq)->max) 603 #define LIMIT_TO_RANGE(x, min, max) \ argument [all …]
|
/hardware/interfaces/ir/1.0/default/ |
D | ConsumerIr.cpp | 59 rangeVec[i].max = static_cast<uint32_t>(rangeAr[i].max); in getCarrierFreqs()
|
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
D | AKFS_AOC.c | 127 AKFVEC max; in MeanVar() local 132 max.v[j] = v[0].v[j]; in MeanVar() 137 if(v[i].v[j] > max.v[j]){ in MeanVar() 138 max.v[j] = v[i].v[j]; in MeanVar() 141 mean->v[j] = (max.v[j] + min.v[j]) / 2.0; /*mean */ in MeanVar() 142 var->v[j] = max.v[j] - min.v[j]; /*var */ in MeanVar()
|
/hardware/libhardware/tests/hwc/ |
D | util.c | 115 EGLint i, n, max; in select_config_for_window() local 131 if (eglGetConfigs(dpy, NULL, 0, &max) == EGL_FALSE) { in select_config_for_window() 136 cfg = (EGLConfig*) malloc(sizeof(EGLConfig) * max); in select_config_for_window() 140 if (eglChooseConfig(dpy, attr, cfg, max, &n) == EGL_FALSE) { in select_config_for_window()
|
/hardware/interfaces/automotive/evs/1.0/vts/functional/ |
D | FormatConvert.cpp | 34 static inline float clamp(float v, float min, float max) { in clamp() argument 36 if (v > max) return max; in clamp()
|
/hardware/libhardware/modules/camera/3_4/ |
D | v4l2_wrapper.cpp | 468 int64_t min = std::numeric_limits<int64_t>::max(); in GetFormatFrameDurationRange() 469 int64_t max = std::numeric_limits<int64_t>::min(); in GetFormatFrameDurationRange() local 474 max = std::max(max, FractToNs(duration_query.discrete)); in GetFormatFrameDurationRange() 486 max = FractToNs(duration_query.stepwise.max); in GetFormatFrameDurationRange() 489 (*duration_range)[1] = max; in GetFormatFrameDurationRange()
|
/hardware/intel/img/psb_video/src/ |
D | psb_drv_video.h | 81 #ifndef max 82 #define max(a, b) ((a) > (b)) ? (a) : (b) macro 689 #define psb__bounds_check(x, max) \ argument 690 do { ASSERT(x < max); if (x >= max) x = max - 1; } while(0);
|
/hardware/qcom/camera/msm8998/ |
D | QCameraParameters.h | 35 FPSRange(int min,int max){ in FPSRange() 37 maxFPS=max; in FPSRange()
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | cb_utils.cpp | 36 irect.right = max(rect1.right, rect2.right); in getUnion() 37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | cb_utils.cpp | 36 irect.right = max(rect1.right, rect2.right); in getUnion() 37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | cb_utils.cpp | 36 irect.right = max(rect1.right, rect2.right); in getUnion() 37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | gscancommand.h | 53 u32 max; /* max num of cached results specified by caller */ member 133 virtual wifi_error allocCachedResultsTemp(int max,
|
/hardware/libhardware/include/hardware/ |
D | consumerir.h | 31 int max; member
|