Home
last modified time | relevance | path

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

/external/libvncserver/common/
Dturbojpeg.c751 int jpegwidth, jpegheight, scaledw, scaledh; in tjDecompress2() local
792 scaledh=TJSCALED(jpegheight, sf[i]); in tjDecompress2()
793 if(scaledw<=width && scaledh<=height) in tjDecompress2()
796 if(scaledw>width || scaledh>height) in tjDecompress2()
798 width=scaledw; height=scaledh; in tjDecompress2()
/external/libvncserver/test/
Dtjbench.c89 int scaledh=TJSCALED(h, sf); in decomptest() local
103 bufsize=pitch*scaledh; in decomptest()
116 pitch, scaledh, pf, flags)==-1) in decomptest()
128 int height=dotile? min(tileh, h-row*tileh):scaledh; in decomptest()
160 if(savebmp(tempstr, dstbuf, scaledw, scaledh, bmpPF[pf], pitch, in decomptest()
/external/libjpeg-turbo/
Dtjbench.c114 int scaledh=TJSCALED(h, sf); in decomp() local
130 if ((unsigned long long)pitch * (unsigned long long)scaledh > in decomp()
133 if((dstbuf=(unsigned char *)malloc((size_t)pitch*scaledh))==NULL) in decomp()
139 memset(dstbuf, 127, pitch*scaledh); in decomp()
144 int height=dotile? tileh:scaledh; in decomp()
166 int height=dotile? min(tileh, h-row*tileh):scaledh; in decomp()
236 if(savebmp(tempstr, dstbuf, scaledw, scaledh, pf, in decomp()
Dturbojpeg.c1380 int jpegwidth, jpegheight, scaledw, scaledh; in tjDecompress2() local
1420 scaledh=TJSCALED(jpegheight, sf[i]); in tjDecompress2()
1421 if(scaledw<=width && scaledh<=height) in tjDecompress2()
1426 width=scaledw; height=scaledh; in tjDecompress2()
1746 int jpegwidth, jpegheight, jpegSubsamp, scaledw, scaledh; in tjDecompressToYUVPlanes() local
1796 scaledh=TJSCALED(jpegheight, sf[i]); in tjDecompressToYUVPlanes()
1797 if(scaledw<=width && scaledh<=height) in tjDecompressToYUVPlanes()
1805 width=scaledw; height=scaledh; in tjDecompressToYUVPlanes()
1921 int i, jpegwidth, jpegheight, scaledw, scaledh; in tjDecompressToYUV2() local
1948 scaledh=TJSCALED(jpegheight, sf[i]); in tjDecompressToYUV2()
[all …]
/external/libjpeg-turbo/java/
DTJBench.java143 int scaledh = sf.getScaled(h); in decomp() local
153 if ((long)pitch * (long)scaledh > (long)Integer.MAX_VALUE) in decomp()
155 dstBuf = new byte[pitch * scaledh]; in decomp()
164 int height = doTile ? tileh : scaledh; in decomp()
178 int height = doTile ? Math.min(tileh, h - y) : scaledh; in decomp()
245 saveImage(tempStr, dstBuf, scaledw, scaledh, pf); in decomp()