Lines Matching refs:writePtr
182 char * writePtr, in copyIntoFrameBuffer() argument
210 while (writePtr <= endPtr) in copyIntoFrameBuffer()
212 *(unsigned int *) writePtr = fillVal; in copyIntoFrameBuffer()
213 writePtr += xStride; in copyIntoFrameBuffer()
223 while (writePtr <= endPtr) in copyIntoFrameBuffer()
225 *(half *) writePtr = fillVal; in copyIntoFrameBuffer()
226 writePtr += xStride; in copyIntoFrameBuffer()
236 while (writePtr <= endPtr) in copyIntoFrameBuffer()
238 *(float *) writePtr = fillVal; in copyIntoFrameBuffer()
239 writePtr += xStride; in copyIntoFrameBuffer()
267 while (writePtr <= endPtr) in copyIntoFrameBuffer()
269 Xdr::read <CharPtrIO> (readPtr, *(unsigned int *) writePtr); in copyIntoFrameBuffer()
270 writePtr += xStride; in copyIntoFrameBuffer()
276 while (writePtr <= endPtr) in copyIntoFrameBuffer()
280 *(unsigned int *) writePtr = halfToUint (h); in copyIntoFrameBuffer()
281 writePtr += xStride; in copyIntoFrameBuffer()
287 while (writePtr <= endPtr) in copyIntoFrameBuffer()
291 *(unsigned int *)writePtr = floatToUint (f); in copyIntoFrameBuffer()
292 writePtr += xStride; in copyIntoFrameBuffer()
304 while (writePtr <= endPtr) in copyIntoFrameBuffer()
308 *(half *) writePtr = uintToHalf (ui); in copyIntoFrameBuffer()
309 writePtr += xStride; in copyIntoFrameBuffer()
315 while (writePtr <= endPtr) in copyIntoFrameBuffer()
317 Xdr::read <CharPtrIO> (readPtr, *(half *) writePtr); in copyIntoFrameBuffer()
318 writePtr += xStride; in copyIntoFrameBuffer()
324 while (writePtr <= endPtr) in copyIntoFrameBuffer()
328 *(half *) writePtr = floatToHalf (f); in copyIntoFrameBuffer()
329 writePtr += xStride; in copyIntoFrameBuffer()
341 while (writePtr <= endPtr) in copyIntoFrameBuffer()
345 *(float *) writePtr = float (ui); in copyIntoFrameBuffer()
346 writePtr += xStride; in copyIntoFrameBuffer()
352 while (writePtr <= endPtr) in copyIntoFrameBuffer()
356 *(float *) writePtr = float (h); in copyIntoFrameBuffer()
357 writePtr += xStride; in copyIntoFrameBuffer()
363 while (writePtr <= endPtr) in copyIntoFrameBuffer()
365 Xdr::read <CharPtrIO> (readPtr, *(float *) writePtr); in copyIntoFrameBuffer()
366 writePtr += xStride; in copyIntoFrameBuffer()
392 while (writePtr <= endPtr) in copyIntoFrameBuffer()
395 writePtr[i] = readPtr[i]; in copyIntoFrameBuffer()
398 writePtr += xStride; in copyIntoFrameBuffer()
404 while (writePtr <= endPtr) in copyIntoFrameBuffer()
407 *(unsigned int *) writePtr = halfToUint (h); in copyIntoFrameBuffer()
409 writePtr += xStride; in copyIntoFrameBuffer()
415 while (writePtr <= endPtr) in copyIntoFrameBuffer()
422 *(unsigned int *)writePtr = floatToUint (f); in copyIntoFrameBuffer()
424 writePtr += xStride; in copyIntoFrameBuffer()
436 while (writePtr <= endPtr) in copyIntoFrameBuffer()
443 *(half *) writePtr = uintToHalf (ui); in copyIntoFrameBuffer()
445 writePtr += xStride; in copyIntoFrameBuffer()
451 while (writePtr <= endPtr) in copyIntoFrameBuffer()
453 *(half *) writePtr = *(half *)readPtr; in copyIntoFrameBuffer()
455 writePtr += xStride; in copyIntoFrameBuffer()
461 while (writePtr <= endPtr) in copyIntoFrameBuffer()
468 *(half *) writePtr = floatToHalf (f); in copyIntoFrameBuffer()
470 writePtr += xStride; in copyIntoFrameBuffer()
482 while (writePtr <= endPtr) in copyIntoFrameBuffer()
489 *(float *) writePtr = float (ui); in copyIntoFrameBuffer()
491 writePtr += xStride; in copyIntoFrameBuffer()
497 while (writePtr <= endPtr) in copyIntoFrameBuffer()
500 *(float *) writePtr = float (h); in copyIntoFrameBuffer()
502 writePtr += xStride; in copyIntoFrameBuffer()
508 while (writePtr <= endPtr) in copyIntoFrameBuffer()
511 writePtr[i] = readPtr[i]; in copyIntoFrameBuffer()
514 writePtr += xStride; in copyIntoFrameBuffer()
558 convertInPlace (char *& writePtr, in convertInPlace() argument
569 Xdr::write <CharPtrIO> (writePtr, *(const unsigned int *) readPtr); in convertInPlace()
578 Xdr::write <CharPtrIO> (writePtr, *(const half *) readPtr); in convertInPlace()
587 Xdr::write <CharPtrIO> (writePtr, *(const float *) readPtr); in convertInPlace()
600 copyFromFrameBuffer (char *& writePtr, in copyFromFrameBuffer() argument
624 Xdr::write <CharPtrIO> (writePtr, in copyFromFrameBuffer()
634 Xdr::write <CharPtrIO> (writePtr, *(const half *) readPtr); in copyFromFrameBuffer()
643 Xdr::write <CharPtrIO> (writePtr, *(const float *) readPtr); in copyFromFrameBuffer()
666 *writePtr++ = readPtr[i]; in copyFromFrameBuffer()
676 *(half *) writePtr = *(const half *) readPtr; in copyFromFrameBuffer()
677 writePtr += sizeof (half); in copyFromFrameBuffer()
687 *writePtr++ = readPtr[i]; in copyFromFrameBuffer()
702 fillChannelWithZeroes (char *& writePtr, in fillChannelWithZeroes() argument
718 Xdr::write <CharPtrIO> (writePtr, (unsigned int) 0); in fillChannelWithZeroes()
725 Xdr::write <CharPtrIO> (writePtr, (half) 0); in fillChannelWithZeroes()
732 Xdr::write <CharPtrIO> (writePtr, (float) 0); in fillChannelWithZeroes()
756 *writePtr++ = ((char *) &ui)[i]; in fillChannelWithZeroes()
764 *(half *) writePtr = half (0); in fillChannelWithZeroes()
765 writePtr += sizeof (half); in fillChannelWithZeroes()
776 *writePtr++ = ((char *) &f)[i]; in fillChannelWithZeroes()