Searched refs:range (Results 1 - 25 of 78) sorted by relevance

1234

/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
H A Dand_constructor.h24 #define RANGE_FLOAT_TO_FIXEDPOINT(range, x) { \
25 range.mantissa = (long)x; \
26 range.fraction = (long)((float)(x-(long)x)*PRECISION); \
28 #define RANGE_FIXEDPOINT_TO_FLOAT(range, x) { \
29 x = (float)(range.mantissa); \
30 x += ((float)range.fraction/PRECISION); \
/hardware/interfaces/ir/1.0/vts/functional/
H A DVtsHalIrV1_0TargetTest.cpp62 // Test transmit() for the min and max frequency of every available range
79 for (auto range = ranges.begin(); range != ranges.end(); range++) {
80 EXPECT_TRUE(ir->transmit(range->min, vec));
81 EXPECT_TRUE(ir->transmit(range->max, vec));
/hardware/interfaces/broadcastradio/2.0/default/
H A DTunerSession.cpp188 auto range = getAmFmRangeLocked(); local
189 if (!range) {
195 stepTo += range->spacing;
197 stepTo -= range->spacing;
199 if (stepTo > range->upperBound) stepTo = range->lowerBound;
200 if (stepTo < range->lowerBound) stepTo = range->upperBound;
313 for (auto&& range : module().getAmFmConfig().ranges) {
314 if (range
[all...]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
H A DHidReport.cpp129 auto range = h.getLogicalRange(); local
130 os << "logMin: " << range.first << ", "
131 << "logMax: " << range.second << ", ";
133 if (range == h.getPhysicalRange()) {
136 range = h.getPhysicalRange();
137 os << "phyMin: " << range.first << ", "
138 << "phyMax: " << range.second << ", ";
178 // physical range undefined, use logical range
/hardware/intel/common/libva/va/
H A Dva_dec_vp8.h53 /* partition 0 "range" */
54 unsigned char range; member in struct:_VABoolCoderContextVPX
59 * it is the number of remaining bits in 'value' for decoding, range [0, 7].
232 * all Q indexs should be clipped to be range [0, 127]
H A Dva_vpp.h381 * Valid range is 0.0 to 1.0 inclusive.
388 * Valid range is 0.0 to 1.0 inclusive.
396 * Valid range is 0.0 to 1.0 inclusive.
715 * range flag and so on.
718 * The range_flag bit is used to indicate that the range flag of color-space conversion.
719 * -\ref VA_SOURCE_RANGE_FULL(Full range): Y/Cb/Cr is in [0, 255].It is
722 * -\ref VA_SOURCE_RANGE_FULL(Reduced range): Y is in [16, 235] and Cb/Cr
925 * \brief Default filter cap specification (single range value).
932 VAProcFilterValueRange range; member in struct:_VAProcFilterCap
946 VAProcFilterValueRange range; member in struct:_VAProcFilterCapColorBalance
954 VAProcFilterValueRange range; member in struct:_VAProcFilterCapTotalColorCorrection
[all...]
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
H A DVehiclePropertyStore.cpp74 auto range = findRangeLocked(propId); local
75 mPropertyValues.erase(range.first, range.second);
91 auto range = findRangeLocked(propId); local
92 for (auto it = range.first; it != range.second; ++it) {
/hardware/interfaces/broadcastradio/2.0/vts/functional/
H A DVtsHalBroadcastradioV2_0TargetTest.cpp288 static void validateRange(const AmFmBandRange& range) { argument
289 EXPECT_TRUE(isValidAmFmFreq(range.lowerBound));
290 EXPECT_TRUE(isValidAmFmFreq(range.upperBound));
291 EXPECT_LT(range.lowerBound, range.upperBound);
292 EXPECT_GT(range.spacing, 0u);
293 EXPECT_EQ(0u, (range.upperBound - range.lowerBound) % range.spacing);
297 for (auto&& range
[all...]
/hardware/intel/img/psb_video/src/
H A Dvsp_VPP.c976 denoise_cap->range.min_value = MIN_VPP_PARAM;
977 denoise_cap->range.max_value = MAX_VPP_PARAM;
978 denoise_cap->range.default_value = MIN_VPP_PARAM;
979 denoise_cap->range.step = STEP_VPP_PARAM;
984 deblock_cap->range.min_value = MIN_VPP_PARAM;
985 deblock_cap->range.max_value = MAX_VPP_PARAM;
986 deblock_cap->range.default_value = MIN_VPP_PARAM;
987 deblock_cap->range.step = STEP_VPP_PARAM;
993 sharpen_cap->range.min_value = MIN_VPP_PARAM;
994 sharpen_cap->range
[all...]
H A Dtng_yuv_processor.c485 no_cap->range.min_value = 0;
486 no_cap->range.max_value = 0;
487 no_cap->range.default_value = 0;
488 no_cap->range.step = 0;
/hardware/google/av/codec2/tests/
H A DC2SampleComponent_test.cpp271 cout << ".range(" << get(sv.range.min, t);
272 if (get(sv.range.step, t) != std::is_integral<T>::value) {
273 cout << ":" << get(sv.range.step, t);
275 if (get(sv.range.num, t) != 1 || get(sv.range.denom, t) != 1) {
276 cout << ":" << get(sv.range.num, t) << "/" << get(sv.range.denom, t);
278 cout << get(sv.range.max, t) << ")";
H A DC2ComponentInterface_test.cpp370 const auto &range = c2FSV.range; local
371 auto rmin = prim2Value(range.min);
372 auto rmax = prim2Value(range.max);
373 auto rstep = prim2Value(range.step);
405 auto num = prim2Value(range.num);
406 auto denom = prim2Value(range.denom);
408 // If both range.num and range.denom are 1 and step is 0, we should use
/hardware/intel/common/libva/test/videoprocess/
H A Dvideoprocess.cpp172 adjust_to_range(VAProcFilterValueRange *range, float value) argument
174 if (value < range->min_value || value > range->max_value){
175 printf("Value: %f exceed range: (%f ~ %f), force to use default: %f \n",
176 value, range->min_value, range->max_value, range->default_value);
177 return range->default_value;
227 /* fill Y plane, the luma values of some pixels is in the range of min_luma~max_luma,
229 * exceeding the range wil
[all...]
/hardware/qcom/display/msm8909/include/
H A Dcolor_metadata.h143 ColorRange range; member in struct:ColorMetaData
/hardware/qcom/display/msm8909w_3100/include/
H A Dcolor_metadata.h143 ColorRange range; member in struct:ColorMetaData
/hardware/qcom/display/msm8998/include/
H A Dcolor_metadata.h143 ColorRange range; member in struct:ColorMetaData
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
H A Dhwc_layers.cpp43 color_metadata->range = Range_Full;
133 auto range = dataspace & HAL_DATASPACE_RANGE_MASK; local
134 switch (range) {
142 DLOGV_IF(kTagStrategy, "Unsupported Range Request = %d", range);
168 GetRange(dataspace, &(color_metadata->range));
407 // Conversion of float alpha in range 0.0 to 1.0 similar to the HWC Adapter
749 layer_buffer->color_metadata.range = csc.range;
/hardware/intel/common/utils/ISV/base/
H A Disv_worker.cpp416 deblock.value = deblockCaps.range.min_value + DENOISE_DEBLOCK_STRENGTH * deblockCaps.range.step;
445 denoise.value = denoiseCaps.range.min_value + DENOISE_DEBLOCK_STRENGTH * denoiseCaps.range.step;
502 sharpen.value = sharpenCaps.range.default_value;
528 color[i].value = colorCaps[i].range.min_value + COLOR_STRENGTH * colorCaps[i].range.step;
534 color[i].value = colorCaps[i].range.min_value + COLOR_STRENGTH * colorCaps[i].range.step;
631 stde.value = stdeCaps.range
[all...]
/hardware/interfaces/media/omx/1.0/
H A Dtypes.hal221 FULL, // Full range
222 LIMITED, // Limited range (if defined), or not full range
273 Range range;
/hardware/google/av/media/codecs/hevc/
H A DC2SoftHevcDec.cpp114 C2F(mDefaultColorAspects, range).inRange(
132 C2F(mCodedColorAspects, range).inRange(
150 C2F(mColorAspects, range).inRange(
226 me.set().range = coded.v.range == RANGE_UNSPECIFIED ? def.v.range : coded.v.range;
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
H A Dhwc_layers.cpp43 color_metadata->range = Range_Full;
130 auto range = dataspace & HAL_DATASPACE_RANGE_MASK; local
131 switch (range) {
139 DLOGV_IF(kTagClient, "Unsupported Range Request = %d", range);
165 GetRange(dataspace, &(color_metadata->range));
402 // Conversion of float alpha in range 0.0 to 1.0 similar to the HWC Adapter
757 layer_buffer->color_metadata.range = csc.range;
/hardware/google/av/codec2/vndk/
H A DC2Buffer.cpp115 * This is basically just a placeholder for the underlying 1D allocation and the range of the
160 * range is the mapped range of the underlying allocation (which is part of the allotted
161 * range).
206 C2Block1D::C2Block1D(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &range) argument
207 // always clamp subrange to parent (impl) range for safety
208 : _C2LinearRangeAspect(impl.get(), range.offset(), range.size()), mImpl(impl) {
214 * range of Impl is the mapped range o
270 C2ConstLinearBlock(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &range, C2Fence fence) argument
300 C2LinearBlock(std::shared_ptr<Impl> impl, const _C2LinearRangeAspect &range) argument
[all...]
/hardware/google/av/codec2/hidl/1.0/utils/
H A DConfigurable.cpp113 C2LinearRange request = C2LinearCapacity(mSupportedParams.size()).range(
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
H A Dhwc_layers.cpp43 color_metadata->range = Range_Full;
302 // Conversion of float alpha in range 0.0 to 1.0 similar to the HWC Adapter
708 // Handle range
709 auto range = dataspace_ & HAL_DATASPACE_RANGE_MASK; local
710 switch (range) {
723 layer_buffer->color_metadata.range = sdm_range;
/hardware/google/interfaces/media/c2/1.0/
H A 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

Completed in 517 milliseconds

1234