| /NW4C-1.2.23/include/nw/snd/ |
| D | snd_Util.h | 114 COUNT_TYPE count; member 153 if ( index >= count ) return NULL; in GetReferedItem() 158 if ( index >= count ) return NULL; in GetReferedItem() 164 for ( u32 i = 0; i < count; i++ ) in FindReferedItemBy() 179 NW_ASSERT( index < count ); in GetReferedItem() 184 for ( u32 i = 0; i < count; i++ ) in GetReferedItemBy() 195 NW_ASSERT( index < count ); in GetReferedItemSize() 210 const void* origin, int index, u16 count ) const in GetReferedItemByIndex() 212 NW_UNUSED_VARIABLE(count); in GetReferedItemByIndex() 213 NW_ASSERT( index < count ); in GetReferedItemByIndex() [all …]
|
| D | snd_SoundSystem.h | 895 static void GetSoundThreadTickCount( nn::os::Tick& tick, int& count ) in GetSoundThreadTickCount() argument 898 internal::driver::SoundThread::GetInstance().GetTickCount( tick, count ); in GetSoundThreadTickCount() 901 NW_UNUSED_VARIABLE( count ); in GetSoundThreadTickCount() 1053 static void SetMaxVoiceCount( int count ) in SetMaxVoiceCount() argument 1055 NW_MINMAX_ASSERT( count, 1, NN_SND_VOICE_NUM ); in SetMaxVoiceCount() 1056 count = ut::Clamp( count, 1, NN_SND_VOICE_NUM ); in SetMaxVoiceCount() 1057 s_MaxVoiceCount = count; in SetMaxVoiceCount()
|
| D | snd_SoundArchiveFile.h | 142 NW_MINMAX_ASSERT( idx, 0L, static_cast<int>( nodeTable.count - 1 )); 160 u32 GetNumData() const { return nodeTable.count; } in GetNumData() 183 return table.count; in GetCount() 218 NW_INLINE u32 GetSoundCount() const { return GetSoundInfoReferenceTable().count; } in GetSoundCount() 219 NW_INLINE u32 GetBankCount() const { return GetBankInfoReferenceTable().count; } in GetBankCount() 220 NW_INLINE u32 GetPlayerCount() const { return GetPlayerInfoReferenceTable().count; } in GetPlayerCount() 221 … NW_INLINE u32 GetSoundGroupCount() const { return GetSoundGroupInfoReferenceTable().count; } in GetSoundGroupCount() 222 NW_INLINE u32 GetGroupCount() const { return GetGroupInfoReferenceTable().count; } in GetGroupCount() 223 … NW_INLINE u32 GetWaveArchiveCount() const { return GetWaveArchiveInfoReferenceTable().count; } in GetWaveArchiveCount() 224 NW_INLINE u32 GetFileCount() const { return GetFileInfoReferenceTable().count; } in GetFileCount() [all …]
|
| D | snd_WaveSoundFile.h | 149 return GetWaveSoundDataReferenceTable().count; in GetWaveSoundCount() 189 return GetTrackInfoReferenceTable().count; in GetTrackCount() 193 return GetNoteInfoReferenceTable().count; in GetNoteCount() 228 return GetNoteEventReferenceTable().count; in GetNoteEventCount()
|
| D | snd_StreamSoundFile.h | 235 u32 GetTrackCount() const { return table.count; } in GetTrackCount() 273 NW_INLINE u32 GetCount() const { return table.count; } in GetCount() 276 NW_ASSERT( index < table.count ); in GetGlobalIndex() 288 NW_INLINE u32 GetChannelCount() const { return table.count; } in GetChannelCount()
|
| D | snd_GroupFile.h | 51 return referenceTableOfGroupItemInfo.count; in GetGroupItemInfoCount() 67 NW_INLINE u32 GetItemCount() const { return table.count; }
|
| D | snd_DriverCommandManager.h | 55 void* AllocMemory( u32 count ); 56 void* TryAllocMemory( u32 count );
|
| /NW4C-1.2.23/include/nw/gfx/ |
| D | gfx_CommandUtil.h | 452 MakeCommandHeader(u32 address, int count, bool incremental, u8 byteEnable) in MakeCommandHeader() argument 465 NW_ASSERT(0 < count && count <= 256); in MakeCommandHeader() 474 result |= ut::internal::MakeBits(count - 1, SIZE_WIDTH, SIZE_SHIFT); in MakeCommandHeader() 481 #define NW_GFX_GPU_HEADER(addr, count, incremental, byteEnable) (u32)((incremental << 31) | (count… argument 661 NWSetUniform4fv(u32 index, int count, const f32* data) in NWSetUniform4fv() argument 680 NW_MINMAX_ASSERT(count, 1, 64); in NWSetUniform4fv() 712 switch (count) in NWSetUniform4fv() 801 NWSetUniform3fv(u32 index, int count, const f32* data) in NWSetUniform3fv() argument 821 NW_MINMAX_ASSERT(count, 1, 64); in NWSetUniform3fv() 853 switch (count) in NWSetUniform3fv() [all …]
|
| D | gfx_ShaderBinaryInfo.h | 287 s32 count = 0; in SearchBinadSymbolCount() local 300 ++count; in SearchBinadSymbolCount() 306 ++count; in SearchBinadSymbolCount() 312 ++count; in SearchBinadSymbolCount() 318 ++count; in SearchBinadSymbolCount() 325 return count; in SearchBinadSymbolCount() 383 s32 count = 0; in GetInputRegisterNum() local 389 ++count; in GetInputRegisterNum() 393 return count; in GetInputRegisterNum() 408 s32 count = 0; in GetOutputRegisterNum() local [all …]
|
| D | gfx_MemoryUtil.h | 61 #define INVOKE_SUB(count) \ in FastWordCopy() argument 62 if (size == count) \ in FastWordCopy() 64 return FastWordCopyAsm_##count(dst, src); \ in FastWordCopy()
|
| D | gfx_DisplayList.h | 118 void WriteData(const void* data, int count) in WriteData() argument 121 NW_ASSERT( count > 0 ); in WriteData() 124 int copyCount = count; in WriteData()
|
| D | gfx_ShaderProgram.h | 347 …cation, const math::VEC2* vec, int count) const { glUniform2fv(m_UniformLocation->GetUniformLocati… in SetUniforms() argument 355 …cation, const math::VEC3* vec, int count) const { glUniform3fv(m_UniformLocation->GetUniformLocati… in SetUniforms() argument 363 …cation, const math::VEC4* vec, int count) const { glUniform4fv(m_UniformLocation->GetUniformLocati… in SetUniforms() argument
|
| D | gfx_ParticleSet.h | 267 int count); 276 int AddParticles(int count); 374 int count,
|
| /NW4C-1.2.23/sources/libraries/snd/ |
| D | snd_DriverCommandManager.cpp | 63 void* DriverCommandManager::AllocMemory( u32 count ) in AllocMemory() argument 65 NW_ASSERT( count <= m_CommandMemoryAreaSize ); in AllocMemory() 67 void* ptr = TryAllocMemory( count ); in AllocMemory() 71 ptr = TryAllocMemory( count ); in AllocMemory() 79 ptr = TryAllocMemory( count ); in AllocMemory() 85 void* DriverCommandManager::TryAllocMemory( u32 count ) in TryAllocMemory() argument 93 if ( m_CommandMemoryAreaBegin + count <= m_CommandMemoryAreaEnd ) { in TryAllocMemory() 95 m_CommandMemoryAreaBegin += count; in TryAllocMemory() 100 if ( m_CommandMemoryAreaBegin + count <= m_CommandMemoryAreaSize ) { in TryAllocMemory() 102 m_CommandMemoryAreaBegin += count; in TryAllocMemory() [all …]
|
| D | snd_InstancePool.cpp | 98 int count = 0; in CountImpl() local 101 ++count; in CountImpl() 103 return count; in CountImpl()
|
| D | snd_SoundPlayer.cpp | 365 void SoundPlayer::SetPlayableSoundCount( int count ) in SetPlayableSoundCount() argument 367 NW_ASSERT( count >= 0 ); in SetPlayableSoundCount() 370 NW_WARNING( count <= m_PlayableLimit, "playable sound count is over limit." ); in SetPlayableSoundCount() 371 count = ut::Clamp( count, 0, m_PlayableLimit ); in SetPlayableSoundCount() 373 m_PlayableCount = count; in SetPlayableSoundCount()
|
| D | snd_WaveSoundFile.cpp | 210 NW_ASSERT( fxSendCount <= sendValue.fxSend.count ); in GetSendValue() 212 int countSize = sendValue.fxSend.count > AUX_BUS_NUM ? in GetSendValue() 213 AUX_BUS_NUM : sendValue.fxSend.count; in GetSendValue() 316 NW_ASSERT( fxSendCount <= sendValue.fxSend.count ); in GetSendValue() 318 int countSize = sendValue.fxSend.count > AUX_BUS_NUM ? in GetSendValue() 319 AUX_BUS_NUM : sendValue.fxSend.count; in GetSendValue()
|
| D | snd_SoundArchiveFile.cpp | 221 section, tree->rootIdx, tree->nodeTable.count ); in DumpTree() 222 for ( u32 i = 0; i < tree->nodeTable.count; i++ ) in DumpTree() 236 if ( rootIdx >= nodeTable.count ) in GetNodeDataBy() 279 if ( index >= table.count ) in GetSoundInfo() 296 if ( index >= table.count ) in GetBankInfo() 313 if ( index >= table.count ) in GetPlayerInfo() 330 if ( index >= table.count ) in GetSoundGroupInfo() 347 if ( index >= table.count ) in GetGroupInfo() 364 if ( index >= table.count ) in GetWaveArchiveInfo() 376 if ( index >= table.count ) in GetFileInfo() [all …]
|
| /NW4C-1.2.23/sources/libraries/gfx/ |
| D | gfx_MemoryUtil.cpp | 69 LCLA count in copy_asm_declarations() 70 count SETA $val in copy_asm_declarations() 71 WHILE count >= 8 in copy_asm_declarations() 72 count SETA count-8 in copy_asm_declarations() 76 IF count == 2 in copy_asm_declarations() 79 IF count == 4 in copy_asm_declarations() 82 IF count == 6 in copy_asm_declarations()
|
| D | gfx_MeshRenderer.cpp | 481 int count = particleShape->GetVertexCapacity(); in RenderParticleShape() local 482 count *= particleShape->GetVertexAttributeDimension(index); in RenderParticleShape() 486 for (int i = 0; i < count; ++i) in RenderParticleShape() 494 int count = 1; in RenderParticleShape() local 495 count *= particleShape->GetVertexAttributeDimension(index); in RenderParticleShape() 498 for (int i = 0; i < count; ++i) in RenderParticleShape() 553 for (int count = 0; count < boneIndexCount; ++count) in SetMatrixPalette() local 555 s32 boneIndex = primitiveSet.GetBoneIndexTable(count); in SetMatrixPalette() 582 int index = count * UNIT_COUNT; in SetMatrixPalette() 584 if (count == 0) in SetMatrixPalette()
|
| /NW4C-1.2.23/sources/libraries/demo/ |
| D | demo_GraphicsDrawing.cpp | 247 s32 count = this->BuildLine(p1, p2, m_LineWidth, &m_PositionStream[0]); in DrawLine() local 251 glDrawArrays ( GL_TRIANGLES, 0, count); in DrawLine() 262 s32 count = 0; in DrawRectangle() local 264 …count += this->BuildLine(pos, math::VEC2(pos.x + size.x, pos.y), m_LineWidth, &m_PositionSt… in DrawRectangle() 265 …count += this->BuildLine(math::VEC2(pos.x + size.x, pos.y), pos + size, m_LineWidth, &m_PositionSt… in DrawRectangle() 266 …count += this->BuildLine(pos + size, math::VEC2(pos.x, pos.y + size.y), m_LineWidth, &m_PositionSt… in DrawRectangle() 267 …count += this->BuildLine(math::VEC2(pos.x, pos.y + size.y), pos, m_LineWidth, &m_PositionSt… in DrawRectangle() 269 NW_ASSERT( count <= VERTEX_STREAM_SIZE ); in DrawRectangle() 273 glDrawArrays ( GL_TRIANGLES, 0, count); in DrawRectangle() 284 s32 count = this->BuildRectangle(pos, size, &m_PositionStream[0]); in FillRectangle() local [all …]
|
| /NW4C-1.2.23/sources/libraries/lyt/ |
| D | lyt_Stopwatch.cpp | 99 int count = stopwatch.GetCount(); in Dump() 111 (total / count).GetMicroSeconds(), in Dump() 113 count, in Dump()
|
| /NW4C-1.2.23/include/nw/font/ |
| D | font_DispStringBuffer.h | 97 void SetDrawCharCount(u16 count) in SetDrawCharCount() 99 drawCharCount = count; in SetDrawCharCount()
|
| D | font_TextWriterBase.h | 490 std::size_t count, in VSNPrintf() argument 499 return vsnprintf(buffer, count, format, arg); in VSNPrintf() 504 std::size_t count, in VSNPrintf() argument 513 return vswprintf(buffer, count, format, arg); in VSNPrintf()
|
| /NW4C-1.2.23/include/nw/demo/ |
| D | demo_CameraController.h | 68 Builder& MaxCameraCount(size_t count) in MaxCameraCount() argument 70 m_Description.maxCameraCount = count; in MaxCameraCount()
|