| /NW4C-1.2.23/include/nw/snd/ |
| D | snd_FxReverb.h | 240 s32 sampleLength, 365 s32* m_EarlyReflection[4]; // 初期反射用 366 s32* m_PreDelay[4]; // プリディレイ用 367 s32* m_CombFilter[4][2]; // くし型フィルタ用(2段) 368 s32* m_AllPassFilter[4]; // 全域通過フィルタ用(1段) 369 s32 m_Lpf[4]; // LPF用 385 s32 m_EarlyLength; 386 s32 m_EarlyPos; 388 s32 m_PreDelayLength; 389 s32 m_PreDelayPos; [all …]
|
| D | snd_FxDelay.h | 143 s32 sampleLength, 264 s32* m_Delay[4]; ///< ディレイ 265 s32 m_Lpf[4]; ///< one-pole LPF の履歴 282 s32 m_FeedbackGain; ///< フィードバックゲイン 283 s32 m_LpfCoef1; ///< LPF係数1 284 s32 m_LpfCoef2; ///< LPF係数2 299 static s32 s_SampleLength;
|
| D | snd_StreamSoundPlayer.h | 196 s32 m_StartOffset; 218 s32 m_Offset; 220 s32 m_BufferBlockIndex; 257 void UpdateDataLoopAddress( s32 endBufferBlockIndex ); 271 s32* pStartBlockIndex, 273 s32* pLoopCount 284 s32 CalcLoadOffset() const; 303 s32 m_LoopCounter; 339 s32 m_TrackCount; 340 s32 m_ChannelCount;
|
| /NW4C-1.2.23/include/nw/gfx/ |
| D | gfx_ParticleTime.h | 60 ParticleTime(s32 value) 79 s32 GetS32Value() const { return m_ParticleTime / 0x100; } 84 s32 GetParticleTimeValue() const { return m_ParticleTime; } 102 s32 GetIntegralParts() const 116 s32 Floor() const 123 s32 Ceil() const 131 ParticleTime& FMod(s32 value) 138 …ParticleTime& operator =(s32 value) { this->m_ParticleTime = S32ToParticleTime(value); return *thi… 141 …ParticleTime& operator +=(s32 value) { this->m_ParticleTime += S32ToParticleTime(value); return *t… 144 …ParticleTime& operator -=(s32 value) { this->m_ParticleTime -= S32ToParticleTime(value); return *t… [all …]
|
| D | gfx_ShaderBinaryInfo.h | 82 s32 BuildCommonCommand( u32* bufferAddress, u32 bufferSize ); 88 s32 BuildCommonCommand() in BuildCommonCommand() 94 s32 result = this->BuildCommonCommand( currentBuffer, bufferSize ); in BuildCommonCommand() 105 …s32 BuildShaderProgramCommand( s32 vertexIndex, s32 geometryIndex, u32* bufferAddress, u32 bufferS… 115 s32 BuildShaderProgramCommand( s32 vertexIndex, s32 geometryIndex ) in BuildShaderProgramCommand() 121 …s32 result = this->BuildShaderProgramCommand( vertexIndex, geometryIndex, currentBuffer, bufferSiz… in BuildShaderProgramCommand() 142 bool IsGeometryShader(s32 shaderIndex) const in IsGeometryShader() 157 ::std::pair<s32, SymbolType> 158 SearchUniformIndex(s32 shaderIndex, const char* name) const in SearchUniformIndex() 175 s32 symbolIndex = -1; in SearchUniformIndex() [all …]
|
| D | gfx_ShaderProgram.h | 242 …void SetUniformInt(ShaderUniform location, s32 value) const { glUniform1i(m_UniformLocation->GetUn… in SetUniformInt() 250 …void SetUniformInt(ShaderUniform location, s32 x, s32 y) const { glUniform2i(m_UniformLocation->Ge… in SetUniformInt() 259 …void SetUniformInt(ShaderUniform location, s32 x, s32 y, s32 z) const { glUniform3i(m_UniformLocat… in SetUniformInt() 269 …void SetUniformInt(ShaderUniform location, s32 x, s32 y, s32 z, s32 w) const { glUniform4i(m_Unifo… in SetUniformInt() 386 void SetUniforms(ShaderUniform location, const ut::MoveArray<TValue>* array, s32 size) const in SetUniforms() 431 void SetUserVertexUniform(s32 index, ResShaderParameterValue parameter) const in SetUserVertexUniform() 460 void SetUserGeometryUniform(s32 index, ResShaderParameterValue parameter) const in SetUserGeometryUniform() 525 void SetVertexUniformInt(int index, s32 value) const in SetVertexUniformInt() 536 void SetGeometryUniformInt(int index, s32 value) const in SetGeometryUniformInt() 548 void SetVertexUniformInt(int index, s32 x, s32 y) const in SetVertexUniformInt() [all …]
|
| D | gfx_SceneContext.h | 181 Builder& MaxSceneNodes(s32 max) { m_MaxSceneNodes = max; return *this; } in MaxSceneNodes() 184 Builder& MaxModels(s32 max) { m_MaxModels = max; return *this; } in MaxModels() 187 Builder& MaxSkeletalModels(s32 max) { m_MaxSkeletalModels = max; return *this; } in MaxSkeletalModels() 190 Builder& MaxCameras(s32 max) { m_MaxCameras = max; return *this; } in MaxCameras() 193 Builder& MaxLights(s32 max) { m_MaxLights = max; return *this; } in MaxLights() 196 Builder& MaxFragmentLights(s32 max) { m_MaxFragmentLights = max; return *this; } in MaxFragmentLights() 199 Builder& MaxVertexLights(s32 max) { m_MaxVertexLights = max; return *this; } in MaxVertexLights() 202 Builder& MaxHemiSphereLights(s32 max) { m_MaxHemiSphereLights = max; return *this; } in MaxHemiSphereLights() 205 Builder& MaxAmbientLights(s32 max) { m_MaxAmbientLights = max; return *this; } in MaxAmbientLights() 208 Builder& MaxFogs(s32 max) { m_MaxFogs = max; return *this; } in MaxFogs() [all …]
|
| /NW4C-1.2.23/sources/libraries/snd/ |
| D | snd_FxReverb.cpp | 226 const size_t bufSizeForEarlyReflection = sizeof(s32) in GetRequiredMemSize() 228 const size_t bufSizeForPreDelay = sizeof(s32) in GetRequiredMemSize() 230 const size_t bufSizeForFilterComp0 = sizeof(s32) * m_FilterSize.m_Comb0; in GetRequiredMemSize() 231 const size_t bufSizeForFilterComp1 = sizeof(s32) * m_FilterSize.m_Comb1; in GetRequiredMemSize() 232 const size_t bufSizeForFilterAllPass = sizeof(s32) * m_FilterSize.m_AllPass; in GetRequiredMemSize() 250 const size_t bufSizeForEarlyReflection = sizeof(s32) in AllocBuffer() 252 const size_t bufSizeForPreDelay = sizeof(s32) in AllocBuffer() 254 const size_t bufSizeForFilterComp0 = sizeof(s32) * m_FilterSize.m_Comb0; in AllocBuffer() 255 const size_t bufSizeForFilterComp1 = sizeof(s32) * m_FilterSize.m_Comb1; in AllocBuffer() 256 const size_t bufSizeForFilterAllPass = sizeof(s32) * m_FilterSize.m_AllPass; in AllocBuffer() [all …]
|
| D | snd_FxDelay.cpp | 30 s32 FxDelay::s_SampleLength = 0; 123 m_FeedbackGain = static_cast<s32>( static_cast<s32>(0x80L) * param.m_FeedbackGain ); in SetParam() 134 m_LpfCoef1 = static_cast<s32>( static_cast<s32>(0x80L) * lpf_coef_1 ); in SetParam() 135 m_LpfCoef2 = static_cast<s32>( static_cast<s32>(0x80L) * lpf_coef_2 ); in SetParam() 148 ( sizeof(s32) * SAMPLE_PER_FRAME * m_DelayFrames ) * m_ProcessChannelCount; in GetRequiredMemSize() 218 s32 sampleLength, in UpdateBuffer() 245 s32* input[ nn::snd::CHANNEL_INDEX_NUM ]; in UpdateBuffer() 257 s32* in_ptr = &input[ch][0]; in UpdateBuffer() 258 s32* delay_ptr = &m_WorkBuffer.m_Delay[ch][0]; in UpdateBuffer() 259 s32* lpf_ptr = &m_WorkBuffer.m_Lpf[ch]; in UpdateBuffer() [all …]
|
| D | snd_RomSoundArchive.cpp | 210 s32 readSize = nn::fs::ReadFile( &m_FileInfo, file, static_cast<s32>(headerAlignSize) ); in LoadFileHeader() 212 s32 readSize = m_FileReader.Read( file, static_cast<s32>(headerAlignSize) ); in LoadFileHeader() 243 const s32 infoChunkOffset = m_ArchiveReader.GetInfoBlockOffset(); in LoadHeader() 259 s32 readSize = nn::fs::ReadFile( in LoadHeader() 262 static_cast<s32>(infoChunkSize) in LoadHeader() 266 s32 readSize = m_FileReader.Read( buffer, static_cast<s32>(infoChunkSize) ); in LoadHeader() 466 const s32 stringBlockOffset = m_ArchiveReader.GetStringBlockOffset(); in LoadLabelStringData() 486 s32 readSize = nn::fs::ReadFile( in LoadLabelStringData() 489 static_cast<s32>(stringBlockSize) in LoadLabelStringData() 493 s32 readSize = m_FileReader.Read( buffer, static_cast<s32>(stringBlockSize) ); in LoadLabelStringData() [all …]
|
| /NW4C-1.2.23/include/nw/demo/ |
| D | demo_GraphicsDrawing.h | 56 void SetScreenSize( s32 width, s32 height ) in SetScreenSize() 120 void DrawLine( s32 x1, s32 y1, s32 x2, s32 y2, ut::Color8 color ) in DrawLine() 147 void DrawRectangle( s32 posh, s32 posv, s32 sizeh, s32 sizev, ut::Color8 color ) in DrawRectangle() 174 void FillRectangle( s32 posh, s32 posv, s32 sizeh, s32 sizev, ut::Color8 color ) in FillRectangle() 209 void FillTriangles( const math::VEC2* pPointArray, s32 pointCount, ut::Color8 color ); 222 void SetMaxTextCount( s32 maxTextCount ) in SetMaxTextCount() 269 f32 DrawString( s32 posh, s32 posv, const char* format, ... ); 281 f32 DrawStringArgs( s32 posh, s32 posv, const char* format, std::va_list args ); 335 …s32 BuildTriangle( const math::VEC2& pt1, const math::VEC2& pt2, const math::VEC2& pt3, math::VEC2… 344 s32 BuildRectangle( const math::VEC2& pos, const math::VEC2& size, math::VEC2 *pVecArray ); [all …]
|
| D | demo_DebugUtility.h | 201 s32 mainLeakSize = s_DeviceMemoryFreeSize - deviceAllocator->GetFreeSize(); in TestMemoryLeak() 202 s32 particleLeakSize = 0; in TestMemoryLeak() 286 s32 channelNumber, 308 void NotifyMemoryLeak(s32 deviceLeakSize, s32 particleLeakSize); 333 s32 display; 356 s32 isModeEnabled; 361 s32 frameCount; 380 s32 packetType; 381 s32 eventCount; 394 s32 packetType; [all …]
|
| D | demo_GraphicsSystem.h | 103 s32 width; //!< スクリーンの横幅を表します。 104 s32 height; //!< スクリーンの縦幅を表します。 106 ScreenSize(s32 w, s32 h) : width(w), height(h) {} in ScreenSize() 112 s32 x; //!< オフセットのX座標を表します。 113 s32 y; //!< オフセットのY座標を表します。 115 ScreenOffset(s32 x, s32 y) : x(x), y(y) {} in ScreenOffset() 190 s32 callCount; //!< 呼び出し回数です。 347 s32 screenKind, 379 void TransferBuffer(s32 screenKind); 394 void WaitVSync(s32 screenKind); [all …]
|
| D | demo_DisplayBufferSwapper.h | 77 s32 width; //!< バッファの横幅です。 78 s32 height; //!< バッファの縦幅です。 83 s32 transferOffsetX; //!< 転送を行う始点X座標です。 84 s32 transferOffsetY; //!< 転送を行う始点Y座標です。 85 s32 displayOffsetX; //!< 表示を行う始点X座標です。 86 s32 displayOffsetY; //!< 表示を行う始点Y座標です。 125 Builder& BufferSize(s32 width, s32 height) in BufferSize() 133 Builder& Width(s32 width) { m_Description.width = width; return *this; } in Width() 136 Builder& Height(s32 height) { m_Description.height = height; return *this; } in Height() 167 Builder& TransferOffset(s32 x, s32 y) in TransferOffset() [all …]
|
| D | demo_HioPacketChannel.h | 37 static const s32 PACKET_HEADER_ID; 44 s32 channelNumber; //!< シリアル通信のチャンネル番号です。 64 Builder& ChannelNumber(s32 channelNumber) in ChannelNumber() 129 bool Listen(s32 timeOut); 241 static const s32 PACKET_HEADER_ID; 253 Builder& ChannelNumber(s32 ){return *this;} in ChannelNumber() argument 259 bool Listen(s32 ) { return false; } in Listen() argument
|
| /NW4C-1.2.23/demos/Nw4cDemo/include/ |
| D | SmSliderBar.h | 70 s32 m_BaseX; 71 s32 m_BaseY; 72 s32 m_GrabX; 73 s32 m_GrabY; 74 s32 m_OffsetX; 75 s32 m_OffsetY; 76 s32 m_PreOffsetX; 77 s32 m_PreOffsetY;
|
| D | SmRenderSystem.h | 59 s32 width; //!< スクリーンの横幅を表します。 60 s32 height; //!< スクリーンの縦幅を表します。 62 ScreenSize(s32 w, s32 h) : width(w), height(h) {} in ScreenSize() 68 s32 x; //!< オフセットのX座標を表します。 69 s32 y; //!< オフセットのY座標を表します。 71 ScreenOffset(s32 x, s32 y) : x(x), y(y) {} in ScreenOffset() 133 void TransferBuffer(s32 screenKind); 141 void WaitVSync(s32 screenKind); 145 void SwapBuffer( s32 screenKind );
|
| /NW4C-1.2.23/sources/libraries/gfx/res/ |
| D | gfx_ResGraphicsFile.cpp | 42 s32 lutSetsNum = this->GetLutSetsCount(); in Setup() 48 s32 lightNum = this->GetLightsCount(); in Setup() 54 s32 fogNum = this->GetFogsCount(); in Setup() 60 s32 shaderNum = this->GetShadersCount(); in Setup() 66 s32 textureNum = this->GetTexturesCount(); in Setup() 72 s32 skeletalAnimNum = this->GetSkeletalAnimsCount(); in Setup() 78 s32 materialAnimNum = this->GetMaterialAnimsCount(); in Setup() 84 s32 visibilityAnimNum = this->GetVisibilityAnimsCount(); in Setup() 90 s32 cameraAnimNum = this->GetCameraAnimsCount(); in Setup() 96 s32 lightAnimNum = this->GetLightAnimsCount(); in Setup() [all …]
|
| D | gfx_ResModel.cpp | 42 s32 shapeNum = this->GetShapesCount(); in Setup() 51 s32 materialNum = this->GetMaterialsCount(); in Setup() 62 s32 meshNum = this->GetMeshesCount(); in Setup() 78 s32 shapeNum = this->GetShapesCount(); in Cleanup() 87 s32 materialNum = this->GetMaterialsCount(); in Cleanup() 93 s32 meshNum = this->GetMeshesCount(); in Cleanup()
|
| /NW4C-1.2.23/include/nw/ut/ |
| D | ut_ResDictionary.h | 36 virtual s32 GetCount() const = 0; 47 virtual s32 GetIndex(const char* key) const = 0; 48 virtual s32 GetIndex(const ResName n ) const = 0; 66 s32 GetCount() const { return m_Dic.GetCount(); } 74 s32 GetIndex(const char* key) const { return m_Dic.GetIndex( key ); } 75 s32 GetIndex(const ResName n ) const { return m_Dic.GetIndex( n ); } 109 s32 GetCount() const { return ref().numData; } in NW_RES_CTOR() 116 if ( idx < 0 || s32(ref().numData) <= idx ) { return NULL; } 122 s32 idx = this->GetIndex(key); 129 s32 idx = this->GetIndex(key); [all …]
|
| D | ut_ResMetaData.h | 75 NW_RES_FIELD_PRIMITIVE_DECL( s32, DataType ) // GetDataType(), SetDataType() in NW_RES_FIELD_STRING_DECL() 88 s32 GetValuesCount() const { return ref().m_ValuesCount; } in NW_RES_CTOR_INHERIT() 89 const s32* GetValues() const { return &(ref().m_Values[0]); } in GetValues() 90 s32* GetValues() { return &(ref().m_Values[0]); } in GetValues() 92 s32 GetValues(int idx) const { return ref().m_Values[idx]; } in GetValues() 93 void SetValues(int idx, s32 value) { ref().m_Values[idx] = value; } in SetValues() 106 s32 GetValuesCount() const { return ref().m_ValuesCount; } in NW_RES_CTOR_INHERIT() 133 NW_RES_FIELD_PRIMITIVE_DECL( s32, Encoding ) // GetEncoding() in NW_RES_CTOR_INHERIT() 135 s32 GetValuesCount() const { return ref().m_ValuesCount; } in NW_RES_CTOR_INHERIT()
|
| D | ut_HeapBase.h | 101 s32 GetTotalSize() { return ((s32)(mHeapEnd) - (s32)(this)); } in GetTotalSize() 102 s32 GetTotalUsableSize() { return ((s32)(mHeapEnd) - (s32)(mHeapStart)); } in GetTotalUsableSize()
|
| /NW4C-1.2.23/include/nw/gfx/res/ |
| D | gfx_ResMesh.h | 44 s32 m_ActivateCommandCacheSize; 46 s32 m_DeactivateCommandCacheSize; 126 NW_RES_FIELD_PRIMITIVE_DECL( s32, ShapeIndex ) // GetShapeIndex(), SetShapeIndex() in NW_RES_CTOR_INHERIT() 127 …NW_RES_FIELD_PRIMITIVE_DECL( s32, MaterialIndex ) // GetMaterialIndex(), SetMaterialIndex() in NW_RES_CTOR_INHERIT() 131 …NW_RES_FIELD_PRIMITIVE_DECL( s32, CurrentPrimitiveIndex ) // GetCurrentPrimitiveIndex(), SetCurren… in NW_RES_CTOR_INHERIT() 135 …NW_RES_FIELD_PRIMITIVE_DECL( s32, MeshNodeVisibilityIndex ) // GetMeshNodeVisibilityIndex(), Set… in NW_RES_CTOR_INHERIT()
|
| D | gfx_ResShader.h | 117 s32 m_CommandCacheSize; 184 const s32* GetValueS32() const { return reinterpret_cast<const s32*>( &ref().m_Value[0] ); } in GetValueS32() 194 s32* GetValueS32() { return reinterpret_cast<s32*>( &ref().m_Value[0] ); } in GetValueS32() 201 … bool GetValueBool() const { return *reinterpret_cast<const s32*>( &ref().m_Value[0]) != 0; } in GetValueBool() 211 s32* pValue = this->GetValueS32(); in SetValue() 353 NW_RES_FIELD_PRIMITIVE_DECL( s32, SymbolIndex ) // GetSymbolIndex(), SetSymbolIndex() in NW_RES_CTOR() 359 s32 GetParameterLength() in NW_RES_CTOR() 437 NW_RES_FIELD_PRIMITIVE_DECL( s32, Location) // GetLocation(), SetLocation() 577 …NW_RES_FIELD_PRIMITIVE_DECL( s32, VertexShaderIndex ) // GetVertexShaderIndex(), SetVert… in NW_RES_FIELD_PRIMITIVE_DECL() 578 …NW_RES_FIELD_PRIMITIVE_DECL( s32, GeometryShaderIndex ) // GetGeometryShaderIndex(), SetGe… in NW_RES_FIELD_PRIMITIVE_DECL() [all …]
|
| /NW4C-1.2.23/include/nw/io/ |
| D | io_IOStream.h | 36 typedef void (*IOStreamCallback)(s32 result, IOStream* stream, void* arg); 127 virtual s32 Read( void* buf, u32 length ); 170 virtual s32 Write( const void* buf, u32 length ); 202 s32 WaitAsync() const; 253 s32 mAsyncResult; // 非同期処理の結果格納
|