| /CTR-SDK-4.2.5/include/nn/y2r/CTR/ |
| D | y2r_Types.h | 81 u16 Y_A; 82 u16 R_V; 83 u16 G_V; 84 u16 G_U; 85 u16 B_U; 86 u16 R_Offset; 87 u16 G_Offset; 88 u16 B_Offset; 113 u16 w0_xEven_yEven; // 114 u16 w0_xOdd_yEven; // [all …]
|
| /CTR-SDK-4.2.5/include/nn/font/ |
| D | font_ResourceFormat.h | 67 const u16 INVALID_CHAR_CODE = 0xFFFF; 68 const u16 INVALID_GLYPH_INDEX = 0xFFFF; 166 u16 ccode; // Character code 167 u16 index; // Glyph index 177 u16 num; // number of elements in "entries" 200 u16 glyphsPerSheet; 201 u16 numSet; 202 u16 numSheet; 203 u16 numCWDH; 204 u16 numCMAP; [all …]
|
| D | font_Font.h | 35 typedef u16 TexFmt; 43 u16 height; // 44 u16 width; // 59 u16 width, 60 u16 height); 112 typedef u16 CharCode; 122 u16 texWidth; // 123 u16 texHeight; // 124 u16 cellX; // 125 u16 cellY; // [all …]
|
| D | font_ArchiveFontBase.h | 193 u16* pAdjustTable, in Init() 194 u16 nSheets, in Init() 195 u16 nPerSheet, in Init() 209 u16* pAdjustTable, 210 u16 nSheets, 211 u16 nPerSheet, 246 u16** ppAdjustTable); 249 u16 GetNumSheets() const { return numSheets; } in GetNumSheets() 251 u16 GetNumGlyphsPerSheet() const { return glyphsPerSheet; } in GetNumGlyphsPerSheet() 337 u16* pGlyphIndexAdjustTable; [all …]
|
| D | font_CharStrmReader.h | 98 u16 Next() { return (this->*mReadFunc)(); } in Next() 106 typedef u16 (CharStrmReader::*ReadNextCharFunc)(); 146 u16 ReadNextCharUTF8(); 153 u16 ReadNextCharUTF16(); 160 u16 ReadNextCharCP1252(); 167 u16 ReadNextCharSJIS();
|
| D | font_PackedFont.h | 269 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 …]
|
| /CTR-SDK-4.2.5/sources/libraries/rdt/CTR/ |
| D | rdt_Header.h | 32 static const u16 BIT_ACK = 0x0001; 33 static const u16 BIT_RST = 0x0002; 34 static const u16 BIT_SYN = 0x0008; 35 static const u16 BIT_FIN = 0x0010; 36 static const u16 BIT_SRV = 0x0100; 37 static const u16 BIT_CLI = 0x0200; 60 u16 controlBit; // Control bit 62 u16 windowSize; // Window size Used for notifications from receiving side to sending side. 63 u16 checkSum; // Checksum
|
| /CTR-SDK-4.2.5/include/nn/util/ |
| D | util_Crc.h | 108 void InitializeContext(u16 context = CRC16_STANDARD_INIT); 117 u16 GetHash(); 130 static u16 Calculate(const void* input, size_t length, u16 context = CRC16_STANDARD_INIT); 134 …static const u16 CRC16_STANDARD_POLY = 0xa001; // Items that execute bit inversion also inver… 137 static const u16 CRC16_STANDARD_INIT = 0; 140 typedef u16 Context; 145 u16 table[CRC_TABLE_SIZE]; 156 void InitializeTable(u16 poly); 174 void InitializeContext(u16 context = CRC16_CCITT_INIT); 183 u16 GetHash(); [all …]
|
| /CTR-SDK-4.2.5/include/nn/dsp/CTR/Common/ |
| D | dsp_Types.h | 39 typedef u16 DSPAddr; // This type expresses an address in the DSP (2 bytes, 1 word) 40 typedef u16 DSPWord; // This type expresses a size in the DSP (2 bytes, 1 word) 41 typedef u16 DSPByte; // This type expresses a single-byte unit in the DSP (1 byte, 1 word) 48 #define NN_DSP_ADDR_TO_DSP(address) (u16)((u32)(address) >> 1) 49 #define NN_DSP_WORD_TO_ARM(word) (u16)((word) << 1) 50 #define NN_DSP_WORD_TO_DSP(word) (u16)((word) >> 1) 56 #define NN_DSP_BYTE_TO_UNIT(byte) (u16)(byte) 57 #define NN_DSP_UNIT_TO_BYTE(unit) (u16)(unit) 59 #define NN_DSP_BYTE_TO_UNIT(byte) (u16)((byte) >> 1) 60 #define NN_DSP_UNIT_TO_BYTE(unit) (u16)((unit) << 1)
|
| /CTR-SDK-4.2.5/include/nn/snd/CTR/Common/ |
| D | snd_Adpcm.h | 42 u16 gain; 43 u16 pred_scale; 48 u16 loop_pred_scale; 52 u16 pad[1]; 61 u16 loop_flag; 62 u16 format; 69 u16 pad[10]; 78 u16 coef[16]; // 87 u16 pred_scale; //
|
| D | snd_Bcwav.h | 41 u16 typeId; // Non-public to users 42 u16 padding; 62 u16 byteOrderMark; 63 u16 headerSize; 66 u16 dataBlocks; 67 u16 reserved; 96 u16 padding;
|
| /CTR-SDK-4.2.5/include/nn/swkbd/CTR/ |
| D | swkbd_Api.h | 34 const u16 VERSION_NUMBER = 5; 254 const u16 TEXT_LENGTH_MAX_MIN = 1; 259 const u16 TEXT_LENGTH_MAX_MAX = 65000; 264 const u16 FIXED_WIDTH_TEXT_LENGTH_MAX_MAX = 32; 269 const u16 TEXT_CHECK_TEXT_LENGTH_MAX_MAX = 2000; 274 const u16 BANNED_WORD_CHECK_TEXT_LENGTH_MAX_MAX = 64; 279 const u16 BOTTOM_BUTTON_TEXT_LENGTH_MAX = 16; 284 const u16 GUIDE_TEXT_LENGTH_MAX = 64; 289 const u16 APP_TEXT_CHECK_DIALOG_TEXT_LENGTH_MAX = 256; 294 const u16 NUM_USER_WORDS_MAX = 500; [all …]
|
| /CTR-SDK-4.2.5/include/nn/camera/CTR/ |
| D | camera_CalibrationTypes.h | 116 u16 awbCcmL9Right; // Right camera's 0x2318 117 u16 awbCcmL9Left; // Left camera's 0x2318 118 u16 awbCcmL10Right; // Right camera's 0x231A 119 u16 awbCcmL10Left; // Left camera's 0x231A 120 u16 awbX0Right; // Right camera's 0xA365 121 u16 awbX0Left; // Left camera's 0xA365
|
| /CTR-SDK-4.2.5/include/nn/fnd/detail/ |
| D | fnd_DetailHeapHead.h | 51 u16 numObjects; // Number of objects linked in the list. 52 u16 offset; // Offset for NNSFndLink type structure member. 59 u16 signature; // Signature 60 u16 attribute; // Attribute 84 u16 groupID; // Current group ID (lower 8 bits only) 85 u16 feature; // Attribute
|
| /CTR-SDK-4.2.5/include/nn/dsp/CTR/MPCore/ |
| D | dsp_Api.h | 118 nn::Result RecvData( u16 regNo, u16 *pValue ); 128 nn::Result SendData( u16 regNo, u16 value ); 138 nn::Result RecvDataIsReady( u16 regNo, bool* pStatus ); 148 nn::Result SendDataIsEmpty( u16 regNo, bool * pStatus ); 190 nn::Result ReadPipeIfPossible( int port, void* buffer, u16 length, u16* pLengthRead ); 219 nn::Result ClearSemaphore( u16 mask ); 228 nn::Result MaskSemaphore( u16 mask ); 237 nn::Result GetSemaphore( u16* pMask ); 246 nn::Result SetSemaphore( u16 mask );
|
| /CTR-SDK-4.2.5/sources/libraries/fnd/detail/ |
| D | fnd_DetailHeap.h | 121 u16 optFlag = 0); 265 u16 SetAllocModeForHeap( 267 u16 mode); 276 u16 GetAllocModeForHeap( 287 u16 SetGroupIDForHeap( 289 u16 groupID); 298 u16 GetGroupIDForHeap( 345 u16 GetGroupIDForMBlockHeap( 355 u16 GetAllocDirForMBlockHeap(
|
| /CTR-SDK-4.2.5/include/nn/uds/CTR/ |
| D | uds_Type.h | 34 const u16 BROADCAST_NODE_ID = 0xffff; //!< Node ID representing all node address of t… 45 const u16 UDS_PACKET_PAYLOAD_MAX_SIZE = 1478; // 157 u16 myNodeId; // 159 u16 nodeIdList[NODE_MAX]; // 201 u16 nodeId; // 261 u16 targetNodeId; // 262 u16 port; // 267 inline u16 UDS_BE2LE16( u16 value ) in UDS_BE2LE16() 269 return static_cast<u16>( (((value) & 0xFF00UL) >> 8UL) | (((value) & 0x00FFUL) << 8UL)); in UDS_BE2LE16() 294 inline u16 UDS_LE2BE16( u16 value ) in UDS_LE2BE16() [all …]
|
| /CTR-SDK-4.2.5/include/nn/pl/CTR/ |
| D | pl_GameCoin.h | 40 const u16 MAX_GAME_COIN_COUNT = 300; 71 Result GetGameCoinCount(u16* pCount); 90 Result UseGameCoin(u16* pCount, u16 useCount);
|
| /CTR-SDK-4.2.5/include/nn/dlp/CTR/ |
| D | dlp_Server.h | 175 static nn::Result AcceptClient(u16 nodeId); 191 static nn::Result DisconnectClient(u16 nodeId); 252 static nn::Result GetConnectingClients(u16* pNum, u16 clients[], u16 size); 270 u16 nodeId); 287 u16 nodeId); 308 u16 nodeId);
|
| /CTR-SDK-4.2.5/include/nn/net/compatible/nnet/ |
| D | nnet_ext.h | 37 u16 protocolId; /* IP, ARP, etc. */ 52 u16 type; 61 u16 length; 66 u16 type; /* type */ 75 BOOL NNET_RegisterProtocols(NNETProtocolList* pProtocolList, const u16 protocols[], NNETInstance* p… 77 NNETProtocolInfo* NNET_GetProtocolInfo(NNETProtocolList* pProtocolList, u16 protocol); 79 NOSMessageBuf* NNET_ConvertFrameToMbuf(const u8* dstMac, const u8* srcMac, u16 protocol, const u8* … 87 s32 NNET_SendPreProcess(NOSMessageBuf** ppMbuf, u16* pLength, const u8* pSrcMac, const u8* pDstMac);
|
| D | nnet.h | 104 …s32 (* eth_setupper) (NNETInstance *ins, NNETInstance *upper_ins, u32 *receive_id, u16 list[]); /*… 140 #define NNET_Swp2( _d ) ((u16)((((_d)>>8)&0x00FF)|(((_d)<<8)&0xFF00))) 142 extern u16 NNET_Get2( const void* ptr ); 143 extern u16 NNET_Set2( void* ptr, u16 dat ); 144 extern u16 NNET_And2( void* ptr, u16 dat ); 145 extern u16 NNET_Orr2( void* ptr, u16 dat ); 146 extern u16 NNET_Inc2( void* ptr ); 147 extern u16 NNET_Dec2( void* ptr ); 148 extern u16 NNET_Sub2( void* ptr, u16 dat );
|
| /CTR-SDK-4.2.5/sources/libraries/cx/ |
| D | cx_Compression.cpp | 34 u16 windowPos; // Initial position of the history window 35 u16 windowLen; // Length of the history window 43 u32 SearchLZ ( LZCompressInfo * info, const u8 *nextp, u32 remainSize, u16 *offset, u32 m… 70 …u16 lastOffset; // Offset to matching data (the longest matching data at the ti… in CompressLZImpl() 198 u32 SearchLZ( LZCompressInfo * info, const u8 *nextp, u32 remainSize, u16 *offset, u32 maxLength ) in SearchLZ() 202 u16 maxOffset = 0; in SearchLZ() 207 const u16 windowPos = info->windowPos; in SearchLZ() 208 const u16 windowLen = info->windowLen; in SearchLZ() 265 maxOffset = (u16)(nextp - searchp); in SearchLZ() 288 u16 i; in LZInitTable() [all …]
|
| D | cx_SecureUncompression.cpp | 604 HuffImportTree( u16* pTable, const u8* srcp, u8 bitSize, u32 srcRemainSize ) in HuffImportTree() 619 tableSize = internal::ConvertEndian16( *(u16*)srcp ); in HuffImportTree() 649 pTable[ idx++ ] = (u16)( ( data >> (bitNum - bitSize) ) & bitMask ); in HuffImportTree() 654 pTable[0] = (u16)idx; in HuffImportTree() 721 NN_CX_CHECK_ALIGN(srcp, sizeof(u16)); in SecureUnfilterDiff() 722 NN_CX_CHECK_ALIGN(destp, sizeof(u16)); in SecureUnfilterDiff() 727 u16 tmp = internal::ConvertEndian16( *(u16*)pSrc ); in SecureUnfilterDiff() 736 *(u16*)pDst = internal::ConvertEndian16( (u16)sum ); in SecureUnfilterDiff() 815 u16* treep = (u16*)pTable; in LHVerifyTable() 816 u16* treeStartp = treep + 1; in LHVerifyTable() [all …]
|
| /CTR-SDK-4.2.5/include/nn/boss/ |
| D | boss_DataStoreUploadAction.h | 81 …nn::Result Initialize(u32 gameId, const wchar_t* pAccessKey, DstKind dstKind, u16 dataType, u16 pe… 102 …meId, const wchar_t* pAccessKey, nn::Handle fileHandle, DstKind dstKind, u16 dataType, u16 period); 109 u16 GetDstCount(void);
|
| /CTR-SDK-4.2.5/include/nn/font/detail/ |
| D | font_BinaryFileFormat.h | 54 typedef u16 ResU16; // 82 u16 UInt16; 136 static u16 BSwap( u16 val ) 138 return (u16)( (val >> 8) | (val << 8) ); 143 return (s16)( ((u16)val >> 8) | ((u16)val << 8) ); 164 typedef ResNum<u16> ResU16; // 180 const u16 BYTE_ORDER_MARK = 0xFEFF; 190 u16 byteOrder; // Byte order mark : 2 Bytes 195 u16 reserved; // Reserved : 2 Bytes 212 u16 /*minBlocks = 1*/ );
|