Lines Matching refs:writePtr

274 		     char * writePtr,  in copyIntoFrameBuffer()  argument
302 while (writePtr <= endPtr) in copyIntoFrameBuffer()
304 *(unsigned int *) writePtr = fillVal; in copyIntoFrameBuffer()
305 writePtr += xStride; in copyIntoFrameBuffer()
315 while (writePtr <= endPtr) in copyIntoFrameBuffer()
317 *(half *) writePtr = fillVal; in copyIntoFrameBuffer()
318 writePtr += xStride; in copyIntoFrameBuffer()
328 while (writePtr <= endPtr) in copyIntoFrameBuffer()
330 *(float *) writePtr = fillVal; in copyIntoFrameBuffer()
331 writePtr += xStride; in copyIntoFrameBuffer()
359 while (writePtr <= endPtr) in copyIntoFrameBuffer()
361 Xdr::read <CharPtrIO> (readPtr, *(unsigned int *) writePtr); in copyIntoFrameBuffer()
362 writePtr += xStride; in copyIntoFrameBuffer()
368 while (writePtr <= endPtr) in copyIntoFrameBuffer()
372 *(unsigned int *) writePtr = halfToUint (h); in copyIntoFrameBuffer()
373 writePtr += xStride; in copyIntoFrameBuffer()
379 while (writePtr <= endPtr) in copyIntoFrameBuffer()
383 *(unsigned int *)writePtr = floatToUint (f); in copyIntoFrameBuffer()
384 writePtr += xStride; in copyIntoFrameBuffer()
399 while (writePtr <= endPtr) in copyIntoFrameBuffer()
403 *(half *) writePtr = uintToHalf (ui); in copyIntoFrameBuffer()
404 writePtr += xStride; in copyIntoFrameBuffer()
410 while (writePtr <= endPtr) in copyIntoFrameBuffer()
412 Xdr::read <CharPtrIO> (readPtr, *(half *) writePtr); in copyIntoFrameBuffer()
413 writePtr += xStride; in copyIntoFrameBuffer()
419 while (writePtr <= endPtr) in copyIntoFrameBuffer()
423 *(half *) writePtr = floatToHalf (f); in copyIntoFrameBuffer()
424 writePtr += xStride; in copyIntoFrameBuffer()
439 while (writePtr <= endPtr) in copyIntoFrameBuffer()
443 *(float *) writePtr = float (ui); in copyIntoFrameBuffer()
444 writePtr += xStride; in copyIntoFrameBuffer()
450 while (writePtr <= endPtr) in copyIntoFrameBuffer()
454 *(float *) writePtr = float (h); in copyIntoFrameBuffer()
455 writePtr += xStride; in copyIntoFrameBuffer()
461 while (writePtr <= endPtr) in copyIntoFrameBuffer()
463 Xdr::read <CharPtrIO> (readPtr, *(float *) writePtr); in copyIntoFrameBuffer()
464 writePtr += xStride; in copyIntoFrameBuffer()
493 while (writePtr <= endPtr) in copyIntoFrameBuffer()
496 writePtr[i] = readPtr[i]; in copyIntoFrameBuffer()
499 writePtr += xStride; in copyIntoFrameBuffer()
505 while (writePtr <= endPtr) in copyIntoFrameBuffer()
508 *(unsigned int *) writePtr = halfToUint (h); in copyIntoFrameBuffer()
510 writePtr += xStride; in copyIntoFrameBuffer()
516 while (writePtr <= endPtr) in copyIntoFrameBuffer()
523 *(unsigned int *)writePtr = floatToUint (f); in copyIntoFrameBuffer()
525 writePtr += xStride; in copyIntoFrameBuffer()
541 while (writePtr <= endPtr) in copyIntoFrameBuffer()
548 *(half *) writePtr = uintToHalf (ui); in copyIntoFrameBuffer()
550 writePtr += xStride; in copyIntoFrameBuffer()
558 int numBytes = endPtr-writePtr+sizeof(half); in copyIntoFrameBuffer()
559 memcpy(writePtr, readPtr, numBytes); in copyIntoFrameBuffer()
561 writePtr += numBytes; in copyIntoFrameBuffer()
563 while (writePtr <= endPtr) in copyIntoFrameBuffer()
565 *(half *) writePtr = *(half *)readPtr; in copyIntoFrameBuffer()
567 writePtr += xStride; in copyIntoFrameBuffer()
574 while (writePtr <= endPtr) in copyIntoFrameBuffer()
581 *(half *) writePtr = floatToHalf (f); in copyIntoFrameBuffer()
583 writePtr += xStride; in copyIntoFrameBuffer()
598 while (writePtr <= endPtr) in copyIntoFrameBuffer()
605 *(float *) writePtr = float (ui); in copyIntoFrameBuffer()
607 writePtr += xStride; in copyIntoFrameBuffer()
613 while (writePtr <= endPtr) in copyIntoFrameBuffer()
616 *(float *) writePtr = float (h); in copyIntoFrameBuffer()
618 writePtr += xStride; in copyIntoFrameBuffer()
624 while (writePtr <= endPtr) in copyIntoFrameBuffer()
627 writePtr[i] = readPtr[i]; in copyIntoFrameBuffer()
630 writePtr += xStride; in copyIntoFrameBuffer()
687 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
688 if(writePtr) in copyIntoDeepFrameBuffer()
697 *(unsigned int *) writePtr = fillVal; in copyIntoDeepFrameBuffer()
698 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
712 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
714 if(writePtr) in copyIntoDeepFrameBuffer()
723 *(half *) writePtr = fillVal; in copyIntoDeepFrameBuffer()
724 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
738 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
740 if(writePtr) in copyIntoDeepFrameBuffer()
749 *(float *) writePtr = fillVal; in copyIntoDeepFrameBuffer()
750 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
782 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
789 if(writePtr) in copyIntoDeepFrameBuffer()
794 Xdr::read <CharPtrIO> (readPtr, *(unsigned int *) writePtr); in copyIntoDeepFrameBuffer()
795 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
807 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
814 if(writePtr) in copyIntoDeepFrameBuffer()
821 *(unsigned int *) writePtr = halfToUint (h); in copyIntoDeepFrameBuffer()
822 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
834 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
842 if(writePtr) in copyIntoDeepFrameBuffer()
848 *(unsigned int *)writePtr = floatToUint (f); in copyIntoDeepFrameBuffer()
849 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
870 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
877 if(writePtr) in copyIntoDeepFrameBuffer()
884 *(half *) writePtr = uintToHalf (ui); in copyIntoDeepFrameBuffer()
885 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
897 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
904 if(writePtr) in copyIntoDeepFrameBuffer()
909 Xdr::read <CharPtrIO> (readPtr, *(half *) writePtr); in copyIntoDeepFrameBuffer()
910 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
922 …char* writePtr = *(char **) (base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerS… in copyIntoDeepFrameBuffer() local
929 if(writePtr) in copyIntoDeepFrameBuffer()
935 *(half *) writePtr = floatToHalf (f); in copyIntoDeepFrameBuffer()
936 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
957 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
964 if(writePtr) in copyIntoDeepFrameBuffer()
970 *(float *) writePtr = float (ui); in copyIntoDeepFrameBuffer()
971 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
983 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
990 if(writePtr) in copyIntoDeepFrameBuffer()
997 *(float *) writePtr = float (h); in copyIntoDeepFrameBuffer()
998 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
1011 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
1018 if(writePtr) in copyIntoDeepFrameBuffer()
1023 Xdr::read <CharPtrIO> (readPtr, *(float *) writePtr); in copyIntoDeepFrameBuffer()
1024 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
1060 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
1068 if(writePtr) in copyIntoDeepFrameBuffer()
1073 writePtr[i] = readPtr[i]; in copyIntoDeepFrameBuffer()
1076 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
1088 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
1096 if(writePtr) in copyIntoDeepFrameBuffer()
1101 *(unsigned int *) writePtr = halfToUint (h); in copyIntoDeepFrameBuffer()
1103 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
1115 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
1123 if(writePtr) in copyIntoDeepFrameBuffer()
1133 *(unsigned int *)writePtr = floatToUint (f); in copyIntoDeepFrameBuffer()
1135 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
1156 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
1164 if(writePtr) in copyIntoDeepFrameBuffer()
1173 *(half *) writePtr = uintToHalf (ui); in copyIntoDeepFrameBuffer()
1175 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
1187 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
1195 if(writePtr) in copyIntoDeepFrameBuffer()
1199 *(half *) writePtr = *(half *)readPtr; in copyIntoDeepFrameBuffer()
1201 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
1213 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
1221 if(writePtr) in copyIntoDeepFrameBuffer()
1230 *(half *) writePtr = floatToHalf (f); in copyIntoDeepFrameBuffer()
1232 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
1253 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
1261 if(writePtr) in copyIntoDeepFrameBuffer()
1270 *(float *) writePtr = float (ui); in copyIntoDeepFrameBuffer()
1272 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
1284 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
1292 if(writePtr) in copyIntoDeepFrameBuffer()
1297 *(float *) writePtr = float (h); in copyIntoDeepFrameBuffer()
1299 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
1311 …char* writePtr = *(char **)(base+(y-yOffsetForData)*yPointerStride + (x-xOffsetForData)*xPointerSt… in copyIntoDeepFrameBuffer() local
1319 if(writePtr) in copyIntoDeepFrameBuffer()
1324 writePtr[i] = readPtr[i]; in copyIntoDeepFrameBuffer()
1327 writePtr += sampleStride; in copyIntoDeepFrameBuffer()
1378 convertInPlace (char *& writePtr, in convertInPlace() argument
1389 Xdr::write <CharPtrIO> (writePtr, *(const unsigned int *) readPtr); in convertInPlace()
1398 Xdr::write <CharPtrIO> (writePtr, *(const half *) readPtr); in convertInPlace()
1407 Xdr::write <CharPtrIO> (writePtr, *(const float *) readPtr); in convertInPlace()
1420 copyFromFrameBuffer (char *& writePtr, in copyFromFrameBuffer() argument
1444 Xdr::write <CharPtrIO> (writePtr, in copyFromFrameBuffer()
1454 Xdr::write <CharPtrIO> (writePtr, *(const half *) readPtr); in copyFromFrameBuffer()
1463 Xdr::write <CharPtrIO> (writePtr, *(const float *) readPtr); in copyFromFrameBuffer()
1486 *writePtr++ = readPtr[i]; in copyFromFrameBuffer()
1496 *(half *) writePtr = *(const half *) readPtr; in copyFromFrameBuffer()
1497 writePtr += sizeof (half); in copyFromFrameBuffer()
1507 *writePtr++ = readPtr[i]; in copyFromFrameBuffer()
1521 copyFromDeepFrameBuffer (char *& writePtr, in copyFromDeepFrameBuffer() argument
1564 Xdr::write <CharPtrIO> (writePtr, in copyFromDeepFrameBuffer()
1585 Xdr::write <CharPtrIO> (writePtr, *(const half *) readPtr); in copyFromDeepFrameBuffer()
1606 Xdr::write <CharPtrIO> (writePtr, *(const float *) readPtr); in copyFromDeepFrameBuffer()
1641 *writePtr++ = readPtr[j]; in copyFromDeepFrameBuffer()
1662 *(half *) writePtr = *(const half *) readPtr; in copyFromDeepFrameBuffer()
1663 writePtr += sizeof (half); in copyFromDeepFrameBuffer()
1685 *writePtr++ = readPtr[j]; in copyFromDeepFrameBuffer()
1701 fillChannelWithZeroes (char *& writePtr, in fillChannelWithZeroes() argument
1717 Xdr::write <CharPtrIO> (writePtr, (unsigned int) 0); in fillChannelWithZeroes()
1724 Xdr::write <CharPtrIO> (writePtr, (half) 0); in fillChannelWithZeroes()
1731 Xdr::write <CharPtrIO> (writePtr, (float) 0); in fillChannelWithZeroes()
1755 *writePtr++ = ((char *) &ui)[i]; in fillChannelWithZeroes()
1763 *(half *) writePtr = half (0); in fillChannelWithZeroes()
1764 writePtr += sizeof (half); in fillChannelWithZeroes()
1775 *writePtr++ = ((char *) &f)[i]; in fillChannelWithZeroes()