Home
last modified time | relevance | path

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

1234567

/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/ir/1.0/vts/functional/
DVtsHalIrV1_0TargetTest.cpp64 for (auto range = ranges.begin(); range != ranges.end(); range++) { in TEST_P() local
65 EXPECT_TRUE(ir->transmit(range->min, vec)); in TEST_P()
66 EXPECT_TRUE(ir->transmit(range->max, vec)); in TEST_P()
/hardware/interfaces/broadcastradio/2.0/default/
DTunerSession.cpp187 auto range = getAmFmRangeLocked(); in step() local
188 if (!range) { in step()
194 stepTo += range->spacing; in step()
196 stepTo -= range->spacing; in step()
198 if (stepTo > range->upperBound) stepTo = range->lowerBound; in step()
199 if (stepTo < range->lowerBound) stepTo = range->upperBound; in step()
307 for (auto&& range : module().getAmFmConfig().ranges) { in getAmFmRangeLocked()
308 if (range.lowerBound <= freq && range.upperBound >= freq) return range; in getAmFmRangeLocked()
/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/5.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/6.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.cpp287 static void validateRange(const AmFmBandRange& range) { in validateRange() argument
288 EXPECT_TRUE(isValidAmFmFreq(range.lowerBound)); in validateRange()
289 EXPECT_TRUE(isValidAmFmFreq(range.upperBound)); in validateRange()
290 EXPECT_LT(range.lowerBound, range.upperBound); in validateRange()
291 EXPECT_GT(range.spacing, 0u); in validateRange()
292 EXPECT_EQ(0u, (range.upperBound - range.lowerBound) % range.spacing); in validateRange()
296 for (auto&& range : config.ranges) { in supportsFM()
297 if (utils::getBand(range.lowerBound) == utils::FrequencyBand::FM) return true; in supportsFM()
324 for (auto&& range : config.ranges) { in TEST_P()
325 validateRange(range); in TEST_P()
[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/interfaces/graphics/common/1.0/
Dtypes.hal32 * The component values are unsigned normalized to the range [0, 1], whose
41 * The component values are unsigned normalized to the range [0, 1], whose
50 * The component values are unsigned normalized to the range [0, 1], whose
60 * The component values are unsigned normalized to the range [0, 1], whose
69 * The component values are unsigned normalized to the range [0, 1], whose
324 * The component values are unsigned normalized to the range [0, 1], whose
332 * This range is reserved for vendor extensions. Formats in this range
356 * The component values are unsigned normalized to the range [0, 1], whose
381 * The component values are unsigned normalized to the range [0, 1], whose
405 * This range is reserved for vendor extensions. Formats in this range
[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()
/hardware/interfaces/wifi/hostapd/1.1/
DIHostapd.hal29 * Parameters to specify the channel range for ACS.
33 * Channel number (IEEE 802.11) at the start of the range.
37 * Channel number (IEEE 802.11) at the end of the range.
/hardware/interfaces/input/common/1.0/
Dtypes.hal34 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
36 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
49 * The value is normalized to a range from -1.0 (up) to 1.0 (down).
51 * The value is normalized to a range from -1.0 (up or far) to 1.0 (down or near).
58 * by a finger or other tool. The value is normalized to a range from
72 * to a range from 0 (smallest detectable size) to 1 (largest detectable size),
141 * The full range is from -PI/2 radians (finger pointing fully left) to PI/2 radians
145 * The range is from -PI radians to PI radians, where 0 is pointing up,
154 * The value is normalized to a range from -1.0 (down) to 1.0 (up).
163 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
[all …]
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.cpp134 C2F(mDefaultColorAspects, range).inRange( in IntfImpl()
152 C2F(mCodedColorAspects, range).inRange( in IntfImpl()
170 C2F(mColorAspects, range).inRange( in IntfImpl()
232 if (me.v.range > C2Color::RANGE_OTHER) { in DefaultColorAspectsSetter()
233 me.set().range = C2Color::RANGE_OTHER; in DefaultColorAspectsSetter()
249 if (me.v.range > C2Color::RANGE_OTHER) { in CodedColorAspectsSetter()
250 me.set().range = C2Color::RANGE_OTHER; in CodedColorAspectsSetter()
269 me.set().range = coded.v.range == RANGE_UNSPECIFIED ? def.v.range : coded.v.range; in ColorAspectsSetter()
582 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams()
583 codedAspects.range = C2Color::RANGE_UNSPECIFIED; in getVuiParams()
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.cpp126 C2F(mDefaultColorAspects, range).inRange( in IntfImpl()
144 C2F(mCodedColorAspects, range).inRange( in IntfImpl()
162 C2F(mColorAspects, range).inRange( in IntfImpl()
224 if (me.v.range > C2Color::RANGE_OTHER) { in DefaultColorAspectsSetter()
225 me.set().range = C2Color::RANGE_OTHER; in DefaultColorAspectsSetter()
241 if (me.v.range > C2Color::RANGE_OTHER) { in CodedColorAspectsSetter()
242 me.set().range = C2Color::RANGE_OTHER; in CodedColorAspectsSetter()
261 me.set().range = coded.v.range == RANGE_UNSPECIFIED ? def.v.range : coded.v.range; in ColorAspectsSetter()
657 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getSeqInfo()
658 codedAspects.range = C2Color::RANGE_UNSPECIFIED; in getSeqInfo()
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.cpp138 C2F(mDefaultColorAspects, range).inRange( in IntfImpl()
156 C2F(mCodedColorAspects, range).inRange( in IntfImpl()
174 C2F(mColorAspects, range).inRange( in IntfImpl()
236 if (me.v.range > C2Color::RANGE_OTHER) { in DefaultColorAspectsSetter()
237 me.set().range = C2Color::RANGE_OTHER; in DefaultColorAspectsSetter()
253 if (me.v.range > C2Color::RANGE_OTHER) { in CodedColorAspectsSetter()
254 me.set().range = C2Color::RANGE_OTHER; in CodedColorAspectsSetter()
273 me.set().range = coded.v.range == RANGE_UNSPECIFIED ? def.v.range : coded.v.range; in ColorAspectsSetter()
583 if (!C2Mapper::map(sfAspects.mRange, &codedAspects.range)) { in getVuiParams()
584 codedAspects.range = C2Color::RANGE_UNSPECIFIED; in getVuiParams()

1234567