Searched defs:min (Results 26 - 50 of 108) sorted by relevance

12345

/hardware/qcom/display/msm8084/libcopybit/
H A Dcopybit.cpp96 /** min of int a, b */
97 static inline int min(int a, int b) { function
120 out->r = min(lhs->r, rhs->r);
121 out->b = min(lhs->b, rhs->b);
/hardware/qcom/display/msm8084/libgralloc/
H A Dframebuffer.cpp46 /** min of int a, b */
47 static inline int min(int a, int b) { function
/hardware/qcom/display/msm8226/libcopybit/
H A Dcopybit.cpp96 /** min of int a, b */
97 static inline int min(int a, int b) { function
120 out->r = min(lhs->r, rhs->r);
121 out->b = min(lhs->b, rhs->b);
/hardware/qcom/display/msm8226/libgralloc/
H A Dframebuffer.cpp46 /** min of int a, b */
47 static inline int min(int a, int b) { function
/hardware/qcom/display/msm8909/libcopybit/
H A Dcopybit.cpp98 /** min of int a, b */
99 static inline int min(int a, int b) { function
122 out->r = min(lhs->r, rhs->r);
123 out->b = min(lhs->b, rhs->b);
/hardware/qcom/display/msm8909w_3100/libcopybit/
H A Dcopybit.cpp98 /** min of int a, b */
99 static inline int min(int a, int b) { function
122 out->r = min(lhs->r, rhs->r);
123 out->b = min(lhs->b, rhs->b);
/hardware/qcom/display/msm8960/libcopybit/
H A Dcopybit.cpp94 /** min of int a, b */
95 static inline int min(int a, int b) { function
118 out->r = min(lhs->r, rhs->r);
119 out->b = min(lhs->b, rhs->b);
/hardware/qcom/display/msm8960/libgralloc/
H A Dframebuffer.cpp46 /** min of int a, b */
47 static inline int min(int a, int b) { function
/hardware/qcom/display/msm8994/libcopybit/
H A Dcopybit.cpp97 /** min of int a, b */
98 static inline int min(int a, int b) { function
121 out->r = min(lhs->r, rhs->r);
122 out->b = min(lhs->b, rhs->b);
/hardware/qcom/display/msm8994/libgralloc/
H A Dframebuffer.cpp46 /** min of int a, b */
47 static inline int min(int a, int b) { function
/hardware/qcom/display/msm8996/libcopybit/
H A Dcopybit.cpp98 /** min of int a, b */
99 static inline int min(int a, int b) { function
122 out->r = min(lhs->r, rhs->r);
123 out->b = min(lhs->b, rhs->b);
/hardware/qcom/display/msm8998/libcopybit/
H A Dcopybit.cpp96 /** min of int a, b */
97 static inline int min(int a, int b) { function
120 out->r = min(lhs->r, rhs->r);
121 out->b = min(lhs->b, rhs->b);
/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/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());
/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/libhardware/modules/camera/3_4/
H A Dv4l2_wrapper.cpp468 int64_t min = std::numeric_limits<int64_t>::max(); local
469 int64_t max = std::numeric_limits<int64_t>::min();
473 min = std::min(min, FractToNs(duration_query.discrete));
484 // Continuous/Step-wise: simply convert the given min and max.
485 min = FractToNs(duration_query.stepwise.min);
488 (*duration_range)[0] = min;
/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsa_mixer.c50 #define check_range(val, min, max) \
51 (((val < min) ? (min) : (val > max) ? (max) : (val)))
56 #define percent_to_index(val, min, max) \
57 ((val) * ((max) - (min)) * 0.01 + (min) + .5)
260 ei->value.integer.min,
267 ei->value.integer64.min,
313 long *min, long *max, unsigned int *tlv_type)
355 ALOGV(" min
311 mixer_ctl_read_tlv(struct mixer_ctl *ctl, unsigned int *tlv, long *min, long *max, unsigned int *tlv_type) argument
401 long min, max; local
526 long min, max; local
697 long min, max; local
[all...]
/hardware/qcom/neuralnetworks/hvxservice/1.0/
H A DHexagonOperationsPrepare.cpp405 const hexagon_nn_input min = model->createScalar(-1.0f); local
409 return model->addBasicOperation(OP_Clamp_f, NN_PAD_NA, {input, min, max}, outs);
848 const hexagon_nn_input min = model->createScalar(-1.0f); local
856 {input, input_min, input_max, min, max}, outs);
/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dcommon.h183 #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/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/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/sensors/dynamic_sensor/
H A DHidRawSensor.cpp167 LOG_E << "Custome usage " << digest.usage << ", min must < max" << LOG_ENDL;
192 resolution = std::min(digest.a, resolution);
239 double min, max; local
240 quat.decode(quat.mask(quat.minRaw), &min);
242 if (quat.count != 4 || min > -1 || max < 1) {
248 LOG_E << "Quaternion usage min must <= max" << LOG_ENDL;
318 LOG_E << "All 3 axis should have same min and max value and min must < max" << LOG_ENDL;
832 mFeatureInfo.maxDelay = std::min(static_cast<int64_t>(1000000),
917 periodMs = std::min(periodM
[all...]
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_utils.h265 template<typename T> inline T min(T a, T b) { return (a < b) ? a : b; } function in namespace:qhwc

Completed in 806 milliseconds

12345