Home
last modified time | relevance | path

Searched refs:nStride (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTVertex.cpp597 const unsigned int nStride, in PVRTVertexGenerateTangentSpace() argument
632 *pVtxOut = (char*)malloc(MAX_VERTEX_OUT * nStride); in PVRTVertexGenerateTangentSpace()
676 …PVRTVertexRead((PVRTVECTOR4f*) &pfPos0[0], (char*)&pVtx[nIdx0 * nStride] + nOffsetPos, eTypePos, 3… in PVRTVertexGenerateTangentSpace()
677 …PVRTVertexRead((PVRTVECTOR4f*) &pfPos1[0], (char*)&pVtx[nIdx1 * nStride] + nOffsetPos, eTypePos, 3… in PVRTVertexGenerateTangentSpace()
678 …PVRTVertexRead((PVRTVECTOR4f*) &pfPos2[0], (char*)&pVtx[nIdx2 * nStride] + nOffsetPos, eTypePos, 3… in PVRTVertexGenerateTangentSpace()
680 …PVRTVertexRead((PVRTVECTOR4f*) &pfNor0[0], (char*)&pVtx[nIdx0 * nStride] + nOffsetNor, eTypeNor, 3… in PVRTVertexGenerateTangentSpace()
681 …PVRTVertexRead((PVRTVECTOR4f*) &pfNor1[0], (char*)&pVtx[nIdx1 * nStride] + nOffsetNor, eTypeNor, 3… in PVRTVertexGenerateTangentSpace()
682 …PVRTVertexRead((PVRTVECTOR4f*) &pfNor2[0], (char*)&pVtx[nIdx2 * nStride] + nOffsetNor, eTypeNor, 3… in PVRTVertexGenerateTangentSpace()
684 …PVRTVertexRead((PVRTVECTOR4f*) &pfTex0[0], (char*)&pVtx[nIdx0 * nStride] + nOffsetTex, eTypeTex, 3… in PVRTVertexGenerateTangentSpace()
685 …PVRTVertexRead((PVRTVECTOR4f*) &pfTex1[0], (char*)&pVtx[nIdx1 * nStride] + nOffsetTex, eTypeTex, 3… in PVRTVertexGenerateTangentSpace()
[all …]
DPVRTModelPOD.cpp243 nStride = 0; in Reset()
777 if(!WriteData32(pFile, ePODFileStride, &n.nStride)) return false; in WriteCPODData()
782 case 1: if(!WriteData(pFile, ePODFileData, n.pData, nEntries * n.nStride)) return false; break; in WriteCPODData()
783 …case 2: if(!WriteData16(pFile, ePODFileData, n.pData, nEntries * (n.nStride / 2))) return false; b… in WriteCPODData()
784 …case 4: if(!WriteData32(pFile, ePODFileData, n.pData, nEntries * (n.nStride / 4))) return false; b… in WriteCPODData()
845 …if(!WriteMarker(pFile, ePODFileMeshInterleaved, false, mesh.nNumVertex * mesh.sVertex.nStride)) re… in WriteInterleaved()
849 unsigned char* pVtxStart = mesh.pInterleaved + (i * mesh.sVertex.nStride); in WriteInterleaved()
869 …padding = (pCPODData[j]->nStride - (size_t)pCPODData[j]->pData) - PVRTModelPODDataStride(*pCPODDat… in WriteInterleaved()
1167 case ePODFileStride: if(!src.Read32(s.nStride)) return false; break; in ReadCPODData()
1402 pData += data.nStride; in PVRTFixInterleavedEndiannessUsingCPODData()
[all …]
DPVRTBoneBatch.cpp395 const int nStride, // Size of a vertex (in bytes)
434 const int nStride, in Create() argument
475 pVtxBuf = new CGrowableArray(nStride); in Create()
481 …if(!FillBatch(batch, &pui32Idx[i * 3], pVtx, nStride, nOffsetWeight, eTypeWeight, nOffsetIdx, eTyp… in Create()
548 …if(!FillBatch(batch, &pui32Idx[i * 3], pVtx, nStride, nOffsetWeight, eTypeWeight, nOffsetIdx, eTyp… in Create()
594 pV = &pVtx[ui32SrcIdx * nStride]; in Create()
671 const int nStride, in FillBatch() argument
687 pV = &pVtx[pui32Idx[i] * nStride]; in FillBatch()
DPVRTMisc.cpp95 const int nStride, in PVRTMiscCalculateInfinitePlane() argument
190 pvPolyPtr = (PVRTVECTOR3*)((char*)pvPolyPtr + nStride); in PVRTMiscCalculateInfinitePlane()
202 pvPolyPtr = (PVRTVECTOR3*)((char*)pvPolyPtr + nStride); in PVRTMiscCalculateInfinitePlane()
224 pvPolyPtr = (PVRTVECTOR3*)((char*)pvPolyPtr + nStride); in PVRTMiscCalculateInfinitePlane()
DPVRTGeometry.cpp1335 const int nStride, in SortVertices() argument
1344 pVtxNew = malloc(nVertNum * nStride); in SortVertices()
1360 memcpy((char*)pVtxNew+(wNext*nStride), (char*)pVtxData+(pwIdx[i]*nStride), nStride); in SortVertices()
1375 memcpy(pVtxData, pVtxNew, nVertNum * nStride); in SortVertices()
1399 const int nStride, in PVRTGeometrySort() argument
1493 SortVertices(pVtxData, pwIdx, nStride, nVertNum, nTriNum*3); in PVRTGeometrySort()
DPVRTGeometry.h38 const int nStride,
DPVRTBoneBatch.h53 const int nStride,
DPVRTMisc.h51 const int nStride,
DPVRTVertex.h159 const unsigned int nStride,
DPVRTModelPOD.h128 PVRTuint32 nStride; /*!< Distance in bytes from one array entry to the next */ variable
/external/pdfium/core/fxcodec/jbig2/
DJBig2_GrdProc.cpp82 int32_t nStride = GBREG->stride(); in decode_Arith_Template0_opt3() local
83 int32_t nStride2 = nStride << 1; in decode_Arith_Template0_opt3()
99 uint8_t* pLine2 = pLine - nStride; in decode_Arith_Template0_opt3()
133 uint8_t* pLine2 = pLine - nStride; in decode_Arith_Template0_opt3()
166 pLine += nStride; in decode_Arith_Template0_opt3()
231 int32_t nStride = GBREG->stride(); in decode_Arith_Template1_opt3() local
232 int32_t nStride2 = nStride << 1; in decode_Arith_Template1_opt3()
247 uint8_t* pLine2 = pLine - nStride; in decode_Arith_Template1_opt3()
281 uint8_t* pLine2 = pLine - nStride; in decode_Arith_Template1_opt3()
314 pLine += nStride; in decode_Arith_Template1_opt3()
[all …]
DJBig2_GrrdProc.cpp154 intptr_t nStride = GRREG->stride(); in decode_Template0_opt() local
168 uint32_t line1 = (h > 0) ? pLine[-nStride] << 4 : 0; in decode_Template0_opt()
183 (w + 8 < iGRW ? pLine[-nStride + (w >> 3) + 1] << 4 : 0); in decode_Template0_opt()
229 (w + 8 < iGRW ? pLine[-nStride + (w >> 3) + 1] << 4 : 0); in decode_Template0_opt()
273 pLine += nStride; in decode_Template0_opt()
407 intptr_t nStride = GRREG->stride(); in decode_Template1_opt() local
422 uint32_t line1 = (h > 0) ? pLine[-nStride] << 1 : 0; in decode_Template1_opt()
437 (w + 8 < iGRW ? pLine[-nStride + (w >> 3) + 1] << 1 : 0); in decode_Template1_opt()
471 (w + 8 < iGRW ? pLine[-nStride + (w >> 3) + 1] << 1 : 0); in decode_Template1_opt()
512 pLine += nStride; in decode_Template1_opt()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
DOGLES2ChameleonMan.cpp361 unsigned int uiSize = Mesh.nNumVertex * Mesh.sVertex.nStride; in LoadVbos()
738 …glVertexAttribPointer(DEFAULT_VERTEX_ARRAY, 3, GL_FLOAT, GL_FALSE, Mesh.sVertex.nStride, Mesh.sVe… in RenderScene()
739 …glVertexAttribPointer(DEFAULT_TEXCOORD_ARRAY, 2, GL_FLOAT, GL_FALSE, Mesh.psUVW[0].nStride, Mesh.p… in RenderScene()
783 …glVertexAttribPointer(VERTEX_ARRAY, 3, GL_FLOAT, GL_FALSE, Mesh.sVertex.nStride, Mesh.sVertex.pDa… in DrawSkinnedMesh()
784 …glVertexAttribPointer(NORMAL_ARRAY, 3, GL_FLOAT, GL_FALSE, Mesh.sNormals.nStride, Mesh.sNormals.pD… in DrawSkinnedMesh()
785 …glVertexAttribPointer(TANGENT_ARRAY, 3, GL_FLOAT, GL_FALSE, Mesh.sTangents.nStride, Mesh.sTangents… in DrawSkinnedMesh()
786 …glVertexAttribPointer(BINORMAL_ARRAY, 3, GL_FLOAT, GL_FALSE, Mesh.sBinormals.nStride, Mesh.sBinorm… in DrawSkinnedMesh()
787 …glVertexAttribPointer(TEXCOORD_ARRAY, 2, GL_FLOAT, GL_FALSE, Mesh.psUVW[0].nStride, Mesh.psUVW[0].… in DrawSkinnedMesh()
788 …EINDEX_ARRAY, Mesh.sBoneIdx.n, GL_UNSIGNED_BYTE, GL_FALSE, Mesh.sBoneIdx.nStride, Mesh.sBoneIdx.pD… in DrawSkinnedMesh()
789 …T_ARRAY, Mesh.sBoneWeight.n, GL_UNSIGNED_BYTE, GL_TRUE, Mesh.sBoneWeight.nStride, Mesh.sBoneWeight… in DrawSkinnedMesh()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp272 unsigned int uiSize = Mesh.nNumVertex * Mesh.sVertex.nStride; in LoadVbos()
627 …glVertexAttribPointer(VERTEX_ARRAY, 3, GL_FLOAT, GL_FALSE, pMesh->sVertex.nStride, pMesh->sVertex.… in DrawMesh()
628 …glVertexAttribPointer(NORMAL_ARRAY, 3, GL_FLOAT, GL_FALSE, pMesh->sNormals.nStride, pMesh->sNormal… in DrawMesh()
629 …glVertexAttribPointer(TEXCOORD_ARRAY, 2, GL_FLOAT, GL_FALSE, pMesh->psUVW[0].nStride, pMesh->psUVW… in DrawMesh()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp349 unsigned int uiSize = Mesh.nNumVertex * Mesh.sVertex.nStride; in LoadVbos()
840 …glVertexAttribPointer(VERTEX_ARRAY, 3, GL_FLOAT, GL_FALSE, pMesh->sVertex.nStride, pMesh->sVertex.… in DrawMesh()
841 …glVertexAttribPointer(NORMAL_ARRAY, 3, GL_FLOAT, GL_FALSE, pMesh->sNormals.nStride, pMesh->sNormal… in DrawMesh()
842 …glVertexAttribPointer(TEXCOORD_ARRAY, 2, GL_FLOAT, GL_FALSE, pMesh->psUVW[0].nStride, pMesh->psUVW… in DrawMesh()
/external/mesa3d/src/gallium/state_trackers/omx_bellagio/
Dvid_dec.c288 port->sPortParam.format.video.nStride = def->format.video.nFrameWidth; in vid_dec_SetParameter()
570 dst = ((uint8_t*)output->pBuffer + output->nOffset) + j * def->nStride + in vid_dec_FillOutput()
574 def->nStride * views[i]->texture->array_size, 0, 0, in vid_dec_FillOutput()
Dvid_enc.c366 port->sPortParam.format.video.nStride = transfer->stride; in vid_enc_SetParameter()
370 framesize = port->sPortParam.format.video.nStride * in vid_enc_SetParameter()
911 ptr, def->nStride, 0); in enc_LoadImage()
912 ptr = ((uint8_t*)buf->pBuffer) + (def->nStride * box.height); in enc_LoadImage()
918 ptr, def->nStride, 0); in enc_LoadImage()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcudnn_6_0.inc90 int nStride,
97 return func_ptr(tensorDesc, dataType, n, c, h, w, nStride, cStride, hStride, wStride);
107 int *nStride,
114 return func_ptr(tensorDesc, dataType, n, c, h, w, nStride, cStride, hStride, wStride);
Dcudnn_7_0.inc101 int nStride,
108 return func_ptr(tensorDesc, dataType, n, c, h, w, nStride, cStride, hStride, wStride);
118 int *nStride,
125 return func_ptr(tensorDesc, dataType, n, c, h, w, nStride, cStride, hStride, wStride);
Dcudnn_7_3.inc106 int nStride,
113 return func_ptr(tensorDesc, dataType, n, c, h, w, nStride, cStride, hStride, wStride);
123 int *nStride,
130 return func_ptr(tensorDesc, dataType, n, c, h, w, nStride, cStride, hStride, wStride);
Dcudnn_7_1.inc101 int nStride,
108 return func_ptr(tensorDesc, dataType, n, c, h, w, nStride, cStride, hStride, wStride);
118 int *nStride,
125 return func_ptr(tensorDesc, dataType, n, c, h, w, nStride, cStride, hStride, wStride);
Dcudnn_7_4.inc106 int nStride,
113 return func_ptr(tensorDesc, dataType, n, c, h, w, nStride, cStride, hStride, wStride);
123 int *nStride,
130 return func_ptr(tensorDesc, dataType, n, c, h, w, nStride, cStride, hStride, wStride);