Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 123) sorted by relevance

12345

/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dand_constructor.h24 #define RANGE_FLOAT_TO_FIXEDPOINT(range, x) { \ argument
25 range.mantissa = (long)x; \
26 range.fraction = (long)((float)(x-(long)x)*PRECISION); \
28 #define RANGE_FIXEDPOINT_TO_FLOAT(range, x) { \ argument
29 x = (float)(range.mantissa); \
30 x += ((float)range.fraction/PRECISION); \
/hardware/interfaces/media/omx/1.0/
DIOmxStore.hal42 * range<type>: <type> | <type>-<type>
79 * key: 'bitrate-range', value-type: range<num>
85 * key: 'sample-rate-ranges', value-type: list<range<num>>
89 * key: 'block-aspect-ratio-range', value-type: range<ratio>
90 * key: 'block-count-range', value-type: range<num>
92 * key: 'blocks-per-second-range', value-type: range<num>
94 * key: 'frame-rate-range', value-type: range<num>
95 * key: 'pixel-aspect-ratio-range', value-type: range<ratio>
96 * key: 'size-range', value-type: range<size>
100 * key: 'measured-frame-rate-<width>x<height>-range',
[all …]
/hardware/interfaces/broadcastradio/2.0/default/
DTunerSession.cpp188 auto range = getAmFmRangeLocked(); in step() local
189 if (!range) { in step()
195 stepTo += range->spacing; in step()
197 stepTo -= range->spacing; in step()
199 if (stepTo > range->upperBound) stepTo = range->lowerBound; in step()
200 if (stepTo < range->lowerBound) stepTo = range->upperBound; in step()
313 for (auto&& range : module().getAmFmConfig().ranges) { in getAmFmRangeLocked()
314 if (range.lowerBound <= freq && range.upperBound >= freq) return range; in getAmFmRangeLocked()
/hardware/interfaces/ir/1.0/vts/functional/
DVtsHalIrV1_0TargetTest.cpp79 for (auto range = ranges.begin(); range != ranges.end(); range++) { in TEST_F() local
80 EXPECT_TRUE(ir->transmit(range->min, vec)); in TEST_F()
81 EXPECT_TRUE(ir->transmit(range->max, vec)); in TEST_F()
/hardware/interfaces/audio/effect/2.0/
DIEnvironmentalReverbEffect.hal157 int16_t roomLevel; // in millibels, range -6000 to 0
158 int16_t roomHfLevel; // in millibels, range -4000 to 0
159 uint32_t decayTime; // in milliseconds, range 100 to 20000
160 int16_t decayHfRatio; // in permilles, range 100 to 1000
161 int16_t reflectionsLevel; // in millibels, range -6000 to 0
162 uint32_t reflectionsDelay; // in milliseconds, range 0 to 65
163 int16_t reverbLevel; // in millibels, range -6000 to 0
164 uint32_t reverbDelay; // in milliseconds, range 0 to 65
165 int16_t diffusion; // in permilles, range 0 to 1000
166 int16_t density; // in permilles, range 0 to 1000
DIAutomaticGainControlEffect.hal34 * Sets gain in the compression range in millibels.
39 * Gets gain in the compression range.
/hardware/interfaces/audio/effect/4.0/
DIEnvironmentalReverbEffect.hal157 int16_t roomLevel; // in millibels, range -6000 to 0
158 int16_t roomHfLevel; // in millibels, range -4000 to 0
159 uint32_t decayTime; // in milliseconds, range 100 to 20000
160 int16_t decayHfRatio; // in permilles, range 100 to 1000
161 int16_t reflectionsLevel; // in millibels, range -6000 to 0
162 uint32_t reflectionsDelay; // in milliseconds, range 0 to 65
163 int16_t reverbLevel; // in millibels, range -6000 to 0
164 uint32_t reverbDelay; // in milliseconds, range 0 to 65
165 int16_t diffusion; // in permilles, range 0 to 1000
166 int16_t density; // in permilles, range 0 to 1000
DIAutomaticGainControlEffect.hal34 * Sets gain in the compression range in millibels.
39 * Gets gain in the compression range.
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidReport.cpp129 auto range = h.getLogicalRange(); in operator <<() local
130 os << "logMin: " << range.first << ", " in operator <<()
131 << "logMax: " << range.second << ", "; in operator <<()
133 if (range == h.getPhysicalRange()) { in operator <<()
136 range = h.getPhysicalRange(); in operator <<()
137 os << "phyMin: " << range.first << ", " in operator <<()
138 << "phyMax: " << range.second << ", "; in operator <<()
/hardware/interfaces/broadcastradio/2.0/vts/functional/
DVtsHalBroadcastradioV2_0TargetTest.cpp288 static void validateRange(const AmFmBandRange& range) { in validateRange() argument
289 EXPECT_TRUE(isValidAmFmFreq(range.lowerBound)); in validateRange()
290 EXPECT_TRUE(isValidAmFmFreq(range.upperBound)); in validateRange()
291 EXPECT_LT(range.lowerBound, range.upperBound); in validateRange()
292 EXPECT_GT(range.spacing, 0u); in validateRange()
293 EXPECT_EQ(0u, (range.upperBound - range.lowerBound) % range.spacing); in validateRange()
297 for (auto&& range : config.ranges) { in supportsFM()
298 if (utils::getBand(range.lowerBound) == utils::FrequencyBand::FM) return true; in supportsFM()
325 for (auto&& range : config.ranges) { in TEST_F()
326 validateRange(range); in TEST_F()
[all …]
/hardware/interfaces/graphics/common/1.1/
Dtypes.hal33 * The component values are unsigned normalized to the range [0, 1], whose
42 * The component values are unsigned normalized to the range [0, 1], whose
51 * The depth component values are unsigned normalized to the range [0, 1],
106 * The component values are unsigned normalized to the range [0, 1], whose
162 * Use limited range, BT.709 transfer and BT2020 standard
169 * High dynamic range television
171 * Use limited/full range, PQ/HLG transfer, and BT2020 standard
172 * limited range is the preferred / normative definition for BT.2100
194 * range) value of R, G, or B.
272 * Tone map high-dynamic-range colors to the display's dynamic range. The
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehiclePropertyStore.cpp74 auto range = findRangeLocked(propId); in removeValuesForProperty() local
75 mPropertyValues.erase(range.first, range.second); in removeValuesForProperty()
91 auto range = findRangeLocked(propId); in readValuesForProperty() local
92 for (auto it = range.first; it != range.second; ++it) { in readValuesForProperty()
/hardware/interfaces/gnss/1.0/
DIGnssNavigationMessageCallback.hal92 * id' of the navigation message, in the range of 1-25 (Subframe 1, 2, 3
95 * - For Glonass L1 C/A, this refers to the frame ID, in the range of 1-5.
97 * - For BeiDou D1, this refers to the frame number in the range of 1-24
99 * - For Beidou D2, this refers to the frame number, in the range of 1-120
102 * number, in the range of 1-12
105 * number in the range of 1-24
115 * the subframe number of the navigation message, in the range of 1-5.
117 * - For Glonass L1 C/A, this refers to the String number, in the range from
120 * - For Galileo F/NAV, this refers to the page type in the range 1-6
122 * - For Galileo I/NAV, this refers to the word type in the range 0-10+
/hardware/interfaces/automotive/audiocontrol/1.0/
DIAudioControl.hal43 * A value outside the range -1 to 1 must be clamped by the implementation to the -1 to 1
44 * range.
55 * A value outside the range -1 to 1 must be clamped by the implementation to the -1 to 1
56 * range.
/hardware/intel/img/psb_video/src/
Dvsp_VPP.c976 denoise_cap->range.min_value = MIN_VPP_PARAM; in vsp_QueryVideoProcFilterCaps()
977 denoise_cap->range.max_value = MAX_VPP_PARAM; in vsp_QueryVideoProcFilterCaps()
978 denoise_cap->range.default_value = MIN_VPP_PARAM; in vsp_QueryVideoProcFilterCaps()
979 denoise_cap->range.step = STEP_VPP_PARAM; in vsp_QueryVideoProcFilterCaps()
984 deblock_cap->range.min_value = MIN_VPP_PARAM; in vsp_QueryVideoProcFilterCaps()
985 deblock_cap->range.max_value = MAX_VPP_PARAM; in vsp_QueryVideoProcFilterCaps()
986 deblock_cap->range.default_value = MIN_VPP_PARAM; in vsp_QueryVideoProcFilterCaps()
987 deblock_cap->range.step = STEP_VPP_PARAM; in vsp_QueryVideoProcFilterCaps()
993 sharpen_cap->range.min_value = MIN_VPP_PARAM; in vsp_QueryVideoProcFilterCaps()
994 sharpen_cap->range.max_value = MAX_VPP_PARAM; in vsp_QueryVideoProcFilterCaps()
[all …]
/hardware/google/av/codec2/tests/
DC2SampleComponent_test.cpp271 cout << ".range(" << get(sv.range.min, t); in dumpFSV()
272 if (get(sv.range.step, t) != std::is_integral<T>::value) { in dumpFSV()
273 cout << ":" << get(sv.range.step, t); in dumpFSV()
275 if (get(sv.range.num, t) != 1 || get(sv.range.denom, t) != 1) { in dumpFSV()
276 cout << ":" << get(sv.range.num, t) << "/" << get(sv.range.denom, t); in dumpFSV()
278 cout << get(sv.range.max, t) << ")"; in dumpFSV()
DC2ComponentInterface_test.cpp370 const auto &range = c2FSV.range; in getTestValues() local
371 auto rmin = prim2Value(range.min); in getTestValues()
372 auto rmax = prim2Value(range.max); in getTestValues()
373 auto rstep = prim2Value(range.step); in getTestValues()
405 auto num = prim2Value(range.num); in getTestValues()
406 auto denom = prim2Value(range.denom); in getTestValues()
/hardware/intel/common/libva/va/
Dva_vpp.h932 VAProcFilterValueRange range; member
946 VAProcFilterValueRange range; member
954 VAProcFilterValueRange range; member
Dva_dec_vp8.h54 unsigned char range; member
/hardware/intel/common/libva/test/videoprocess/
Dvideoprocess.cpp172 adjust_to_range(VAProcFilterValueRange *range, float value) in adjust_to_range() argument
174 if (value < range->min_value || value > range->max_value){ in adjust_to_range()
176 value, range->min_value, range->max_value, range->default_value); in adjust_to_range()
177 return range->default_value; in adjust_to_range()
479 intensity = denoise_caps.range.default_value; in denoise_filter_init()
481 intensity = adjust_to_range(&denoise_caps.range, intensity); in denoise_filter_init()
584 intensity = sharpening_caps.range.default_value; in sharpening_filter_init()
587 intensity = adjust_to_range(&sharpening_caps.range, intensity); in sharpening_filter_init()
644 value = color_balance_caps[i].range.default_value; in color_balance_filter_init()
646 value = adjust_to_range(&color_balance_caps[i].range, value); in color_balance_filter_init()
/hardware/google/interfaces/media/c2/1.0/
DIConfigurable.hal106 * Returns a selected range of the set of supported parameters.
109 * start index of 0, and the selected range are indices into this vector.
110 * Fewer than \p count parameters are returned if the selected range is
115 * @param start start index of selected range
120 * @return params Vector containing the selected range of supported
Dtypes.hal162 * This can be either a range or a set of values. The range can be linear or
178 /** Numeric range that can be continuous or discrete */
202 * If #type = EMPTY, #range and #value are unused.
206 * If #type = RANGE, #range will specify the range of possible values.
208 * The intended type of members of #range will be clear in the context where
211 Range range;
333 * Parameter is out of range due to other settings. (This failure mode
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp43 color_metadata->range = Range_Full; in SetCSC()
133 auto range = dataspace & HAL_DATASPACE_RANGE_MASK; in GetRange() local
134 switch (range) { in GetRange()
142 DLOGV_IF(kTagStrategy, "Unsupported Range Request = %d", range); in GetRange()
168 GetRange(dataspace, &(color_metadata->range)); in GetSDMColorSpace()
749 layer_buffer->color_metadata.range = csc.range; in ValidateAndSetCSC()
/hardware/intel/common/utils/ISV/base/
Disv_worker.cpp416 … deblock.value = deblockCaps.range.min_value + DENOISE_DEBLOCK_STRENGTH * deblockCaps.range.step; in setupFilters()
445 … denoise.value = denoiseCaps.range.min_value + DENOISE_DEBLOCK_STRENGTH * denoiseCaps.range.step; in setupFilters()
502 sharpen.value = sharpenCaps.range.default_value; in setupFilters()
528 … color[i].value = colorCaps[i].range.min_value + COLOR_STRENGTH * colorCaps[i].range.step; in setupFilters()
534 … color[i].value = colorCaps[i].range.min_value + COLOR_STRENGTH * colorCaps[i].range.step; in setupFilters()
631 stde.value = stdeCaps.range.default_value; in setupFilters()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.cpp43 color_metadata->range = Range_Full; in SetCSC()
130 auto range = dataspace & HAL_DATASPACE_RANGE_MASK; in GetRange() local
131 switch (range) { in GetRange()
139 DLOGV_IF(kTagClient, "Unsupported Range Request = %d", range); in GetRange()
165 GetRange(dataspace, &(color_metadata->range)); in GetSDMColorSpace()
757 layer_buffer->color_metadata.range = csc.range; in ValidateAndSetCSC()

12345