Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/xserver/Xext/
H A DpanoramiXprocs.c1952 int linesDone, nlines, linesPerBuf; in PanoramiXGetImage() local
2043 linesPerBuf = 0; in PanoramiXGetImage()
2045 linesPerBuf = 1; in PanoramiXGetImage()
2047 linesPerBuf = XINERAMA_IMAGE_BUFSIZE / widthBytesLine; in PanoramiXGetImage()
2048 if (linesPerBuf > h) in PanoramiXGetImage()
2049 linesPerBuf = h; in PanoramiXGetImage()
2051 if (!(pBuf = xallocarray(linesPerBuf, widthBytesLine))) in PanoramiXGetImage()
2056 if (linesPerBuf == 0) { in PanoramiXGetImage()
2062 nlines = min(linesPerBuf, h - linesDone); in PanoramiXGetImage()
2080 nlines = min(linesPerBuf, h - linesDone); in PanoramiXGetImage()
/OK3568_Linux_fs/external/xserver/dix/
H A Ddispatch.c2075 int nlines, linesPerBuf, rc; in DoGetImage() local
2174 linesPerBuf = 0; in DoGetImage()
2176 linesPerBuf = 1; in DoGetImage()
2178 linesPerBuf = IMAGE_BUFSIZE / widthBytesLine; in DoGetImage()
2179 if (linesPerBuf > height) in DoGetImage()
2180 linesPerBuf = height; in DoGetImage()
2182 length = linesPerBuf * widthBytesLine; in DoGetImage()
2183 if (linesPerBuf < height) { in DoGetImage()
2185 while ((linesPerBuf > 1) && in DoGetImage()
2187 linesPerBuf--; in DoGetImage()
[all …]