Searched defs:min (Results 1 - 25 of 108) sorted by path

12345

/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/
H A DAKFS_AOC.c122 AKFVEC* mean, /*!< (o) : (max+min)/2 */
128 AKFVEC min; local
131 min.v[j] = v[0].v[j];
134 if(v[i].v[j] < min.v[j]){
135 min.v[j] = v[i].v[j];
141 mean->v[j] = (max.v[j] + min.v[j]) / 2.0; /*mean */
142 var->v[j] = max.v[j] - min.v[j]; /*var */
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
H A D802.11.h74 #define DOT11_MIN_FRAG_LEN 256 /* d11 min fragmentation length */
81 #define DOT11_MIN_BEACON_PERIOD 1 /* d11 min beacon period */
85 #define DOT11_MIN_DTIM_PERIOD 1 /* d11 min DTIM period */
319 uint8 min; member in struct:dot11_power_cap
2899 #define HT_MIN_AMSDU 3835 /* min amsdu size (bytes) per the HT spec */
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
H A Dcommon.h262 #define min(x, y) ((x) < (y) ? (x) : (y)) macro
/hardware/google/av/codec2/vndk/include/util/
H A DC2InterfaceUtils.h62 constexpr static T MIN_VALUE = std::numeric_limits<T>::min();
158 * \param min the lower value
159 * \param max the higher value (if this is lower than |min| the range will be empty)
164 C2SupportedRange<T> InRange(T min, T max, T step = MIN_STEP) { argument
165 return C2SupportedRange(min, max, step);
171 * \param min the lower bound of the range. This value is always part of the constructed range
179 C2SupportedRange<T> InSeries(T min, T max, T num, T denom) { argument
180 return C2SupportedRange(min, max, 0, num, denom);
186 * \param min the lower bound of the range. This value is always part of the constructed range
195 C2SupportedRange<T> InMacSeries(T min, argument
249 inline C2_HIDE constexpr T min() const { return _mMin; } function in class:C2SupportedRange
312 C2SupportedRange(T min, T max, T step = T(std::is_floating_point<T>::value ? 0 : 1)) argument
327 C2SupportedRange(T min, T max, T step, T num, T den) argument
447 C2SupportedFlags(T min, const std::vector<T> &flags) argument
459 C2SupportedFlags(T min, const std::initializer_list<T> flags) argument
726 inRange( T min, T max, T step = std::is_floating_point<T>::value ? T(0) : T(1)) argument
735 inSeries(T min, T max, T num, T denom) argument
743 inMacSeries(T min, T max, T step, T num, T denom) argument
[all...]
/hardware/google/av/codec2/vndk/util/
H A DC2InterfaceHelper.cpp647 auto min = dependencies.begin(); local
648 C2Param::Index ix = min->second.first;
649 bool dirty = min->second.second;
650 dependencies.erase(min);
H A DC2InterfaceUtils.cpp73 _mMin = values.range.min.ref<ValueType>();
89 // value must fall between min and max
93 // simple ranges contain all values between min and max
97 // min is always part of the range
101 // stepped ranges require (val - min) % step to be zero
105 // pure geometric series require (val / min) to be integer multiple of (num/denom)
138 return C2SupportedRange(std::max(_mMin, limit._mMin), std::min(_mMax, limit._mMax),
175 float C2SupportedFlags<float>::min() const { function in class:C2SupportedFlags
182 T minMask = min();
214 T minMask = min() | limi
234 T C2SupportedFlags<T>::min() const { function in class:C2SupportedFlags
[all...]
/hardware/intel/common/libmix/mix_video/src/
H A Dmixvideoformatenc_h264.h17 #define min(X,Y) (((X) < (Y)) ? (X) : (Y)) macro
H A Dmixvideoformatenc_mpeg4.h17 #define min(X,Y) (((X) < (Y)) ? (X) : (Y)) macro
H A Dmixvideoformatenc_preview.h17 #define min(X,Y) (((X) < (Y)) ? (X) : (Y)) macro
/hardware/intel/common/libmix/videodecoder/securevideo/clovertrail/
H A DVideoDecoderAVCSecure.cpp61 #ifndef min
62 #define min(X, Y) ((X) <(Y) ? (X) : (Y)) macro
428 naluHeaderLen = min(naluStream->naluLen, MAX_SLICE_HEADER_SIZE);
/hardware/intel/common/libmix/videodecoder/securevideo/merrplus/
H A DVideoDecoderAVCSecure.cpp61 #ifndef min
62 #define min(X, Y) ((X) <(Y) ? (X) : (Y)) macro
431 naluHeaderLen = min(naluStream->naluLen, MAX_SLICE_HEADER_SIZE);
/hardware/intel/common/libmix/videoencoder/
H A DVideoEncoderBase.cpp24 #define min(X,Y) (((X) < (Y)) ? (X) : (Y)) macro
1484 mCodedBufSize = min(mCodedBufSize, (size * 1.5 * 8));
1817 LOG_I("apply I min/max qp for IDR or I frame\n");
1822 LOG_I("revert to original min/max qp after IDR or I frame\n");
/hardware/intel/img/hwcomposer/merrifield/common/devices/
H A DPhysicalDevice.cpp183 static inline T min(T a, T b) { function in namespace:android::intel
205 *numConfigs = min(*numConfigs, mDisplayConfigs.size());
H A DVirtualDevice.cpp2077 static uint32_t min(uint32_t a, uint32_t b) function in namespace:android::intel
2085 setMaxDecodeResolution(min(width, metadata.normalBuffer.width), min(height, metadata.normalBuffer.height));
2087 setMaxDecodeResolution(min(height, metadata.normalBuffer.width), min(width, metadata.normalBuffer.height));
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/devices/
H A DPhysicalDevice.cpp181 static inline T min(T a, T b) { function in namespace:android::intel
203 *numConfigs = min(*numConfigs, mDisplayConfigs.size());
/hardware/intel/img/psb_headers/DRM/cc54/inc/
H A Ddrm_common_api.h51 uint8_t min; member in struct:time_of_day
/hardware/intel/img/psb_video/src/
H A Dpsb_drv_video.h77 #ifndef min
78 #define min(a, b) ((a) < (b)) ? (a) : (b) macro
/hardware/interfaces/automotive/evs/1.0/vts/functional/
H A DFormatConvert.cpp34 static inline float clamp(float v, float min, float max) { argument
35 if (v < min) return min;
/hardware/interfaces/memtrack/1.0/vts/functional/
H A DVtsHalMemtrackV1_0TargetTest.cpp67 /* Returns true if flags contains at least min, and no more than max,
70 bool rightFlagCount(uint32_t flags, vector<MemtrackFlag> flagSet, uint32_t min, argument
75 return (min <= count && count <= max);
/hardware/interfaces/sensors/1.0/vts/functional/
H A DVtsHalSensorsV1_0TargetTest.cpp454 Vec3NormChecker(float min, float max) : mRange(min, max) {} argument
637 useconds_t duration = std::min(SLEEP_GRANULARITY, timeLimitUs);
882 // Test min max are in the right order
884 // Test min/max delay matches reporting mode
1173 ALOGI("min/maxDelayAverageInterval = %" PRId64 " %" PRId64,
1227 batchingPeriodInNs = std::min(batchingPeriodInNs, maxBatchingTestTimeNs);
/hardware/libhardware/include/hardware/
H A Dconsumerir.h30 int min; member in struct:consumerir_freq_range
/hardware/libhardware/modules/audio_remote_submix/
H A Daudio_hw.cpp103 #ifndef min
104 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
105 #endif // min
820 const size_t flush_size = min(frames_to_flush_from_source, flushBufferSizeFrames);
1177 read_frames = min(frames_required_for_resampler, resampler_buffer_size_frames);
/hardware/libhardware/modules/camera/3_4/metadata/
H A Dpartial_metadata_factory.h60 T min,
150 T min,
157 delegate_tag, std::make_unique<NoEffectControlDelegate<T>>(min)),
160 std::make_unique<SliderControlOptions<T>>(min, max, default_values)));
204 HAL_LOGE("No acceptable values (min %d is greater than max %d).",
269 // Convert the min and max.
273 "Failed to convert V4L2 min value %d for control %d to metadata.",
147 NoEffectSliderControl( int32_t delegate_tag, int32_t options_tag, T min, T max, std::map<int, T> default_values) argument
H A Dranged_converter.h35 TV4L2 min,
56 TV4L2 min,
60 min_(min),
54 RangedConverter( std::shared_ptr<ConverterInterface<TMetadata, TV4L2>> wrapped_converter, TV4L2 min, TV4L2 max, TV4L2 step) argument
H A Dslider_control_options.h34 // |min| must be <= |max|.
35 SliderControlOptions(const T& min, argument
38 : min_(min), max_(max), defaults_(defaults){};
39 SliderControlOptions(const T& min, const T& max, std::map<int, T> defaults) argument
40 : min_(min),
53 HAL_LOGE("No valid default slider option, min is greater than max.");
67 // No default given, just fall back to the min of the range.

Completed in 552 milliseconds

12345