/dports/audio/clunk/clunk-1.3.261/clunk/ |
H A D | distance_model.cpp | 27 if (distance < reference_distance) in gain() 28 distance = reference_distance; in gain() 32 …gain = reference_distance / (reference_distance + rolloff_factor * (distance - reference_distance)… in gain() 37 if (distance < reference_distance) in gain() 38 distance = reference_distance; in gain() 43 gain = 1 - rolloff_factor * (distance - reference_distance) / (max_distance - reference_distance); in gain() 48 if (distance < reference_distance) in gain() 49 distance = reference_distance; in gain() 53 gain = powf(distance / reference_distance, - rolloff_factor); in gain()
|
H A D | distance_model.h | 39 float reference_distance; member 65 reference_distance(1), max_distance(max_distance), rolloff_factor(1), doppler_factor(0), in type()
|
H A D | clunk_c.cpp | 471 …k_distance_model_type type, int clamped, float max_distance, float reference_distance, float rollo… in clunk_distance_model_create_custom() argument 474 dm->reference_distance = reference_distance; in clunk_distance_model_create_custom()
|
H A D | clunk_c.h | 150 …k_distance_model_type type, int clamped, float max_distance, float reference_distance, float rollo…
|
/dports/games/battletanks/btanks-0.9.8083/clunk/ |
H A D | distance_model.cpp | 29 if (distance < reference_distance) in gain() 30 distance = reference_distance; in gain() 34 …gain = reference_distance / (reference_distance + rolloff_factor * (distance - reference_distance)… in gain() 38 if (clamped && distance < reference_distance) { in gain() 39 distance = reference_distance; in gain() 45 gain = 1 - rolloff_factor * (distance - reference_distance) / (max_distance - reference_distance); in gain() 50 if (distance < reference_distance) in gain() 51 distance = reference_distance; in gain() 55 gain = powf(distance / reference_distance, - rolloff_factor); in gain()
|
H A D | distance_model.h | 39 float reference_distance; member 65 reference_distance(1), max_distance(max_distance), rolloff_factor(1), doppler_factor(0), in type()
|
/dports/math/symengine/symengine-0.8.1/symengine/utilities/matchpycpp/ |
H A D | hopcroft_karp.h | 34 reference_distance = INT_MAX; in HopcroftKarp() 69 int reference_distance; variable 90 reference_distance = INT_MAX; in _bfs_hopcroft_karp() 96 if (dist_left.at(left_vertex) >= reference_distance) in _bfs_hopcroft_karp() 100 if (reference_distance == INT_MAX) { in _bfs_hopcroft_karp() 101 reference_distance = dist_left[left_vertex] + 1; in _bfs_hopcroft_karp() 112 return reference_distance < INT_MAX; in _bfs_hopcroft_karp() 125 if (reference_distance == dist_left.at(left) + 1) { in _dfs_hopcroft_karp()
|
/dports/games/vavoom/vavoom-1.33/source/ |
H A D | snd_al.cpp | 69 static VCvarF reference_distance; member in VOpenALDevice 106 VCvarF VOpenALDevice::reference_distance("al_reference_distance", "64.0", CVAR_Archive); member in VOpenALDevice 338 alSourcef(src, AL_REFERENCE_DISTANCE, reference_distance); in PlaySound() 378 alSourcef(src, AL_REFERENCE_DISTANCE, reference_distance); in PlaySound3D()
|
/dports/games/excido/excido-0.1.5c/src/ |
H A D | SoundCore.cpp | 29 reference_distance=50.0f; in SoundCore() 212 alSourcef(neweffect.alid,AL_REFERENCE_DISTANCE,reference_distance); in Play() 259 alSourcef(neweffect.alid,AL_REFERENCE_DISTANCE,reference_distance); in Play()
|
H A D | SoundCore.h | 65 float reference_distance; variable
|
/dports/graphics/py-pyglet/pyglet-1.5.21/tests/integration/media/ |
H A D | test_openal.py | 333 assert almost_equal(filled_source.reference_distance, 1.) 334 filled_source.reference_distance = 10.3 335 assert almost_equal(filled_source.reference_distance, 10.3)
|
/dports/graphics/py-pyglet150/pyglet-1.5.0/tests/integration/media/ |
H A D | test_openal.py | 333 assert almost_equal(filled_source.reference_distance, 1.) 334 filled_source.reference_distance = 10.3 335 assert almost_equal(filled_source.reference_distance, 10.3)
|
/dports/multimedia/libva-intel-driver/intel-vaapi-driver-2.4.1/src/ |
H A D | gen7_mfd.h | 65 int reference_distance; member
|
/dports/games/alienarena/alienarena-7.66/source/client/ |
H A D | snd_openal.c | 229 ALfloat reference_distance; member 494 source_default.reference_distance ); in calSourcesInitialize() 877 ALfloat reference_distance = 0.0f; in calNewSrc() local 1020 reference_distance = 0.0f; in calNewSrc() 1026 reference_distance = source_default.reference_distance; in calNewSrc() 1032 reference_distance = source_default.idle_reference_distance; in calNewSrc() 1038 reference_distance = source_default.static_reference_distance; in calNewSrc() 1054 qalSourcef( src->oalSource, AL_REFERENCE_DISTANCE, reference_distance ); in calNewSrc() 1107 source_default.reference_distance ); in calNewLocalSrc() 2236 qalSourcef( music.oalSource, AL_REFERENCE_DISTANCE,source_default.reference_distance ); in S_StartMusic()
|
/dports/games/alienarena-data/alienarena-7.66/source/client/ |
H A D | snd_openal.c | 229 ALfloat reference_distance; member 494 source_default.reference_distance ); in calSourcesInitialize() 877 ALfloat reference_distance = 0.0f; in calNewSrc() local 1020 reference_distance = 0.0f; in calNewSrc() 1026 reference_distance = source_default.reference_distance; in calNewSrc() 1032 reference_distance = source_default.idle_reference_distance; in calNewSrc() 1038 reference_distance = source_default.static_reference_distance; in calNewSrc() 1054 qalSourcef( src->oalSource, AL_REFERENCE_DISTANCE, reference_distance ); in calNewSrc() 1107 source_default.reference_distance ); in calNewLocalSrc() 2236 qalSourcef( music.oalSource, AL_REFERENCE_DISTANCE,source_default.reference_distance ); in S_StartMusic()
|
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_common/agnostic/common/codec/shared/ |
H A D | codec_def_decode_vc1.h | 179 uint32_t reference_distance : 5; /* PICTURE_LAYER::REFDIST */ member
|
/dports/multimedia/cmrtlib/media-driver-intel-media-20.1.1/media_driver/agnostic/common/codec/shared/ |
H A D | codec_def_decode_vc1.h | 179 uint32_t reference_distance : 5; /* PICTURE_LAYER::REFDIST */ member
|
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/linux/common/codec/ddi/ |
H A D | media_ddi_decode_vc1.cpp | 214 uint32_t fwdRefDist = picParam->reference_fields.bits.reference_distance; in ParsePicParams() 302 fwdRefDist = (scaleFactor * picParam->reference_fields.bits.reference_distance) >> 8; in ParsePicParams() 303 bwdRefDist = picParam->reference_fields.bits.reference_distance - fwdRefDist - 1; in ParsePicParams() 390 …codecPicParam->reference_fields.reference_distance = fwdRefDist; //picParam->reference… in ParsePicParams()
|
/dports/multimedia/cmrtlib/media-driver-intel-media-20.1.1/media_driver/linux/common/codec/ddi/ |
H A D | media_ddi_decode_vc1.cpp | 214 uint32_t fwdRefDist = picParam->reference_fields.bits.reference_distance; in ParsePicParams() 302 fwdRefDist = (scaleFactor * picParam->reference_fields.bits.reference_distance) >> 8; in ParsePicParams() 303 bwdRefDist = picParam->reference_fields.bits.reference_distance - fwdRefDist - 1; in ParsePicParams() 390 …codecPicParam->reference_fields.reference_distance = fwdRefDist; //picParam->reference… in ParsePicParams()
|
/dports/audio/lewton/lewton-0.10.2/cargo-crates/alto-3.0.4/src/al/ |
H A D | mod.rs | 130 fn reference_distance(&self) -> f32; in reference_distance() method 923 fn reference_distance(&self) -> f32 { in reference_distance() method 1515 #[inline] fn reference_distance(&self) -> f32 { self.src.reference_distance() } in reference_distance() method 1691 #[inline] fn reference_distance(&self) -> f32 { self.src.reference_distance() } in reference_distance() method
|
/dports/games/battletanks/btanks-0.9.8083/engine/sound/ |
H A D | mixer.cpp | 84 dm.reference_distance = 1; in init()
|
/dports/graphics/py-pyglet/pyglet-1.5.21/pyglet/media/drivers/openal/ |
H A D | adaptation.py | 373 self.alsource.reference_distance = min_distance
|
/dports/graphics/py-pyglet150/pyglet-1.5.0/pyglet/media/drivers/openal/ |
H A D | adaptation.py | 376 self.alsource.reference_distance = min_distance
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/ |
H A D | vaapi_vc1.c | 225 pic_param->reference_fields.bits.reference_distance = 0; /* XXX: interlaced frame */ in vaapi_vc1_start_frame()
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/ |
H A D | vaapi_vc1.c | 225 pic_param->reference_fields.bits.reference_distance = 0; /* XXX: interlaced frame */ in vaapi_vc1_start_frame()
|