Home
last modified time | relevance | path

Searched refs:fclamp (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/third_party/lcms/src/
Dcmsintrp.c224 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/
Dbasic_test_conversions.cpp1173 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/
Dvpx_dsp_common.h56 static INLINE double fclamp(double value, double low, double high) { in fclamp() function
/external/libaom/libaom/aom_dsp/
Daom_dsp_common.h76 static INLINE double fclamp(double value, double low, double high) { in fclamp() function
Dnoise_model.c250 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/
Dext_inst.opencl_test.cpp240 CASE3(FClamp, fclamp), // enum value 95
/external/swiftshader/third_party/SPIRV-Tools/test/
Dext_inst.opencl_test.cpp240 CASE3(FClamp, fclamp), // enum value 95
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/
Dext_inst.opencl_test.cpp240 CASE3(FClamp, fclamp), // enum value 95
/external/libaom/libaom/av1/encoder/
Dpass2_strategy.c48 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()
Dratectrl.c447 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/
Dvp9_firstpass.c225 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()
Dvp9_ratectrl.c702 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/
Dnoise_model_test.cc1201 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/
Dval_ext_inst_test.cpp5779 "fclamp",
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_ext_inst_test.cpp5779 "fclamp",
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_ext_inst_test.cpp5907 "fclamp",