Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 63) sorted by relevance

123

/NW4C-2.0.3/sources/libraries/font/
Dfont_Font.cpp45 GLenum format = GL_ALPHA_NATIVE_DMP; in LoadTexture() local
49 …case FONT_SHEET_FORMAT_A4: format = GL_ALPHA_NATIVE_DMP; type = GL_UNSIGNED_4BI… in LoadTexture()
50 …case FONT_SHEET_FORMAT_A8: format = GL_ALPHA_NATIVE_DMP; type = GL_UNSIGNED_BYT… in LoadTexture()
51 …case FONT_SHEET_FORMAT_LA4: format = GL_LUMINANCE_ALPHA_NATIVE_DMP; type = GL_UNSIGNED_BYT… in LoadTexture()
52 …case FONT_SHEET_FORMAT_LA8: format = GL_LUMINANCE_ALPHA_NATIVE_DMP; type = GL_UNSIGNED_BYT… in LoadTexture()
54 …case FONT_SHEET_FORMAT_RGBA4: format = GL_RGBA_NATIVE_DMP; type = GL_UNSIGNED_SHO… in LoadTexture()
55 …case FONT_SHEET_FORMAT_RGB5A1: format = GL_RGBA_NATIVE_DMP; type = GL_UNSIGNED_SHO… in LoadTexture()
56 …case FONT_SHEET_FORMAT_RGBA8: format = GL_RGBA_NATIVE_DMP; type = GL_UNSIGNED_BYT… in LoadTexture()
57 …case FONT_SHEET_FORMAT_RGB565: format = GL_RGB_NATIVE_DMP; type = GL_UNSIGNED_SHO… in LoadTexture()
58 …case FONT_SHEET_FORMAT_RGB8: format = GL_RGB_NATIVE_DMP; type = GL_UNSIGNED_BYT… in LoadTexture()
[all …]
Dfont_TextWriterBase.cpp148 StreamType format, in CalcFormatStringWidth() argument
152 NN_POINTER_ASSERT(format); in CalcFormatStringWidth()
156 va_start(vargs, format); in CalcFormatStringWidth()
158 CalcVStringRect(&rect, format, vargs); in CalcFormatStringWidth()
167 StreamType format, in CalcFormatStringHeight() argument
171 NN_POINTER_ASSERT(format); in CalcFormatStringHeight()
175 va_start(vargs, format); in CalcFormatStringHeight()
177 CalcVStringRect(&rect, format, vargs); in CalcFormatStringHeight()
187 StreamType format, in CalcFormatStringRect() argument
192 NN_POINTER_ASSERT(format); in CalcFormatStringRect()
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/
DNW4C_BatchExport.ms12 format "\nInput Folder: %s\n" inDir
16 format "Output Folder: %s\n" outDir
21 format "\nBegin Export\n"
27 format "-----------------------------\n"
28 format "Export Max File(%)\n" f
48 format "Export Error\n"
53 format "Unknown System Error\n"
60 format "Load Error\n"
65 format "Finish Export\n"
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_OffScreenBuffer.cpp46 GLuint format; in OffScreenBuffer() local
50 case ResPixelBasedTexture::FORMAT_HW_RGBA8: format = GL_RGBA8_OES; break; in OffScreenBuffer()
51 case ResPixelBasedTexture::FORMAT_HW_RGBA5551: format = GL_RGB5_A1; break; in OffScreenBuffer()
52 case ResPixelBasedTexture::FORMAT_HW_RGBA4: format = GL_RGBA4; break; in OffScreenBuffer()
53 case ResPixelBasedTexture::FORMAT_HW_RGB565: format = GL_RGB565; break; in OffScreenBuffer()
58 m_BackBufferObject.SetColorFormat( format ); in OffScreenBuffer()
/NW4C-2.0.3/include/nw/font/
Dfont_TextWriterBase.h237 const CharType* format,
279 const CharType* format,
318 const CharType* format,
331 const CharType* format,
378 const CharType* format,
389 const CharType* format,
493 const char* format, in VSNPrintf() argument
501 return vsnprintf(buffer, count, format, arg); in VSNPrintf()
507 const wchar_t* format, in VSNPrintf() argument
515 return vswprintf(buffer, count, format, arg); in VSNPrintf()
/NW4C-2.0.3/include/nw/dev/
Ddev_DirectPrint.h54 GLuint format, in FrameBufferInfo()
58 m_Format(format), in FrameBufferInfo()
153 GLuint format,
286 void Printf(int x, int y, const char* format, ...);
298 void Printf(int x, int y, bool turnOver, const char* format, ...);
313 const char* format,
328 const char* format,
Ddev_Utility.h39 int CalcMemorySize(GLint format, int width, int height);
42 int FormatToByte(GLint format);
Ddev_Screenshot.h51 : format(0), in DisplayDescription()
59 GLint format; //!< カラーフォーマットです。 member
258 : format(0),
266 GLint format;
/NW4C-2.0.3/sources/libraries/dev/
Ddev_Utility.cpp58 FormatToByte(GLint format) in FormatToByte() argument
62 switch (format) in FormatToByte()
101 CalcMemorySize(GLint format, int width, int height) in CalcMemorySize() argument
103 int pixelSize = FormatToByte(format); in CalcMemorySize()
Ddev_DirectPrint.cpp789 GetPixelWriter_(GLuint format) in GetPixelWriter_() argument
791 switch (format) in GetPixelWriter_()
824 NW_FATAL_ERROR("unexpected pixel format (0x%x).", format); in GetPixelWriter_()
879 GLuint format, in SetTargetBuffer() argument
884 m_Buffer.m_Format = format; in SetTargetBuffer()
902 GLint format = 0; in SetTargetActiveDisplayBuffer() local
903 nngxGetDisplaybufferParameteri(NN_GX_DISPLAYBUFFER_FORMAT, &format); in SetTargetActiveDisplayBuffer()
910 format, in SetTargetActiveDisplayBuffer()
944 DirectPrint::Printf(int x, int y, const char* format, ...) in Printf() argument
948 va_start(vargs, format); in Printf()
[all …]
Ddev_Profile.cpp221 char* format = "|%9.3f|%5d|%7.3f| %5.2f|%7.3f|%7.3f|"; in DumpReports() local
222 ut::snprintf(formatString, MAX_LENGTH, MAX_LENGTH - 1, format, in DumpReports()
234 char* format = "%5llu|"; in DumpReports() local
235 ut::snprintf(formatString, MAX_LENGTH, MAX_LENGTH - 1, format, iCacheMiss); in DumpReports()
241 char* format = "%6llu|"; in DumpReports() local
242 ut::snprintf(formatString, MAX_LENGTH, MAX_LENGTH - 1, format, dCacheReadMiss); in DumpReports()
248 char* format = "%6llu|"; in DumpReports() local
249 ut::snprintf(formatString, MAX_LENGTH, MAX_LENGTH - 1, format, dCacheWriteMiss); in DumpReports()
Ddev_Screenshot.cpp175 nngxGetDisplaybufferParameteri(NN_GX_DISPLAYBUFFER_FORMAT, &displayDescription.format); in Take()
182 …if (displayDescription.format == 0 || displayDescription.width == 0 || displayDescription.height =… in Take()
187 …int length = CalcMemorySize(displayDescription.format, displayDescription.width, displayDescriptio… in Take()
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_Util.cpp39 GLenum format; member
244 TexFormat format = texResource.GetFormat(); in LoadTexture() local
249 if (texSpec[format].final) in LoadTexture()
251 NW_WARNING(false, "unsupported texture format (%d).", format); in LoadTexture()
256 u16 realWidth = texSpec[format].minSize; in LoadTexture()
263 u16 realHeight = texSpec[format].minSize; in LoadTexture()
305 if (texSpec[format].compressed) in LoadTexture()
310 texSpec[format].format, in LoadTexture()
323 texSpec[format].format, in LoadTexture()
327 texSpec[format].format, in LoadTexture()
[all …]
/NW4C-2.0.3/include/nw/lyt/
Dlyt_TexMap.h341 return TexFormat(m_Bits.format); in GetFormat()
350 void SetFormat(TexFormat format) in SetFormat() argument
352 m_Bits.format = format; in SetFormat()
376 m_Bits.format = src.GetFormat(); in Set()
450 u32 format: 4; member
Dlyt_TexResource.h194 return static_cast<lyt::TexFormat>(m_pImage->format); in GetFormat()
211 return m_pImage->format == lyt::TEXFORMAT_L4 in Is4bitFormat()
212 || m_pImage->format == lyt::TEXFORMAT_A4; in Is4bitFormat()
/NW4C-2.0.3/sources/libraries/snd/
Dsnd_WaveFileReader.cpp76 SampleFormat WaveFileReader::GetSampleFormat( u8 format ) in GetSampleFormat() argument
78 switch ( format ) in GetSampleFormat()
84 NW_ASSERTMSG( false, "Unknown wave data format(%d)", format ); in GetSampleFormat()
122 const SampleFormat format = GetSampleFormat( m_pInfoBlockBody->encoding ); in ReadWaveInfo() local
123 info->sampleFormat = format; in ReadWaveInfo()
Dsnd_Util.cpp952 unsigned long Util::GetSampleByByte( unsigned long byte, SampleFormat format ) in GetSampleByByte() argument
957 switch ( format ) in GetSampleByByte()
988 unsigned long Util::GetByteBySample( unsigned long samples, SampleFormat format ) in GetByteBySample() argument
993 switch ( format ) in GetByteBySample()
/NW4C-2.0.3/include/nw/demo/
Ddemo_DisplayBufferSwapper.h81 gfx::RenderColorFormat format; //!< バッファのカラーフォーマットです。 member
96 format(gfx::RENDER_COLOR_FORMAT_RGB8), in Description()
141 Builder& Format(gfx::RenderColorFormat format) in Format() argument
143 m_Description.format = format; in Format()
/NW4C-2.0.3/include/nw/ut/
Dut_Inlines.h248 const char* format, in vsnprintf() argument
257 int result = ::vsnprintf( dest, srcCount, format, vargs ); in vsnprintf()
259 int result = std::vsnprintf( dest, srcCount, format, vargs ); in vsnprintf()
289 const wchar_t* format, in vsnwprintf() argument
298 int result = ::_vsnwprintf( dest, srcCount, format, vargs ); in vsnwprintf()
300 int result = std::vswprintf( dest, srcCount, format, vargs ); in vsnwprintf()
329 const char* format, in snprintf() argument
333 va_start(vargs, format); in snprintf()
335 int result = vsnprintf(dest, destCount, srcCount, format, vargs); in snprintf()
358 const wchar_t* format, in snwprintf() argument
[all …]
/NW4C-2.0.3/include/nw/gfx/
Dgfx_IRenderTarget.h166 Builder& ColorFormat(RenderColorFormat format) in ColorFormat() argument
168 m_Description.colorFormat = format; in ColorFormat()
173 Builder& DepthFormat(RenderDepthFormat format) in DepthFormat() argument
175 m_Description.depthFormat = format; in DepthFormat()
Dgfx_ActivateCommand.h93 static NW_INLINE u32 GetVertexFormat(s32 dimension, GLuint format) in GetVertexFormat() argument
97 switch ( format ) in GetVertexFormat()
117 static NW_INLINE u32 GetVertexSize(s32 dimension, GLuint format) in GetVertexSize() argument
121 switch ( format ) in GetVertexSize()
/NW4C-2.0.3/include/nw/snd/
Dsnd_HardwareChannel.h64 SampleFormat format
80 SampleFormat format );
91 void Initialize( const void* waveAddr, SampleFormat format, int sampleRate );
/NW4C-2.0.3/sources/libraries/demo/
Ddemo_GraphicsDrawing.cpp519 GraphicsDrawing::DrawString( const char* format, ... ) in DrawString() argument
521 NW_NULL_ASSERT( format ); in DrawString()
524 va_start(vargs, format); in DrawString()
527 f32 width = m_TextWriter.VPrintf(format, vargs); in DrawString()
540 GraphicsDrawing::DrawString( s32 posh, s32 posv, const char* format, ... ) in DrawString() argument
542 NW_NULL_ASSERT( format ); in DrawString()
547 va_start(vargs, format); in DrawString()
549 f32 width = this->DrawStringArgs( posh, posv, format, vargs); in DrawString()
558 GraphicsDrawing::DrawStringArgs( s32 posh, s32 posv, const char* format, std::va_list args ) in DrawStringArgs() argument
560 NW_NULL_ASSERT( format ); in DrawStringArgs()
[all …]
/NW4C-2.0.3/sources/libraries/snd/platform/
Dsnd_HardwareChannelAX.cppi47 NW_ASSERTMSG( false, "Invalid format\n" );
58 SampleFormat format )
67 switch ( format )
92 NW_ASSERTMSG( false, "Invalid format\n" );
102 SampleFormat format )
111 switch ( format )
127 NW_ASSERTMSG( false, "Invalid format\n" );
184 NW_ASSERTMSG( false, "Invalid format\n" );
314 addr.format = GetSDKFormatFromSampleFormat( m_Format );
363 NW_ASSERTMSG( false, "Invalid format\n" );
/NW4C-2.0.3/sources/libraries/gfx/res/
Dgfx_ResTextureMapper.cpp710 uint format = texture.GetFormatHW(); in SetupTextureMapperCommand() local
712 command[0] |= format & FORMAT_MASK; in SetupTextureMapperCommand()
722 if (format == ResImageTexture::FORMAT_HW_ETC1) in SetupTextureMapperCommand()
792 uint format = texture.GetFormatHW(); in SetupTextureMapperCommand() local
807 command[0] |= format & 0xF; in SetupTextureMapperCommand()
814 if (format == ResImageTexture::FORMAT_HW_ETC1) in SetupTextureMapperCommand()
870 uint format = texture.GetFormatHW(); in SetupTextureMapperCommand() local
872 command[0] |= format & FORMAT_MASK; in SetupTextureMapperCommand()

123