Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp58 ubyte *fromPtr, *toPtr, *newStrip; in shiftStripByLeftMargin() local
65 newStrip = (ubyte *) malloc(scanLineWidth * currStripHeight); in shiftStripByLeftMargin()
66 memset(newStrip, 0xff, scanLineWidth * currStripHeight); in shiftStripByLeftMargin()
68 toPtr = newStrip + leftMargin + (i * currMediaWidth); in shiftStripByLeftMargin()
76 newStrip = (ubyte *) malloc(scanLineWidth * currStripHeight); in shiftStripByLeftMargin()
77 memset(newStrip, 0xff, scanLineWidth * currStripHeight); in shiftStripByLeftMargin()
79 toPtr = newStrip + shiftAmount + (i * scanLineWidth); in shiftStripByLeftMargin()
85 return newStrip; in shiftStripByLeftMargin()