Home
last modified time | relevance | path

Searched refs:s32 (Results 1 – 25 of 237) sorted by relevance

12345678910

/NW4C-1.3.3/include/nw/snd/
Dsnd_FxReverb.h241 s32 sampleLength,
366 s32* m_EarlyReflection[4]; // 初期反射用
367 s32* m_PreDelay[4]; // プリディレイ用
368 s32* m_CombFilter[4][2]; // くし型フィルタ用(2段)
369 s32* m_AllPassFilter[4]; // 全域通過フィルタ用(1段)
370 s32 m_Lpf[4]; // LPF用
386 s32 m_EarlyLength;
387 s32 m_EarlyPos;
389 s32 m_PreDelayLength;
390 s32 m_PreDelayPos;
[all …]
Dsnd_FxDelay.h143 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;
/NW4C-1.3.3/include/nw/demo/
Ddemo_DebugUtility.h44 static const s32 NW_PROFILE_OUTPUT_INTERVAL = 600;
45 static const s32 NW_LOAD_METER_INTERVAL = 60;
47 static const s32 POS_COMMAND_SIZE_X = 15;
48 static const s32 POS_COMMAND_SIZE_Y = 115;
49 static const s32 POS_LOAD_METER_X = 16;
50 static const s32 POS_LOAD_METER_Y = 140;
51 static const s32 HEIGHT_LOAD_METER = 18;
52 static const s32 POS_BAR_CHART_X = 15;
53 static const s32 POS_BAR_CHART_Y = 188;
54 static const s32 WIDTH_LOAD_METER_BAR_CHART = 256;
[all …]
Ddemo_GraphicsDrawing.h58 void SetScreenSize( s32 width, s32 height ) in SetScreenSize()
119 void SetMaxShapeVertexCount( s32 maxShapeVertexCount ) in SetMaxShapeVertexCount()
152 void DrawLine( s32 x1, s32 y1, s32 x2, s32 y2, ut::Color8 color ) in DrawLine()
179 void DrawRectangle( s32 posh, s32 posv, s32 sizeh, s32 sizev, ut::Color8 color ) in DrawRectangle()
206 void FillRectangle( s32 posh, s32 posv, s32 sizeh, s32 sizev, ut::Color8 color ) in FillRectangle()
241 void FillTriangles( const math::VEC2* pPointArray, s32 pointCount, ut::Color8 color );
254 void SetMaxTextCount( s32 maxTextCount ) in SetMaxTextCount()
316 f32 DrawString( s32 posh, s32 posv, const char* format, ... );
328 f32 DrawStringArgs( s32 posh, s32 posv, const char* format, std::va_list args );
363s32 BuildTriangle( const math::VEC2& pt1, const math::VEC2& pt2, const math::VEC2& pt3, math::VEC2…
[all …]
Ddemo_GraphicsSystem.h103 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 …]
Ddemo_DisplayBufferSwapper.h77 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 …]
Ddemo_HioPacketChannel.h37 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.3.3/include/nw/gfx/
Dgfx_ShaderBinaryInfo.h84 s32 GetCommonCommandSize() const;
94 s32 BuildCommonCommand( u32* bufferAddress, u32 bufferSize ) const;
102 s32 BuildCommonCommand() const in BuildCommonCommand()
108 s32 result = this->BuildCommonCommand( currentBuffer, bufferSize ); in BuildCommonCommand()
126 s32 GetShaderProgramCommandSize( s32 vertexIndex, s32 geometryIndex ) const;
138s32 BuildShaderProgramCommand( s32 vertexIndex, s32 geometryIndex, u32* bufferAddress, u32 bufferS…
148 s32 BuildShaderProgramCommand( s32 vertexIndex, s32 geometryIndex ) const in BuildShaderProgramCommand()
154s32 result = this->BuildShaderProgramCommand( vertexIndex, geometryIndex, currentBuffer, bufferSiz… in BuildShaderProgramCommand()
175 bool IsGeometryShader(s32 shaderIndex) const in IsGeometryShader()
191 __declspec(noinline) ::std::pair<s32, SymbolType>
[all …]
Dgfx_ParticleTime.h60 ParticleTime(s32 value)
79 s32 GetS32Value() const { return m_ParticleTime / 0x100; }
84 s32 GetParticleTimeValue() const { return m_ParticleTime; }
116 s32 GetIntegralParts() const
130 s32 Floor() const
137 s32 Ceil() const
145 ParticleTime& FMod(s32 value)
152 …ParticleTime& operator =(s32 value) { this->m_ParticleTime = S32ToParticleTime(value); return *thi…
155 …ParticleTime& operator +=(s32 value) { this->m_ParticleTime += S32ToParticleTime(value); return *t…
158 …ParticleTime& operator -=(s32 value) { this->m_ParticleTime -= S32ToParticleTime(value); return *t…
[all …]
Dgfx_ShaderProgram.h243 …void SetUniformInt(ShaderUniform location, s32 value) const { glUniform1i(m_UniformLocation->GetUn… in SetUniformInt()
251 …void SetUniformInt(ShaderUniform location, s32 x, s32 y) const { glUniform2i(m_UniformLocation->Ge… in SetUniformInt()
260 …void SetUniformInt(ShaderUniform location, s32 x, s32 y, s32 z) const { glUniform3i(m_UniformLocat… in SetUniformInt()
270 …void SetUniformInt(ShaderUniform location, s32 x, s32 y, s32 z, s32 w) const { glUniform4i(m_Unifo… in SetUniformInt()
387 void SetUniforms(ShaderUniform location, const ut::MoveArray<TValue>* array, s32 size) const in SetUniforms()
432 void SetUserVertexUniform(s32 index, ResShaderParameterValue parameter) const in SetUserVertexUniform()
461 void SetUserGeometryUniform(s32 index, ResShaderParameterValue parameter) const in SetUserGeometryUniform()
526 void SetVertexUniformInt(int index, s32 value) const in SetVertexUniformInt()
537 void SetGeometryUniformInt(int index, s32 value) const in SetGeometryUniformInt()
549 void SetVertexUniformInt(int index, s32 x, s32 y) const in SetVertexUniformInt()
[all …]
Dgfx_SceneContext.h181 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 …]
Dgfx_ActivateCommand.h91 static NW_INLINE u32 GetVertexFormat(s32 dimension, GLuint format) in GetVertexFormat()
115 static NW_INLINE u32 GetVertexSize(s32 dimension, GLuint format) in GetVertexSize()
140 ActivateFragmentLightCount(s32 count) in ActivateFragmentLightCount()
182 ActivateFragmentLight(s32 index, ResMaterialColor materialColor, const FragmentLight* light, bool u… in ActivateFragmentLight()
271 ActivateFragmentLightParameters(s32 index, bool isDirectional, bool twoSided, bool geomFactor0, boo… in ActivateFragmentLightParameters()
403 s32 SetupVertexAttributeCommand(
408 s32 SetupVertexAttributeCommand(
421 s32 SetupDeactivateVertexAttributeCommand(
426 s32 SetupDeactivateVertexAttributeCommand(
439 s32 SetupShaderProgramMode(bool useGeometry);
[all …]
/NW4C-1.3.3/sources/libraries/snd/
Dsnd_FxReverb.cpp231 const size_t bufSizeForEarlyReflection = sizeof(s32) in GetRequiredMemSize()
233 const size_t bufSizeForPreDelay = sizeof(s32) in GetRequiredMemSize()
235 const size_t bufSizeForFilterComp0 = sizeof(s32) * m_FilterSize.m_Comb0; in GetRequiredMemSize()
236 const size_t bufSizeForFilterComp1 = sizeof(s32) * m_FilterSize.m_Comb1; in GetRequiredMemSize()
237 const size_t bufSizeForFilterAllPass = sizeof(s32) * m_FilterSize.m_AllPass; in GetRequiredMemSize()
255 const size_t bufSizeForEarlyReflection = sizeof(s32) in AllocBuffer()
257 const size_t bufSizeForPreDelay = sizeof(s32) in AllocBuffer()
259 const size_t bufSizeForFilterComp0 = sizeof(s32) * m_FilterSize.m_Comb0; in AllocBuffer()
260 const size_t bufSizeForFilterComp1 = sizeof(s32) * m_FilterSize.m_Comb1; in AllocBuffer()
261 const size_t bufSizeForFilterAllPass = sizeof(s32) * m_FilterSize.m_AllPass; in AllocBuffer()
[all …]
Dsnd_FxDelay.cpp30 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 …]
/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_ActivateCommand.cpp155 s32
161 s32 commandSize = 12; in CalcSetupActivateVertexAttributeCommandSize_()
163 s32 vtxAttrNum = shape.GetVertexAttributesCount(); in CalcSetupActivateVertexAttributeCommandSize_()
166 for ( s32 i = 0; i < vtxAttrNum; ++ i ) in CalcSetupActivateVertexAttributeCommandSize_()
190 s32
199 s32 vtxAttrNum = shape.GetVertexAttributesCount(); in CalcSetupDeactivateVertexAttributeCommandSize_()
200 s32 commandIndex = 0; in CalcSetupDeactivateVertexAttributeCommandSize_()
203 for ( s32 i = 0; i < vtxAttrNum; ++ i ) in CalcSetupDeactivateVertexAttributeCommandSize_()
217 s32 streamCount = interleave.GetVertexStreamsCount(); in CalcSetupDeactivateVertexAttributeCommandSize_()
247 NW_INLINE s32
[all …]
Dgfx_ShaderBinaryInfo.cpp78 s32
81 s32 size = 0; in GetCommonCommandSize()
94 s32
95 ShaderBinaryInfo::GetShaderProgramCommandSize( s32 vertexIndex, s32 geometryIndex ) const in GetShaderProgramCommandSize()
97 s32 size = 0; in GetShaderProgramCommandSize()
114 s32
121 s32 size = 0; in GetProgramCommandSize()
138 s32
141 s32 size = 0; in GetSwizzleCommandSize()
156 s32
[all …]
/NW4C-1.3.3/demos/Nw4cDemo/include/
DSmSliderBar.h70 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;
DSmRenderSystem.h54 s32 width; //!< スクリーンの横幅を表します。
55 s32 height; //!< スクリーンの縦幅を表します。
57 ScreenSize(s32 w, s32 h) : width(w), height(h) {} in ScreenSize()
63 s32 x; //!< オフセットのX座標を表します。
64 s32 y; //!< オフセットのY座標を表します。
66 ScreenOffset(s32 x, s32 y) : x(x), y(y) {} in ScreenOffset()
114 void TransferBuffer(s32 screenKind);
122 void WaitVSync(s32 screenKind);
126 void SwapBuffer( s32 screenKind );
/NW4C-1.3.3/sources/libraries/gfx/res/
Dgfx_ResGraphicsFile.cpp42 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 …]
Dgfx_ResModel.cpp42 s32 shapeNum = this->GetShapesCount(); in Setup()
51 s32 materialNum = this->GetMaterialsCount(); in Setup()
65 s32 meshNum = this->GetMeshesCount(); in Setup()
84 s32 shapeNum = this->GetShapesCount(); in Cleanup()
93 s32 materialNum = this->GetMaterialsCount(); in Cleanup()
99 s32 meshNum = this->GetMeshesCount(); in Cleanup()
/NW4C-1.3.3/include/nw/ut/
Dut_ResDictionary.h36 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 …]
Dut_ResMetaData.h75 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()
/NW4C-1.3.3/sources/libraries/demo/
Ddemo_DebugUtility.cpp33 s32 DebugUtility::s_ProfileCallCount = 0;
34 s32 DebugUtility::s_DebugFrameCount = 0;
103 static const s32 POS_LOAD_METER_TEXT_X = POS_LOAD_METER_X + 15; in DrawLoadMeterText()
104 static const s32 POS_BAR_CHART_TEXT_X = POS_BAR_CHART_X + 14; in DrawLoadMeterText()
146 static const s32 POS_BAR_CHART_BACKGROUND_X = POS_BAR_CHART_X + 8; in DrawLoadMeter()
147 static const s32 WIDTH_BAR_CHART_BACKGROUND = WIDTH_LOAD_METER_BAR_CHART + 2; in DrawLoadMeter()
148 static const s32 HEIGHT_BAR_CHART_BACKGROUND = 15; in DrawLoadMeter()
149 static const s32 WIDTH_BAR_CHART_LEFTBOX = 8; in DrawLoadMeter()
150 static const s32 HEIGHT_BAR_CHART_LEFTBOX = 16; in DrawLoadMeter()
151 static const s32 POS_BAR_CHART_LINE_Y = POS_BAR_CHART_Y + HEIGHT_BAR_CHART_LEFTBOX; in DrawLoadMeter()
[all …]
/NW4C-1.3.3/include/nw/gfx/res/
Dgfx_ResMesh.h44 s32 m_ActivateCommandCacheSize;
46 s32 m_DeactivateCommandCacheSize;
139 NW_RES_FIELD_PRIMITIVE_DECL( s32, ShapeIndex ) // GetShapeIndex(), SetShapeIndex() in NW_RES_CTOR_INHERIT()
140 …NW_RES_FIELD_PRIMITIVE_DECL( s32, MaterialIndex ) // GetMaterialIndex(), SetMaterialIndex() in NW_RES_CTOR_INHERIT()
144 …NW_RES_FIELD_PRIMITIVE_DECL( s32, CurrentPrimitiveIndex ) // GetCurrentPrimitiveIndex(), SetCurren… in NW_RES_CTOR_INHERIT()
148 …NW_RES_FIELD_PRIMITIVE_DECL( s32, MeshNodeVisibilityIndex ) // GetMeshNodeVisibilityIndex(), Set… in NW_RES_CTOR_INHERIT()
Dgfx_ResShader.h117 s32 m_CommandCacheSize;
185 const s32* GetValueS32() const { return reinterpret_cast<const s32*>( &ref().m_Value[0] ); } in GetValueS32()
195 s32* GetValueS32() { return reinterpret_cast<s32*>( &ref().m_Value[0] ); } in GetValueS32()
202 … bool GetValueBool() const { return *reinterpret_cast<const s32*>( &ref().m_Value[0]) != 0; } in GetValueBool()
212 s32* pValue = this->GetValueS32(); in SetValue()
354 NW_RES_FIELD_PRIMITIVE_DECL( s32, SymbolIndex ) // GetSymbolIndex(), SetSymbolIndex() in NW_RES_CTOR()
360 s32 GetParameterLength() in NW_RES_CTOR()
438 NW_RES_FIELD_PRIMITIVE_DECL( s32, Location) // GetLocation(), SetLocation()
508 …NW_RES_FIELD_PRIMITIVE_DECL( s32, VertexShaderIndex ) // GetVertexShaderIndex(), SetVert… in NW_RES_FIELD_FLAGS_DECL()
518 …NW_RES_FIELD_PRIMITIVE_DECL( s32, GeometryShaderIndex ) // GetGeometryShaderIndex(), SetGe… in NW_RES_FIELD_FLAGS_DECL()
[all …]

12345678910