Home
last modified time | relevance | path

Searched refs:u16 (Results 1 – 25 of 104) sorted by relevance

12345

/NW4C-1.2.23/include/nw/font/
Dfont_ResourceFormat.h79 const u16 INVALID_CHAR_CODE = 0xFFFF;
80 const u16 INVALID_GLYPH_INDEX = 0xFFFF;
178 u16 ccode; // 文字コード
179 u16 index; // グリフインデックス
189 u16 num; // entries の要素数
212 u16 glyphsPerSheet;
213 u16 numSet;
214 u16 numSheet;
215 u16 numCWDH;
216 u16 numCMAP;
[all …]
Dfont_ArchiveFontBase.h194 u16* pAdjustTable, in Init()
195 u16 nSheets, in Init()
196 u16 nPerSheet, in Init()
210 u16* pAdjustTable,
211 u16 nSheets,
212 u16 nPerSheet,
247 u16** ppAdjustTable);
250 u16 GetNumSheets() const { return numSheets; } in GetNumSheets()
252 u16 GetNumGlyphsPerSheet() const { return glyphsPerSheet; } in GetNumGlyphsPerSheet()
337 u16* pGlyphIndexAdjustTable;
[all …]
Dfont_Font.h39 typedef u16 TexFmt;
47 u16 height; //!< 高さ
48 u16 width; //!< 幅
64 u16 width,
65 u16 height);
116 typedef u16 CharCode;
126 u16 texWidth; //!< シートの幅
127 u16 texHeight; //!< シートの高さ
128 u16 cellX; //!< シート内でのセル左上隅のx座標
129 u16 cellY; //!< シート内でのセル左上隅のy座標
[all …]
Dfont_PackedFont.h269 u16 prevIndex;
270 u16 nextIndex;
351 static const u16 LOCKED_INDEX = 0xFFFF;
354 u16 mNumOrderNode;
355 u16 mNumLockedNode;
362 static const u16 SHEET_INDEX_NOT_LOADED = 0xFFFF;
497 u16* AssignMemory(
563 u16 m_NumCompSheet; //!< ロードしたシートの数
564 u16 m_NumSheetCache; //!< シートキャッシュの数
567 u16* m_pCacheIndexArray; // mNumLoadedSheet
[all …]
Dfont_CharStrmReader.h102 u16 Next() { return (this->*mReadFunc)(); } in Next()
110 typedef u16 (CharStrmReader::*ReadNextCharFunc)();
150 u16 ReadNextCharUTF8();
157 u16 ReadNextCharUTF16();
164 u16 ReadNextCharCP1252();
171 u16 ReadNextCharSJIS();
Dfont_DispStringBuffer.h50 u16 charCount; //!< 格納した文字数
51 u16 drawCharCount; //!< 描画コマンドを生成する文字数
94 u16 GetDrawCharCount() const { return drawCharCount; } in GetDrawCharCount()
97 void SetDrawCharCount(u16 count) in SetDrawCharCount()
Dfont_RectDrawerCommand.h63 u16 width; //!< 幅
64 u16 height; //!< 高さ
104 PICA_CMD_DATA_VIEWPORT_XY( static_cast<u16>(x), static_cast<u16>(y) ), \
116 static_cast<u16>( (s) >= (c) ? (c) - 1: ((s) < 0 ? 0: (s)) )
/NW4C-1.2.23/sources/libraries/font/
Dfont_CharStrmReader.cpp64 u16
71 u16 code; in ReadNextCharUTF8()
82 code = static_cast<u16>( in ReadNextCharUTF8()
94 code = static_cast<u16>( in ReadNextCharUTF8()
105 u16
111 u16 code; in ReadNextCharUTF16()
113 code = GetChar<u16>(); in ReadNextCharUTF16()
114 StepStrm<u16>(); in ReadNextCharUTF16()
119 u16
124 u16 code; in ReadNextCharCP1252()
[all …]
Dfont_PackedFont.cpp235 u16* pAdjustArray; in StreamingConstruct()
323 u16 adjustedIndex = AdjustIndex(index); in GetGlyph()
568 u32 sizeResSheetIndexArray = sizeof(u16) * numSheetCache; in CalcCacheSize()
589 u16*
601 u16* pGlyphIndexAdjustArray; in AssignMemory()
604 u32 sizeGlyphIndexAdjustArray = math::RoundUp(sizeof(u16) * numResSheet, 2); in AssignMemory()
605 u32 sizeCacheIndexArray = math::RoundUp(sizeof(u16) * numLoadSheet, 2); in AssignMemory()
620 + sizeof(u16) + sizeof(internal::TextureObject) in AssignMemory()
625 u32 sizeCacheUserArray = sizeof(u16) * numSheetCache; in AssignMemory()
641 m_NumSheetCache = static_cast<u16>(numSheetCache); in AssignMemory()
[all …]
Dfont_ArchiveFontBase.cpp98 u16* pAdjustTable ) in SetResourceBuffer()
124 u16
125 ArchiveFontBase::AdjustIndex(u16 index) const in AdjustIndex()
131 const u16 adjustor = m_pGlyphIndexAdjustArray[sheetNo]; in AdjustIndex()
134 GLYPH_INDEX_NOT_FOUND: static_cast<u16>(index - adjustor); in AdjustIndex()
398 u16 numSheet; in ConstructOpAnalyzeGLGR()
399 u16 numGlyphsPerSheet; in ConstructOpAnalyzeGLGR()
401 u16* pTempAdjustArray; in ConstructOpAnalyzeGLGR()
412 sizeAdjustTable = math::RoundUp(gg.GetNumSheet() * sizeof(u16), 4); // 4 バイトアライメント in ConstructOpAnalyzeGLGR()
413 pTempAdjustArray = reinterpret_cast<u16*>( in ConstructOpAnalyzeGLGR()
[all …]
Dfont_Font.cpp35 u16 texWidth, in LoadTexture()
36 u16 texHeight, in LoadTexture()
98 u16 width, in Set()
99 u16 height in Set()
/NW4C-1.2.23/include/nw/lyt/
Dlyt_Animation.h116 u16 GetFrameSize() const;
253 u16 animNum) = 0;
388 u16 animNum);
407 u16 idx,
420 u16 m_AnimLinkNum;
516 u16 GetTagOrder() const;
532 u16 GetGroupNum() const;
562 u16 GetAnimationShareInfoNum() const;
587 u16 CalcAnimationNum(Pane* pPane, bool bRecursive) const;
601 u16 CalcAnimationNum(Material* pMaterial) const;
[all …]
Dlyt_TextBox.h79 explicit TextBox(u16 allocStrLen = 0);
95 u16 allocStrLen,
118 u16 allocStrLen,
120 u16 strLen,
197 u16 GetStringLength() const in GetStringLength()
211 u16 GetStringBufferLength() const;
227 virtual void AllocStringBuffer(u16 minLen);
253 virtual u16 SetString(
255 u16 dstIdx = 0);
277 virtual u16 SetString(
[all …]
Dlyt_TexMap.h189 u16 GetWidth() const in GetWidth()
200 u16 GetHeight() const in GetHeight()
223 void SetSize(u16 width, u16 height) in SetSize()
247 u16 GetRealWidth() const in GetRealWidth()
258 u16 GetRealHeight() const in GetRealHeight()
281 void SetRealSize(u16 width, u16 height) in SetRealSize()
425 u16 m_Width;
426 u16 m_Height;
427 u16 m_RealWidth;
428 u16 m_RealHeight;
/NW4C-1.2.23/include/nw/dev/
Ddev_DirectPrint.h53 u16 width, in FrameBufferInfo()
54 u16 height) in FrameBufferInfo()
69 u16 m_Width;
72 u16 m_Height;
139 u16 width,
140 u16 height);
173 u16 GetTargetWidth() const in GetTargetWidth()
182 u16 GetTargetHeight() const in GetTargetHeight()
356 u16,
357 u16){}
[all …]
/NW4C-1.2.23/include/nw/snd/
Dsnd_Util.h68 static u16 CalcLpfFreq( f32 scale );
74 static u16 CalcRandom();
108 static const u16 CalcLpfFreqTable[ CALC_LPF_FREQ_TABLE_SIZE ];
121 u16 padding;
126 NW_INLINE bool IsValidTypeId( u16 validId ) const in IsValidTypeId()
156 const void* GetReferedItem( u32 index, u16 typeId ) const in GetReferedItem()
162 const void* FindReferedItemBy( u16 typeId ) const in FindReferedItemBy()
182 const void* GetReferedItemBy( u16 typeId ) const in GetReferedItemBy()
210 const void* origin, int index, u16 count ) const in GetReferedItemByIndex()
217 u16 typeId, u16 count ) const in GetReference()
[all …]
Dsnd_HardwareChannel.h66 u16* outPredScale,
67 u16* outYn1,
68 u16* outYn2,
123 void SetLpf( u16 freq );
144 static const u16 VOICE_GAIN_MAX = 0x7fff;
145 static const u16 VOLUME_DEFAULT = 0x8000;
/NW4C-1.2.23/sources/libraries/snd/platform/
Dsnd_HardwareChannelAX.cppi26 u16 GetSDKFormatFromSampleFormat( SampleFormat sampleFormat )
241 m_pVpb->pb.addr.loopAddressHi = static_cast<u16>( addr >> 16 );
242 m_pVpb->pb.addr.loopAddressLo = static_cast<u16>( addr & 0xFFFF );
253 m_pVpb->pb.addr.endAddressHi = static_cast<u16>( addr >> 16 );
254 m_pVpb->pb.addr.endAddressLo = static_cast<u16>( addr & 0xFFFF );
265 m_pVpb->pb.addr.loopFlag = static_cast<u16>( loop );
311 addr.loopFlag = static_cast<u16>( loopFlag ? AXPBADDR_LOOP_ON: AXPBADDR_LOOP_OFF );
313 addr.loopAddressHi = static_cast<u16>( loopPos >> 16 );
314 addr.loopAddressLo = static_cast<u16>( loopPos & 0xFFFF );
315 addr.endAddressHi = static_cast<u16>( endPos >> 16 );
[all …]
/NW4C-1.2.23/sources/libraries/lyt/
Dlyt_TextBox.cpp72 TextBox::TextBox(u16 allocStrLen) in TextBox()
79 u16 allocStrLen, in TextBox()
91 u16 allocStrLen, in TextBox()
93 u16 strLen, in TextBox()
109 u16 allocStrBufLen = static_cast<u16>(pBlock->textBufBytes / sizeof(wchar_t)); in TextBox()
140 const u16 resStrLen = static_cast<u16>(pBlock->textStrBytes / sizeof(wchar_t) - 1); in TextBox()
154 TextBox::Init(u16 allocStrLen) in Init()
338 u16
348 return static_cast<u16>(m_TextBufBytes / sizeof(wchar_t) - 1); in GetStringBufferLength()
352 TextBox::AllocStringBuffer(u16 minLen) in AllocStringBuffer()
[all …]
Dlyt_Animation.cpp66 u16
315 const u16 fileIdx = GetStepCurveValue(frame, keys, pAnimTarget->keyNum); in AnimateTexturePattern()
385 u16
424 u16 animNum in SetResource()
473 for (u16 i = 0; i < pRes->animContNum; ++i) in Bind()
519 for (u16 i = 0; i < pRes->animContNum; ++i) in Bind()
544 u16 idx, in Bind()
727 u16
732 return u16(-1); in GetTagOrder()
749 u16
[all …]
/NW4C-1.2.23/sources/libraries/snd/
Dsnd_HardwareChannel.cpp35 u16* outPredScale, in CalcOffsetDspAdpcmParam()
36 u16* outYn1, in CalcOffsetDspAdpcmParam()
37 u16* outYn2, in CalcOffsetDspAdpcmParam()
44 std::memcpy( adpcm.a, adpcmParam.coef, sizeof(u16)*16 ); in CalcOffsetDspAdpcmParam()
59 adpcm.predScale = (u16)byte; in CalcOffsetDspAdpcmParam()
171 void HardwareChannel::SetLpf( u16 /*freq*/ ) {} // TODO: in SetLpf() argument
/NW4C-1.2.23/include/nw/gfx/
Dgfx_ParticleRandom.h58 u16 Next(u16 maxValue) in Next()
61 return (u16)(m_Seed >> 8) % maxValue; in Next()
Dgfx_ParticleEmitter.h365 u16* activeIndex,
374 u16* activeIndex,
383 u16* activeIndex,
392 u16* activeIndex,
401 u16* activeIndex,
410 u16* activeIndex,
/NW4C-1.2.23/include/nw/ut/
Dut_BinaryFileFormat.h87 u16 byteOrder; // バイトオーダーマーク : 2 Byte
92 u16 reserved; // 予約 : 2 Byte
126 const u16 BYTE_ORDER_MARK = 0xFEFF;
153 u16 minBlocks = 1 );
/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_FrameBuffer.cpp55 static inline u16
63 return static_cast<u16>( (alpha) | (blue << 1) | (green << 6) | (red << 11) ); in ColorToRGB5A1()
74 static inline u16
81 return static_cast<u16>( (blue) | (green << 5) | (red << 11) ); in ColorToRGB565()
92 static inline u16
100 return static_cast<u16>( (alpha) | (blue << 4) | (green << 8) | (red << 12) ); in ColorToRGBA4()
327 …clearDepthHW = static_cast<u16>( nw::ut::Clamp(clearDepth, 0.0f, 1.0f) * static_cast<f32>(0xFFFF) … in ClearBuffer()

12345