/external/pdfium/third_party/lcms/src/ |
D | cmsintrp.c | 224 cmsINLINE cmsFloat32Number fclamp(cmsFloat32Number v) in fclamp() function 240 val2 = fclamp(Value[0]); in LinLerp1Dfloat() 307 val2 = fclamp(Value[0]); in Eval1InputFloat() 356 px = fclamp(Input[0]) * p->Domain[0]; in BilinearInterpFloat() 357 py = fclamp(Input[1]) * p->Domain[1]; in BilinearInterpFloat() 363 X1 = X0 + (fclamp(Input[0]) >= 1.0 ? 0 : p->opta[1]); in BilinearInterpFloat() 366 Y1 = Y0 + (fclamp(Input[1]) >= 1.0 ? 0 : p->opta[0]); in BilinearInterpFloat() 471 px = fclamp(Input[0]) * p->Domain[0]; in TrilinearInterpFloat() 472 py = fclamp(Input[1]) * p->Domain[1]; in TrilinearInterpFloat() 473 pz = fclamp(Input[2]) * p->Domain[2]; in TrilinearInterpFloat() [all …]
|
/external/OpenCL-CTS/test_conformance/conversions/ |
D | basic_test_conversions.cpp | 1173 static inline float fclamp( float lo, float v, float hi ) __attribute__ ((always_inline)); 1176 static inline float fclamp( float lo, float v, float hi ){ v = v < lo ? lo : v; return v < hi ? v :… in fclamp() function 1180 float clampf_uchar( float f ) { return fclamp( -0.5f, f, 255.5f - 128.0f * FLT_EPSILON ); } in clampf_uchar() 1182 float clampf_uchar_rte( float f ) { return fclamp( -0.5f, f, 255.5f - 128.0f * FLT_EPSILON ); } in clampf_uchar_rte() 1184 float clampf_uchar_rtp( float f ) { return fclamp( -1.0f + FLT_EPSILON/2.0f, f, 255.0f ); } in clampf_uchar_rtp() 1186 float clampf_uchar_rtn( float f ) { return fclamp( -0.0f, f, 256.0f - 128.0f * FLT_EPSILON); } in clampf_uchar_rtn() 1188 float clampf_uchar_rtz( float f ) { return fclamp( -1.0f + FLT_EPSILON/2.0f, f, 256.0f - 128.0f *… in clampf_uchar_rtz() 1191 float clampf_char( float f ) { return fclamp( -128.5f, f, 127.5f - 64.f * FLT_EPSILON ); } in clampf_char() 1193 float clampf_char_rte( float f ) { return fclamp( -128.5f, f, 127.5f - 64.f * FLT_EPSILON ); } in clampf_char_rte() 1195 float clampf_char_rtp( float f ) { return fclamp( -129.0f + 128.f*FLT_EPSILON, f, 127.f ); } in clampf_char_rtp() [all …]
|
/external/libvpx/libvpx/vpx_dsp/ |
D | vpx_dsp_common.h | 56 static INLINE double fclamp(double value, double low, double high) { in fclamp() function
|
/external/libaom/libaom/aom_dsp/ |
D | aom_dsp_common.h | 76 static INLINE double fclamp(double value, double low, double high) { in fclamp() function
|
D | noise_model.c | 250 fclamp(value, solver->min_intensity, solver->max_intensity); in noise_strength_solver_get_bin_index() 643 sum_weights = fclamp(sum_weights, -25.0, 100.0); in aom_flat_block_finder_run()
|
/external/deqp-deps/SPIRV-Tools/test/ |
D | ext_inst.opencl_test.cpp | 240 CASE3(FClamp, fclamp), // enum value 95
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | ext_inst.opencl_test.cpp | 240 CASE3(FClamp, fclamp), // enum value 95
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/ |
D | ext_inst.opencl_test.cpp | 240 CASE3(FClamp, fclamp), // enum value 95
|
/external/libaom/libaom/av1/encoder/ |
D | pass2_strategy.c | 48 return fclamp(active_pct, MIN_ACTIVE_AREA, MAX_ACTIVE_AREA); in calculate_active_area() 77 return fclamp(modified_error, twopass->modified_error_min, in calculate_modified_err() 170 return fclamp(pow(error_term, power_term), 0.05, 5.0); in calc_correction_factor() 221 inactive_zone = fclamp(inactive_zone, 0.0, 1.0); in get_twopass_worst_quality()
|
D | ratectrl.c | 447 return fclamp(rcf, MIN_BPB_FACTOR, MAX_BPB_FACTOR); in get_rate_correction_factor() 457 factor = fclamp(factor, MIN_BPB_FACTOR, MAX_BPB_FACTOR); in set_rate_correction_factor()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_firstpass.c | 225 return fclamp(active_pct, MIN_ACTIVE_AREA, MAX_ACTIVE_AREA); in calculate_active_area() 285 return fclamp(modified_score, min_score, max_score); in calc_norm_frame_score() 1505 return fclamp(pow(error_term, power_term), 0.05, 5.0); in calc_correction_factor() 1542 noise_factor = fclamp(noise_factor, NOISE_FACTOR_MIN, NOISE_FACTOR_MAX); in get_twopass_worst_quality() 1543 inactive_zone = fclamp(inactive_zone, 0.0, 1.0); in get_twopass_worst_quality()
|
D | vp9_ratectrl.c | 702 return fclamp(rcf, MIN_BPB_FACTOR, MAX_BPB_FACTOR); in get_rate_correction_factor() 712 factor = fclamp(factor, MIN_BPB_FACTOR, MAX_BPB_FACTOR); in set_rate_correction_factor()
|
/external/libaom/libaom/test/ |
D | noise_model_test.cc | 1201 data_[0][y * stride_[0] + x] = (typename T::data_type_t)fclamp( in SetUp() 1209 data_[c][y * stride_[c] + x] = (typename T::data_type_t)fclamp( in SetUp()
|
/external/deqp-deps/SPIRV-Tools/test/val/ |
D | val_ext_inst_test.cpp | 5779 "fclamp",
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_ext_inst_test.cpp | 5779 "fclamp",
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/ |
D | val_ext_inst_test.cpp | 5907 "fclamp",
|