Home
last modified time | relevance | path

Searched refs:IsNeutral (Results 1 – 25 of 78) sorted by relevance

1234

/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/base/image/
H A Dcolourspace.h136 static bool IsNeutral(const GammaCurvePtr& p) { return (!p || p->IsNeutral()); } in IsNeutral() function
158 if (IsNeutral(p)) in Encode()
174 if (IsNeutral(p)) in Encode()
190 if (IsNeutral(p)) in Encode()
211 if (IsNeutral(p)) in Encode()
237 if (IsNeutral(p)) in Decode()
253 if (IsNeutral(p)) in Decode()
269 if (IsNeutral(p)) in Decode()
290 if (IsNeutral(p)) in Decode()
448 virtual bool IsNeutral() const;
[all …]
H A Dcolourspace.cpp165 return GammaCurve::IsNeutral(p); in Matches()
167 bool NeutralGammaCurve::IsNeutral() const in IsNeutral() function in pov_base::NeutralGammaCurve
302 if (IsNeutral(gamma)) in GetByEncodingGamma()
334 return IsNeutral(this->encGamma / other->encGamma); in Matches()
336 bool PowerLawGammaCurve::IsNeutral(float gamma) in IsNeutral() function in pov_base::PowerLawGammaCurve
355 if (IsNeutral(factor)) in GetByEncoding()
358 GammaCurve::IsNeutral(gamma) ? GammaCurvePtr(NeutralGammaCurve::Get()) : gamma, in GetByEncoding()
381 return (this->baseGamma == other->baseGamma) && IsNeutral(this->encFactor / other->encFactor); in Matches()
383 bool ScaledGammaCurve::IsNeutral(float scale) { return fabs(1.0 - scale) <= 1e-6; } in IsNeutral() function in pov_base::ScaledGammaCurve
393 if (GammaCurve::IsNeutral(working)) in Get()
[all …]
H A Dencoding.cpp116 if (!img->IsIndexed() && img->GetMaxIntValue() == max && GammaCurve::IsNeutral(g)) in SetEncodedGrayValue()
126 … !doUnPremultiply && !img->IsIndexed() && img->GetMaxIntValue() == max && GammaCurve::IsNeutral(g)) in SetEncodedGrayAValue()
143 if (!img->IsIndexed() && img->GetMaxIntValue() == max && GammaCurve::IsNeutral(g)) in SetEncodedRGBValue()
153 … !doUnPremultiply && !img->IsIndexed() && img->GetMaxIntValue() == max && GammaCurve::IsNeutral(g)) in SetEncodedRGBAValue()
/dports/graphics/povray37/povray-3.7.0.10/source/base/image/
H A Dcolourspace.cpp154 return GammaCurve::IsNeutral(p); in Matches()
156 bool NeutralGammaCurve::IsNeutral() const in IsNeutral() function in pov_base::NeutralGammaCurve
248 if (IsNeutral(gamma)) in GetByEncodingGamma()
280 return IsNeutral(this->encGamma / other->encGamma); in Matches()
282 bool PowerLawGammaCurve::IsNeutral(float gamma) in IsNeutral() function in pov_base::PowerLawGammaCurve
301 if (IsNeutral(factor)) in GetByEncoding()
304 GammaCurve::IsNeutral(gamma) ? GammaCurvePtr(NeutralGammaCurve::Get()) : gamma, in GetByEncoding()
327 return (this->baseGamma == other->baseGamma) && IsNeutral(this->encFactor / other->encFactor); in Matches()
329 bool ScaledGammaCurve::IsNeutral(float scale) { return fabs(1.0 - scale) <= 1e-6; } in IsNeutral() function in pov_base::ScaledGammaCurve
339 if (GammaCurve::IsNeutral(working)) in Get()
[all …]
H A Dcolourspace.h116 static bool IsNeutral(const GammaCurvePtr& p) { return (!p || p->IsNeutral()); } in IsNeutral() function
125 …static float Encode(const GammaCurvePtr& p, float x) { if (IsNeutral(p)) return x; else return p->… in Encode()
136 if (IsNeutral(p)) in Encode()
149 …static float Decode(const GammaCurvePtr& p, float x) { if (IsNeutral(p)) return x; else return p->… in Decode()
195 virtual bool IsNeutral() const { return false; } in IsNeutral() function
306 virtual bool IsNeutral() const;
379 static bool IsNeutral(float gamma);
398 static bool IsNeutral(float factor);
H A Dpgm.cpp213 imagetype = ( GammaCurve::IsNeutral(gamma) ? Image::Gray_Int8 : Image::Gray_Gamma8 ); in Read()
245 imagetype = ( GammaCurve::IsNeutral(gamma) ? Image::Gray_Int16 : Image::Gray_Gamma16 ); in Read()
H A Dencoding.cpp301 if (!img->IsIndexed() && img->GetMaxIntValue() == max && GammaCurve::IsNeutral(g)) in SetEncodedGrayValue()
311 … !doUnPremultiply && !img->IsIndexed() && img->GetMaxIntValue() == max && GammaCurve::IsNeutral(g)) in SetEncodedGrayAValue()
328 if (!img->IsIndexed() && img->GetMaxIntValue() == max && GammaCurve::IsNeutral(g)) in SetEncodedRGBValue()
338 … !doUnPremultiply && !img->IsIndexed() && img->GetMaxIntValue() == max && GammaCurve::IsNeutral(g)) in SetEncodedRGBAValue()
H A Dppm.cpp292 imagetype = ( GammaCurve::IsNeutral(gamma) ? Image::RGB_Int8 : Image::RGB_Gamma8); in Read()
330 imagetype = ( GammaCurve::IsNeutral(gamma) ? Image::RGB_Int16 : Image::RGB_Gamma16); in Read()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/animation/
H A Dinvalidatable_interpolation.cc37 if ((start_keyframe_->IsNeutral() || end_keyframe_->IsNeutral()) && in MaybeConvertPairwise()
62 if (keyframe.IsNeutral() && !underlying_value_owner) in ConvertSingleKeyframe()
65 if (keyframe.IsNeutral() && in ConvertSingleKeyframe()
79 DCHECK(keyframe.IsNeutral()); in ConvertSingleKeyframe()
114 return (start_keyframe_->IsNeutral() && current_fraction_ != 1) || in IsNeutralKeyframeActive()
115 (end_keyframe_->IsNeutral() && current_fraction_ != 0); in IsNeutralKeyframeActive()
H A Dstring_keyframe.h111 bool IsNeutral() const final { return !value_; } in IsNeutral() function
147 bool IsNeutral() const final { return value_.IsNull(); } in IsNeutral() function
H A Dsvg_interpolation_type.cc19 if (keyframe.IsNeutral()) in MaybeConvertSingle()
H A Dcss_default_interpolation_type.cc29 DCHECK(keyframe.IsNeutral()); in MaybeConvertSingle()
H A Dsvg_transform_list_interpolation_type.cc263 DCHECK(!keyframe.IsNeutral()); in MaybeConvertSingle()
266 if (!keyframe.IsNeutral()) { in MaybeConvertSingle()
H A Dtransition_keyframe.h66 bool IsNeutral() const final { return false; } in IsNeutral() function
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/animation/
H A Dinvalidatable_interpolation.cc37 if ((start_keyframe_->IsNeutral() || end_keyframe_->IsNeutral()) && in MaybeConvertPairwise()
62 if (keyframe.IsNeutral() && !underlying_value_owner) in ConvertSingleKeyframe()
65 if (keyframe.IsNeutral() && in ConvertSingleKeyframe()
79 DCHECK(keyframe.IsNeutral()); in ConvertSingleKeyframe()
114 return (start_keyframe_->IsNeutral() && current_fraction_ != 1) || in IsNeutralKeyframeActive()
115 (end_keyframe_->IsNeutral() && current_fraction_ != 0); in IsNeutralKeyframeActive()
H A Dsvg_interpolation_type.cc19 if (keyframe.IsNeutral()) in MaybeConvertSingle()
H A Dstring_keyframe.h120 bool IsNeutral() const final { return !value_; } in IsNeutral() function
157 bool IsNeutral() const final { return value_.IsNull(); } in IsNeutral() function
H A Dcss_default_interpolation_type.cc30 DCHECK(keyframe.IsNeutral()); in MaybeConvertSingle()
H A Dsvg_transform_list_interpolation_type.cc263 DCHECK(!keyframe.IsNeutral()); in MaybeConvertSingle()
266 if (!keyframe.IsNeutral()) { in MaybeConvertSingle()
H A Dtransition_keyframe.h67 bool IsNeutral() const final { return false; } in IsNeutral() function
/dports/games/quake2-matrix/matrix/MatrixFixSource/
H A Dleper_think.c83 if (IsNeutral(ent)) in Leper_Effects()
267 else if(IsNeutral(targ)) in Leper_TDamage()
285 else if(IsNeutral(targ)) in Leper_TDamage()
309 else if(IsNeutral(targ)) in Leper_TDamage()
336 else if(IsNeutral(targ)) in Leper_TDamage()
361 else if(IsNeutral(targ)) in Leper_TDamage()
383 else if(IsNeutral(targ)) in Leper_TDamage()
403 else if(IsNeutral(targ)) in Leper_TDamage()
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/core/material/
H A Dpigment.cpp465 if (GammaCurve::IsNeutral(thread->GetSceneData()->workingGamma)) in Blend()
477 if (GammaCurve::IsNeutral(blendGamma)) in Blend()
495 …if (GammaCurve::IsNeutral(blendGamma) && GammaCurve::IsNeutral(thread->GetSceneData()->workingGamm… in Blend()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Structures.ocd/Flagpole.ocd/
H A DScript.c79 func IsNeutral() { return neutral; } in IsNeutral() function
/dports/games/spring/spring_98.0/rts/Game/
H A DTraceRay.cpp240 if (ignoreNeutrals && u->IsNeutral()) in TraceRay()
469 if (!u->IsNeutral()) in TestCone()
551 if (!u->IsNeutral()) in TestTrajectoryCone()
/dports/games/spring/spring_98.0/rts/ExternalAI/
H A DAICheats.cpp189 return unit->IsNeutral(); in unit_IsNeutral()
404 isNeutral = unit->IsNeutral(); in IsUnitNeutral()

1234