Home
last modified time | relevance | path

Searched refs:nIdx (Results 1 – 2 of 2) sorted by relevance

/RvlSDK-3.2/build/libraries/G2D/src/
DG2D.c168 s32 *nScanLine, s32 nEvent, s16 *nIdx, in FillSection() argument
198 if (*pAddr != *nIdx) // Check continuity in FillSection()
200 *nIdx += 2; in FillSection()
201 *((s16 *)&aSortBuffer[*pAddr]) = (s16)(*pAddr - *nIdx); in FillSection()
203 *((u16 *)&aSortBuffer[*nIdx]) = (u16)nTile; in FillSection()
204 *nIdx += 2; in FillSection()
205 aSortBuffer[(*nIdx)++] = (s8)nI; in FillSection()
206 aSortBuffer[(*nIdx)++] = (s8)nJ; in FillSection()
207 *pAddr = *nIdx; in FillSection()
255 if (*pAddr != *nIdx) // Check continuity in FillSection()
[all …]
/RvlSDK-3.2/build/demos/gxdemo/src/G2D/
DG2D-testEditor.c63 s32 nMapIdx, nIdx; in MapEditor() local
190 nIdx = (s32)(strchr(sUsedTiles, aEditStamp[0] + ' ') - sUsedTiles); in MapEditor()
195 if (nIdx == 0) in MapEditor()
197 nIdx = USED_TILES; in MapEditor()
199 nIdx--; in MapEditor()
201 aEditStamp[0] = (u8)(sUsedTiles[nIdx] - ' '); in MapEditor()
207 nIdx++; in MapEditor()
208 if (nIdx == USED_TILES) in MapEditor()
210 nIdx = 0; in MapEditor()
213 aEditStamp[0] = (u8)(sUsedTiles[nIdx] - ' '); in MapEditor()