| /NW4C-1.3.3/sources/libraries/snd/ |
| D | snd_TaskManager.cpp | 76 void TaskManager::AppendTask( Task* task, TaskPriority priority ) in AppendTask() argument 78 NW_MINMAXLT_ASSERT( priority, 0, PRIORITY_NUM ); in AppendTask() 84 m_TaskList[ priority ].PushBack( task ); in AppendTask() 98 Task* TaskManager::GetNextTask( TaskPriority priority, bool doRemove ) in GetNextTask() argument 100 NW_MINMAXLT_ASSERT( priority, 0, PRIORITY_NUM ); in GetNextTask() 104 if ( m_TaskList[ priority ].IsEmpty() ) return NULL; in GetNextTask() 106 Task* task = &m_TaskList[ priority ].GetFront(); in GetNextTask() 108 m_TaskList[ priority ].PopFront(); in GetNextTask() 247 TaskPriority priority = static_cast<TaskPriority>( i ); in RemoveTask() local 248 TaskList::Iterator itr = m_TaskList[ priority ].GetBeginIter(); in RemoveTask() [all …]
|
| D | snd_Sound3DEngine.cpp | 61 ambientParam->priority = - sound3DManager->GetMaxPriorityReduction(); in UpdateAmbientParam() 86 int priority; in UpdateAmbientParam() local 92 &priority in UpdateAmbientParam() 101 ambientParam->priority = ut::Max( priority, ambientParam->priority ); in UpdateAmbientParam() 236 return ambientParam.priority; in GetAmbientPriority()
|
| D | snd_BasicSound.cpp | 114 m_AmbientParam.priority = 0; in Initialize() 128 void BasicSound::SetPriority( int priority, int ambientPriority ) in SetPriority() argument 130 NW_MINMAX_ASSERT( priority, PRIORITY_MIN, PRIORITY_MAX ); in SetPriority() 132 m_Priority = static_cast<u8>(priority); in SetPriority() 133 m_AmbientParam.priority = ambientPriority; in SetPriority() 135 void BasicSound::GetPriority( int* priority, int* ambientPriority ) const in GetPriority() argument 137 if ( priority != NULL ) in GetPriority() 139 *priority = m_Priority; in GetPriority() 143 *ambientPriority = m_AmbientParam.priority; in GetPriority() 454 ambientParam.priority = m_AmbientParam.priority; in Update() [all …]
|
| D | snd_SoundThread.cpp | 152 s32 priority, in CreateSoundThread() argument 171 mainThread.priority = (coreNo == 1) ? 0 : priority; in CreateSoundThread() 176 userThread.priority = userThreadPriority; in CreateSoundThread() 198 s32 priority, in CreateSoundThread() argument 214 priority, in CreateSoundThread() 230 s32 priority ) in CreateUserSoundThread() argument 236 priority ); in CreateUserSoundThread() 244 s32 priority, in Create() argument 260 priority, in Create()
|
| D | snd_WaveSound.cpp | 154 void WaveSound::SetChannelPriority( int priority ) in SetChannelPriority() argument 156 NW_MINMAX_ASSERT( priority, 0, 127 ); in SetChannelPriority() 163 command->priority = priority; in SetChannelPriority() 198 int priority = CalcCurrentPlayerPriority(); in OnUpdatePlayerPriority() local 199 m_pManager.UpdatePriority( this, priority ); in OnUpdatePlayerPriority()
|
| D | snd_VoiceManager.cpp | 108 int priority, in AllocVoice() argument 116 if ( DropLowestPriorityVoice( priority ) == 0 ) return NULL; in AllocVoice() 122 if ( ! voice.Alloc( voiceChannelCount, priority, callback, callbackData ) ) in AllocVoice() 128 voice.m_Priority = static_cast<u8>( priority ); in AllocVoice() 237 int VoiceManager::DropLowestPriorityVoice( int priority ) in DropLowestPriorityVoice() argument 242 if ( dropVoice->GetPriority() > priority ) return 0; in DropLowestPriorityVoice()
|
| D | snd_ExternalSoundPlayer.cpp | 226 int priority = internal::BasicSound::PRIORITY_MAX + 1; in GetLowestPrioritySound() local 232 if ( priority > itrPriority ) in GetLowestPrioritySound() 235 priority = itrPriority; in GetLowestPrioritySound()
|
| D | snd_TaskThread.cpp | 49 bool TaskThread::Create( s32 priority, ThreadStack& stack ) in Create() argument 66 priority ).IsSuccess(); in Create()
|
| D | snd_Sound3DManager.cpp | 230 int priority = 0; in detail_GetAmbientPriority() local 234 priority = m_pSound3DEngine->GetAmbientPriority( in detail_GetAmbientPriority() 241 return priority; in detail_GetAmbientPriority()
|
| D | snd_WaveSoundPlayer.cpp | 216 void WaveSoundPlayer::SetChannelPriority( int priority ) in SetChannelPriority() argument 218 NW_MINMAX_ASSERT( priority, 0, 127 ); in SetChannelPriority() 219 m_Priority = static_cast<u8>( priority ); in SetChannelPriority() 374 const int priority = GetChannelPriority() + DEFAULT_PRIORITY; in StartChannel() local 413 priority, in StartChannel()
|
| D | snd_SequenceSoundPlayer.cpp | 120 m_ParserParam.priority = 64; in Initialize() 376 void SequenceSoundPlayer::SetChannelPriority( int priority ) in SetChannelPriority() argument 378 NW_MINMAX_ASSERT( priority, 0, 127 ); in SetChannelPriority() 379 m_ParserParam.priority = static_cast<u8>( priority ); in SetChannelPriority()
|
| /NW4C-1.3.3/include/nw/snd/ |
| D | snd_SoundInstanceManager.h | 120 Sound* Alloc( int priority, int ambientPriority ) in Alloc() argument 122 int allocPriority = priority + ambientPriority; in Alloc() 159 sound->SetPriority( priority, ambientPriority ); in Alloc() 199 void UpdatePriority( Sound* sound, int priority ) in UpdatePriority() argument 204 InsertPriorityList( sound, priority ); in UpdatePriority() 284 void InsertPriorityList( Sound* sound, int priority ) in InsertPriorityList() argument 290 if ( priority < itr->CalcCurrentPlayerPriority() ) break; in InsertPriorityList()
|
| D | snd_TaskThread.h | 31 bool Create( s32 priority, ThreadStack& stack ); 36 void SetPriority( s32 priority ) in SetPriority() argument 38 m_Thread.ChangePriority( priority ); in SetPriority()
|
| D | snd_BasicSound.h | 51 int priority; member 63 priority(0), in SoundParam() 117 int priority; member 139 priority(0), in SoundAmbientParam() 281 void SetPriority( int priority, int ambientPriority ); 282 void GetPriority( int* priority, int* ambientPriority ) const; 305 void SetPlayerPriority( int priority ); 336 static_cast<int>( m_Priority ) + static_cast<int>( m_AmbientParam.priority ), in CalcCurrentPlayerPriority()
|
| D | snd_WaveSoundHandle.h | 391 void SetPlayerPriority( int priority ) in SetPlayerPriority() argument 393 if ( IsAttachedSound() ) m_pSound->SetPlayerPriority( priority ); in SetPlayerPriority() 468 void SetChannelPriority( int priority ) in SetChannelPriority() argument 470 if ( IsAttachedSound() ) m_pSound->SetChannelPriority( priority ); in SetChannelPriority()
|
| D | snd_SequenceSoundHandle.h | 384 void SetPlayerPriority( int priority ) in SetPlayerPriority() argument 386 if ( IsAttachedSound() ) m_pSound->SetPlayerPriority( priority ); in SetPlayerPriority() 461 void SetChannelPriority( int priority ) in SetChannelPriority() argument 463 if ( IsAttachedSound() ) m_pSound->SetChannelPriority( priority ); in SetChannelPriority()
|
| D | snd_SoundThread.h | 82 s32 priority, 93 s32 priority, 99 s32 priority ); 104 s32 priority,
|
| D | snd_TaskManager.h | 44 void AppendTask( Task* task, TaskPriority priority ); 69 Task* GetNextTask( TaskPriority priority, bool doRemove );
|
| D | snd_VoiceManager.h | 49 int priority, 69 int DropLowestPriorityVoice( int priority );
|
| D | snd_SoundHandle.h | 473 void SetPlayerPriority( int priority ) in SetPlayerPriority() argument 475 if ( IsAttachedSound() ) m_pSound->SetPlayerPriority( priority ); in SetPlayerPriority()
|
| D | snd_StreamSoundHandle.h | 402 void SetPlayerPriority( int priority ) in SetPlayerPriority() argument 404 if ( IsAttachedSound() ) m_pSound->SetPlayerPriority( priority ); in SetPlayerPriority()
|
| D | snd_SequenceSoundPlayer.h | 138 u8 priority; member 198 void SetChannelPriority( int priority ); 203 int GetChannelPriority() const { return m_ParserParam.priority; } in GetChannelPriority()
|
| /NW4C-1.3.3/include/nw/gfx/ |
| D | gfx_RenderElement.h | 177 void SetPriorityForDetailedMaterial(u8 priority, u32 shift) in SetPriorityForDetailedMaterial() argument 180 static_cast<KeyType>(priority & BIT64_MATERIAL_PRIORITY_MASK) in SetPriorityForDetailedMaterial() 214 void SetPriorityForSimpleMaterial(u8 priority, u32 shift) in SetPriorityForSimpleMaterial() argument 217 static_cast<KeyType>(priority & BIT64_SIMPLE_MATERIAL_PRIORITY_MASK) in SetPriorityForSimpleMaterial() 377 u8 priority, 463 u8 priority, in CreateCommandRenderKey() argument 470 priority, RenderElementType::BIT64_DEPTH_BIT_SIZE); in CreateCommandRenderKey() 558 u8 priority, in CreateCommandRenderKey() argument 565 priority, RenderElementType::BIT64_DEPTH_BIT_SIZE); in CreateCommandRenderKey() 656 u8 priority, in CreateCommandRenderKey() argument [all …]
|
| /NW4C-1.3.3/sources/libraries/snd/platform/ |
| D | snd_HardwareChannelManagerAX.cppi | 27 u32 priority, 36 priority,
|
| /NW4C-1.3.3/tools/DccPlugin/Maya/scripts/ |
| D | NW4C_SetRenderPriority.mel | 5 Description: set render priority 18 global int $nw4cSetRenderPriority_SortKind = 0; // 0:priority, 1:name 56 use render priority 108 render priority 167 get priority for list 171 int $priority = 0; 176 $priority = nw4cSetRenderPriority_Get_RenderPriority($sg); 179 return $priority; 183 set priority for list 327 list priority CB [all …]
|