Home
last modified time | relevance | path

Searched refs:reference_distance (Results 1 – 25 of 55) sorted by relevance

123

/dports/audio/clunk/clunk-1.3.261/clunk/
H A Ddistance_model.cpp27 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 Ddistance_model.h39 float reference_distance; member
65 reference_distance(1), max_distance(max_distance), rolloff_factor(1), doppler_factor(0), in type()
H A Dclunk_c.cpp471 …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 Dclunk_c.h150 …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 Ddistance_model.cpp29 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 Ddistance_model.h39 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 Dhopcroft_karp.h34 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 Dsnd_al.cpp69 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 DSoundCore.cpp29 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 DSoundCore.h65 float reference_distance; variable
/dports/graphics/py-pyglet/pyglet-1.5.21/tests/integration/media/
H A Dtest_openal.py333 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 Dtest_openal.py333 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 Dgen7_mfd.h65 int reference_distance; member
/dports/games/alienarena/alienarena-7.66/source/client/
H A Dsnd_openal.c229 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 Dsnd_openal.c229 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 Dcodec_def_decode_vc1.h179 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 Dcodec_def_decode_vc1.h179 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 Dmedia_ddi_decode_vc1.cpp214 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 Dmedia_ddi_decode_vc1.cpp214 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 Dmod.rs130 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 Dmixer.cpp84 dm.reference_distance = 1; in init()
/dports/graphics/py-pyglet/pyglet-1.5.21/pyglet/media/drivers/openal/
H A Dadaptation.py373 self.alsource.reference_distance = min_distance
/dports/graphics/py-pyglet150/pyglet-1.5.0/pyglet/media/drivers/openal/
H A Dadaptation.py376 self.alsource.reference_distance = min_distance
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A Dvaapi_vc1.c225 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 Dvaapi_vc1.c225 pic_param->reference_fields.bits.reference_distance = 0; /* XXX: interlaced frame */ in vaapi_vc1_start_frame()

123