Home
last modified time | relevance | path

Searched refs:min_val (Results 1 – 25 of 29) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dbbox.c26 int min_val) \
38 if ((data[y * linesize + start_x] > min_val)) \
47 if ((data[y * linesize + end_x] > min_val)) \
55 if (line[x] > min_val) \
65 if (line[x] > min_val) \
84 int min_val, int depth) in ff_calculate_bounding_box() argument
87 return bbox_8(bbox, data, linesize, w, h, min_val); in ff_calculate_bounding_box()
89 return bbox_16(bbox, (const uint16_t *)data, linesize / 2, w, h, min_val); in ff_calculate_bounding_box()
Dvf_selectivecolor.c68 typedef int (*get_range_scale_func)(int r, int g, int b, int min_val, int max_val);
117 static int get_rgb_scale(int r, int g, int b, int min_val, int max_val) in get_rgb_scale() argument
122 static int get_cmy_scale(int r, int g, int b, int min_val, int max_val) in get_cmy_scale() argument
124 return mid_pred(r, g, b) - min_val; in get_cmy_scale()
128 static int get_neutrals_scale##nbits(int r, int g, int b, int min_val, int max_val) \
132 + abs((min_val<<1) - ((1<<nbits)-1))) + 1) >> 1; \
135 static int get_whites_scale##nbits(int r, int g, int b, int min_val, int max_val) \
138 return (min_val<<1) - ((1<<nbits)-1); \
141 static int get_blacks_scale##nbits(int r, int g, int b, int min_val, int max_val) \
Dvf_bbox.c35 int min_val; member
43 …{ "min_val", "set minimum luminance value for bounding box", OFFSET(min_val), AV_OPT_TYPE_INT, { .…
86 inlink->w, inlink->h, bbox->min_val, bbox->depth); in filter_frame()
Dbbox.h42 int w, int h, int min_val, int depth);
Dvf_removelogo.c134 int w, int h, int min_val, in convert_mask_to_strength_mask() argument
146 data[y*linesize + x] = data[y*linesize + x] > min_val; in convert_mask_to_strength_mask()
/third_party/mesa3d/src/util/tests/
Drb_tree_test.cpp118 int min_val = INT_MAX; in validate_tree_order() local
122 assert(n->key <= min_val); in validate_tree_order()
123 if (n->key < min_val) { in validate_tree_order()
124 min_val = n->key; in validate_tree_order()
139 min_val = INT_MAX; in validate_tree_order()
143 assert(n->key <= min_val); in validate_tree_order()
144 if (n->key < min_val) { in validate_tree_order()
145 min_val = n->key; in validate_tree_order()
/third_party/skia/third_party/externals/brotli/research/
Ddraw_diff.cc69 int min_val = std::min(255 - image1[i][j], 255 - image2[i][j]); in DrawDiff() local
70 int max_val = std::max(min_val, abs(diff[i][j])); in DrawDiff()
74 row[3 * j + 2] = abs_max - max_val + min_val; in DrawDiff()
78 row[3 * j + 2] = abs_max - max_val + min_val; in DrawDiff()
/third_party/musl/libc-test/src/functional/
Dtest-iterate.c73 uintptr_t min_val = UINTPTR_MAX, max_val = 0; in fill_allocations_info() local
82 if (allocs[i] < min_val) { in fill_allocations_info()
83 min_val = allocs[i]; in fill_allocations_info()
/third_party/ffmpeg/libavcodec/
Dcodec2utils.h36 #define CODEC2_AVOPTIONS(desc, classname, min_val, default_val, option_flags) \ argument
37 …{ "mode", desc, offsetof(classname, mode), AV_OPT_TYPE_INT, {.i64 = default_val}, min_val, CODEC2_…
Datrac3plus.c243 int i, weight_idx = 0, delta, diff, pos, delta_bits, min_val, flag, in decode_channel_wordlen() local
283 min_val = get_bits(gb, 3); in decode_channel_wordlen()
289 chan->qu_wordlen[i] = (min_val + get_bitsz(gb, delta_bits)) & 7; in decode_channel_wordlen()
391 delta_bits, min_val, vlc_sel, start_val; in decode_channel_sf_idx() local
416 min_val = get_bits(gb, 4) - 7; in decode_channel_sf_idx()
424 chan->qu_sf_idx[i] = (chan->qu_sf_idx[i] + min_val + in decode_channel_sf_idx()
429 min_val = get_bits(gb, 6); in decode_channel_sf_idx()
442 chan->qu_sf_idx[i] = (min_val + in decode_channel_sf_idx()
873 int i, delta, delta_bits, min_val; in decode_gainc_npoints() local
916 min_val = get_bits(gb, 3); in decode_gainc_npoints()
[all …]
Dspeexdec.c655 static void sanitize_values(float *vec, float min_val, float max_val, int len) in sanitize_values() argument
661 vec[i] = av_clipf(vec[i], min_val, max_val); in sanitize_values()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Duniform_real_distribution_test.cc267 const double min_val = param.a(); in TYPED_TEST() local
269 const double factor = kBuckets / (max_val - min_val); in TYPED_TEST()
275 auto bucket = static_cast<size_t>((x - min_val) * factor); in TYPED_TEST()
/third_party/openssl/crypto/cmp/
Dcmp_ctx.c1016 int min_val; in OSSL_CMP_CTX_set_option() local
1025 min_val = OCSP_REVOKED_STATUS_NOSTATUS; in OSSL_CMP_CTX_set_option()
1028 min_val = OSSL_CRMF_POPO_NONE; in OSSL_CMP_CTX_set_option()
1031 min_val = 0; in OSSL_CMP_CTX_set_option()
1034 if (val < min_val) { in OSSL_CMP_CTX_set_option()
/third_party/node/deps/openssl/openssl/crypto/cmp/
Dcmp_ctx.c1016 int min_val; in OSSL_CMP_CTX_set_option() local
1025 min_val = OCSP_REVOKED_STATUS_NOSTATUS; in OSSL_CMP_CTX_set_option()
1028 min_val = OSSL_CRMF_POPO_NONE; in OSSL_CMP_CTX_set_option()
1031 min_val = 0; in OSSL_CMP_CTX_set_option()
1034 if (val < min_val) { in OSSL_CMP_CTX_set_option()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dconst_folding_rules.cpp904 IntType FoldIClamp(IntType x, IntType min_val, IntType max_val) { in FoldIClamp() argument
905 if (x < min_val) { in FoldIClamp()
906 x = min_val; in FoldIClamp()
1031 const analysis::Constant* min_val = constants[2]; in FoldClamp2() local
1033 if (x == nullptr || min_val == nullptr) { in FoldClamp2()
1038 FoldFPBinaryOp(FoldMax, inst->type_id(), {x, min_val}, context); in FoldClamp2()
1039 if (temp == min_val) { in FoldClamp2()
1043 return min_val; in FoldClamp2()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp1000 IntType FoldIClamp(IntType x, IntType min_val, IntType max_val) { in FoldIClamp() argument
1001 if (x < min_val) { in FoldIClamp()
1002 x = min_val; in FoldIClamp()
1127 const analysis::Constant* min_val = constants[2]; in FoldClamp2() local
1129 if (x == nullptr || min_val == nullptr) { in FoldClamp2()
1134 FoldFPBinaryOp(FoldMax, inst->type_id(), {x, min_val}, context); in FoldClamp2()
1135 if (temp == min_val) { in FoldClamp2()
1139 return min_val; in FoldClamp2()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwmm_ac.c315 long min_val, long max_val) in param_in_range() argument
317 if (value < min_val || (max_val >= 0 && value > max_val)) { in param_in_range()
320 name, value, min_val, max_val); in param_in_range()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwmm_ac.c315 long min_val, long max_val) in param_in_range() argument
317 if (value < min_val || (max_val >= 0 && value > max_val)) { in param_in_range()
320 name, value, min_val, max_val); in param_in_range()
/third_party/mindspore/patches/
D0021-add-mindir-ops.patch279 …GenOP_CreatePrimitive(ActivationType activation_type, float alpha, float min_val, float max_val, b…
285 +void MindIR_GenOP_SetMinVal(PrimitivePtr *primitive, float min_val);
3011 …GenOP_CreatePrimitive(ActivationType activation_type, float alpha, float min_val, float max_val, b…
3013 …eGenOP(fbb, static_cast<schema::ActivationType>(activation_type), alpha, min_val, max_val, is_trai…
3043 …ic_cast<schema::ActivationType>(activation_type), value->alpha(), value->min_val(), value->max_val…
3074 …ic_cast<schema::ActivationType>(value->activation_type()), alpha, value->min_val(), value->max_val…
3090 + return value->min_val();
3099 +void MindIR_GenOP_SetMinVal(PrimitivePtr *primitive, float min_val) {
3105 …_cast<schema::ActivationType>(value->activation_type()), value->alpha(), min_val, value->max_val()…
3136 …chema::ActivationType>(value->activation_type()), value->alpha(), value->min_val(), max_val, value…
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_builder.h825 nir_ssa_def *x, nir_ssa_def *min_val, nir_ssa_def *max_val) in nir_fclamp() argument
827 return nir_fmin(b, nir_fmax(b, x, min_val), max_val); in nir_fclamp()
832 nir_ssa_def *x, nir_ssa_def *min_val, nir_ssa_def *max_val) in nir_iclamp() argument
834 return nir_imin(b, nir_imax(b, x, min_val), max_val); in nir_iclamp()
839 nir_ssa_def *x, nir_ssa_def *min_val, nir_ssa_def *max_val) in nir_uclamp() argument
841 return nir_umin(b, nir_umax(b, x, min_val), max_val); in nir_uclamp()
/third_party/spirv-tools/source/opt/
Dconst_folding_rules.cpp1303 const analysis::Constant* min_val = constants[2]; in FoldClamp2() local
1305 if (x == nullptr || min_val == nullptr) { in FoldClamp2()
1310 FoldFPBinaryOp(FoldMax, inst->type_id(), {x, min_val}, context); in FoldClamp2()
1311 if (temp == min_val) { in FoldClamp2()
1315 return min_val; in FoldClamp2()
/third_party/node/deps/v8/src/execution/ppc/
Dsimulator-ppc.cc1452 void VectorConverFromFPSaturate(Simulator* sim, Instruction* instr, T min_val, in VectorConverFromFPSaturate() argument
1460 t_val = min_val; in VectorConverFromFPSaturate()
1464 if (b_val < min_val) { in VectorConverFromFPSaturate()
1465 t_val = min_val; in VectorConverFromFPSaturate()
1477 void VectorPackSaturate(Simulator* sim, Instruction* instr, S min_val, in VectorPackSaturate() argument
1493 } else if (value < min_val) { in VectorPackSaturate()
1494 value = min_val; in VectorPackSaturate()
4968 #define VECTOR_ADD_SUB_SATURATE(intermediate_type, result_type, op, min_val, \ in ExecuteGeneric() argument
4979 else if (t_val < min_val) \ in ExecuteGeneric()
4980 t_val = min_val; \ in ExecuteGeneric()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c564 long long min_val; in get_signed_divisor() local
567 min_val = INT8_MIN; in get_signed_divisor()
570 min_val = INT16_MIN; in get_signed_divisor()
574 min_val = INT_MIN; in get_signed_divisor()
577 min_val = INT64_MIN; in get_signed_divisor()
581 lp_build_const_int_vec(gallivm, int_bld->type, min_val)); in get_signed_divisor()
Dlp_bld_arit.c468 LLVMValueRef min_val = lp_build_const_int_vec(bld->gallivm, type, sign); in lp_build_add() local
475 lp_build_max_simple(bld, a, LLVMBuildSub(builder, min_val, b, ""), in lp_build_add()
795 LLVMValueRef min_val = in lp_build_sub() local
803 lp_build_max_simple(bld, a, LLVMBuildAdd(builder, min_val, b, ""), in lp_build_sub()
/third_party/node/deps/simdutf/
Dsimdutf.cpp400 simdutf_really_inline uint8_t min_val() const { return vminvq_u8(*this); } in min_val() function
402 …simdutf_really_inline simd8<uint8_t> min_val(const simd8<uint8_t> other) const { return vminq_u8(*… in min_val() function
581 simdutf_really_inline int8_t min_val() const { return vminvq_s8(value); } in min_val() function
582 simdutf_really_inline bool is_ascii() const { return this->min_val() >= 0; } in is_ascii()
586 …simdutf_really_inline simd8<int8_t> min_val(const simd8<int8_t> other) const { return vminq_s8(val… in min_val() function
876 …simdutf_really_inline int16_t min_val() const { return vminvq_s16(vreinterpretq_s16_u16(this->valu… in min_val() function
879 …simdutf_really_inline simd16<int16_t> min_val(const simd16<int16_t> other) const { return vmaxq_s1… in min_val() function
901 simdutf_really_inline int16_t min_val() const { return vminvq_u16(*this); } in min_val() function
908 …simdutf_really_inline simd16<uint16_t> min_val(const simd16<uint16_t> other) const { return vminq_… in min_val() function
1852 …simdutf_really_inline simd8<int8_t> min_val(const simd8<int8_t> other) const { return _mm256_min_e… in min_val() function
[all …]

12