/third_party/ffmpeg/libavfilter/ |
H A D | bbox.c | 26 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() 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() 81 ff_calculate_bounding_box(FFBoundingBox *bbox, const uint8_t *data, int linesize, int w, int h, int min_val, int depth) ff_calculate_bounding_box() argument
|
H A D | vf_selectivecolor.c | 68 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) \
|
H A D | vf_bbox.c | 35 int min_val; member 43 { "min_val", "set minimum luminance value for bounding box", OFFSET(min_val), AV_OPT_TYPE_INT, { .i64 = 16 }, 0, UINT16_MAX, FLAGS }, 86 inlink->w, inlink->h, bbox->min_val, bbox->depth); in filter_frame()
|
H A D | bbox.h | 32 * region with values > min_val. 35 * If no pixels could be found with value > min_val, the 37 * @return 1 in case at least one pixel with value > min_val was found, 42 int w, int h, int min_val, int depth);
|
H A D | vf_removelogo.c | 134 int w, int h, int min_val, in convert_mask_to_strength_mask() 146 data[y*linesize + x] = data[y*linesize + x] > min_val; in convert_mask_to_strength_mask() 133 convert_mask_to_strength_mask(uint8_t *data, int linesize, int w, int h, int min_val, int *max_mask_size) convert_mask_to_strength_mask() argument
|
/third_party/mesa3d/src/util/tests/ |
H A D | rb_tree_test.cpp | 118 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/ |
H A D | draw_diff.cc | 69 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/ffmpeg/libavcodec/ |
H A D | codec2utils.h | 36 #define CODEC2_AVOPTIONS(desc, classname, min_val, default_val, option_flags) \ 37 { "mode", desc, offsetof(classname, mode), AV_OPT_TYPE_INT, {.i64 = default_val}, min_val, CODEC2_MODE_MAX, .flags=option_flags, .unit="codec2_mode"},\
|
H A D | atrac3plus.c | 243 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() 422 /* all others are: min_val + delta */ 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() 440 /* all others are: min_val + delta */ 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; decode_gainc_npoints() local 979 int sb, i, delta, delta_bits, min_val, pred; decode_gainc_levels() local 1117 int sb, i, delta, delta_bits, min_val, pred, more_than_ref; decode_gainc_loc_codes() local [all...] |
H A D | speexdec.c | 655 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/musl/libc-test/src/functional/ |
H A D | test-iterate.c | 73 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/skia/third_party/externals/abseil-cpp/absl/random/ |
H A D | uniform_real_distribution_test.cc | 267 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/node/deps/openssl/openssl/crypto/cmp/ |
H A D | cmp_ctx.c | 1016 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/openssl/crypto/cmp/ |
H A D | cmp_ctx.c | 1016 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/ |
H A D | const_folding_rules.cpp | 904 IntType FoldIClamp(IntType x, IntType min_val, IntType max_val) { 905 if (x < min_val) { 906 x = min_val; 1020 // Fold a clamp instruction when |x <= min_val|. 1031 const analysis::Constant* min_val = constants[2]; 1033 if (x == nullptr || min_val == nullptr) { 1038 FoldFPBinaryOp(FoldMax, inst->type_id(), {x, min_val}, context); 1039 if (temp == min_val) { 1040 // We can assume that |min_val| is less than |max_val|. Therefore, if the 1041 // result of the max operation is |min_val|, w [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | const_folding_rules.cpp | 1000 IntType FoldIClamp(IntType x, IntType min_val, IntType max_val) { 1001 if (x < min_val) { 1002 x = min_val; 1116 // Fold a clamp instruction when |x <= min_val|. 1127 const analysis::Constant* min_val = constants[2]; 1129 if (x == nullptr || min_val == nullptr) { 1134 FoldFPBinaryOp(FoldMax, inst->type_id(), {x, min_val}, context); 1135 if (temp == min_val) { 1136 // We can assume that |min_val| is less than |max_val|. Therefore, if the 1137 // result of the max operation is |min_val|, w [all...] |
/third_party/backends/backend/ |
H A D | epson2-commands.c | 154 double min_val = 1.0; in get_rounddown_index() local 161 if (min_val > frac[i]) { in get_rounddown_index() 163 min_val = frac[i]; in get_rounddown_index()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | wmm_ac.c | 315 long min_val, long max_val) in param_in_range() 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() 314 param_in_range(const char *name, long value, long min_val, long max_val) param_in_range() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | wmm_ac.c | 315 long min_val, long max_val) in param_in_range() 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() 314 param_in_range(const char *name, long value, long min_val, long max_val) param_in_range() argument
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_builder.h | 825 nir_ssa_def *x, nir_ssa_def *min_val, nir_ssa_def *max_val) in nir_fclamp() 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() 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() 841 return nir_umin(b, nir_umax(b, x, min_val), max_val); in nir_uclamp() 824 nir_fclamp(nir_builder *b, nir_ssa_def *x, nir_ssa_def *min_val, nir_ssa_def *max_val) nir_fclamp() argument 831 nir_iclamp(nir_builder *b, nir_ssa_def *x, nir_ssa_def *min_val, nir_ssa_def *max_val) nir_iclamp() argument 838 nir_uclamp(nir_builder *b, nir_ssa_def *x, nir_ssa_def *min_val, nir_ssa_def *max_val) nir_uclamp() argument
|
/third_party/spirv-tools/source/opt/ |
H A D | const_folding_rules.cpp | 1480 // Fold a clamp instruction when |x <= min_val|. 1491 const analysis::Constant* min_val = constants[2]; 1493 if (x == nullptr || min_val == nullptr) { 1498 FoldFPBinaryOp(FoldMax, inst->type_id(), {x, min_val}, context); 1499 if (temp == min_val) { 1500 // We can assume that |min_val| is less than |max_val|. Therefore, if the 1501 // result of the max operation is |min_val|, we know the result of the min 1503 return min_val; 1528 // We can assume that |min_val| is less than |max_val|. Therefore, if the 1529 // result of the max operation is |min_val|, w [all...] |
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_nir.c | 564 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()
|
H A D | lp_bld_arit.c | 468 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/v8/src/execution/ppc/ |
H A D | simulator-ppc.cc | 1452 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() 4979 else if (t_val < min_val) \ in ExecuteGeneric() 4980 t_val = min_val; \ in ExecuteGeneric() [all...] |
/third_party/node/deps/simdutf/ |
H A D | simdutf.cpp | 400 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(*this, other); } 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(value, other.value); } in min_val() function 876 simdutf_really_inline int16_t min_val() const { return vminvq_s16(vreinterpretq_s16_u16(this->value)); } in min_val() function 879 simdutf_really_inline simd16<int16_t> min_val(const simd16<int16_t> other) const { return vmaxq_s16(vreinterpretq_s16_u16(this->value), vreinterpretq_s16_u16(other.value)); } 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_u16(*this, other); } in min_val() function 1852 simdutf_really_inline simd8<int8_t> min_val(cons in max_val() function 1898 simdutf_really_inline simd8<uint8_t> min_val(const simd8<uint8_t> other) const { return _mm256_min_epu8(other, *this); } min_val() function 2142 simdutf_really_inline simd16<int16_t> min_val(const simd16<int16_t> other) const { return _mm256_min_epi16(*this, other); } min_val() function 2165 simdutf_really_inline simd16<uint16_t> min_val(const simd16<uint16_t> other) const { return _mm256_min_epu16(*this, other); } min_val() function 2749 simdutf_really_inline simd8<int8_t> min_val(const simd8<int8_t> other) const { return _mm_min_epi8(*this, other); } min_val() function 2789 simdutf_really_inline simd8<uint8_t> min_val(const simd8<uint8_t> other) const { return _mm_min_epu8(*this, other); } min_val() function 2848 simdutf_really_inline simd8<uint16_t> min_val(const simd8<uint16_t> other) const { return _mm_min_epu16(*this, other); } min_val() function 3097 simdutf_really_inline simd16<int16_t> min_val(const simd16<int16_t> other) const { return _mm_min_epi16(*this, other); } min_val() function 3130 simdutf_really_inline simd16<uint16_t> min_val(const simd16<uint16_t> other) const { return _mm_min_epu16(*this, other); } min_val() function 3683 min_val(const simd8<int8_t> other) const { min_val() function 3741 min_val(const simd8<uint8_t> other) const { min_val() function [all...] |