Searched refs:scaledh (Results 1 – 5 of 5) sorted by relevance
/external/libvncserver/common/ |
D | turbojpeg.c | 751 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/ |
D | tjbench.c | 89 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/ |
D | tjbench.c | 114 int scaledh=TJSCALED(h, sf); in decomp() local 130 if((dstbuf=(unsigned char *)malloc(pitch*scaledh))==NULL) in decomp() 136 memset(dstbuf, 127, pitch*scaledh); in decomp() 141 int height=dotile? tileh:scaledh; in decomp() 160 int height=dotile? min(tileh, h-row*tileh):scaledh; in decomp() 227 if(savebmp(tempstr, dstbuf, scaledw, scaledh, pf, in decomp()
|
D | turbojpeg.c | 1340 int jpegwidth, jpegheight, scaledw, scaledh; in tjDecompress2() local 1380 scaledh=TJSCALED(jpegheight, sf[i]); in tjDecompress2() 1381 if(scaledw<=width && scaledh<=height) in tjDecompress2() 1386 width=scaledw; height=scaledh; in tjDecompress2() 1705 int jpegwidth, jpegheight, jpegSubsamp, scaledw, scaledh; in tjDecompressToYUVPlanes() local 1755 scaledh=TJSCALED(jpegheight, sf[i]); in tjDecompressToYUVPlanes() 1756 if(scaledw<=width && scaledh<=height) in tjDecompressToYUVPlanes() 1764 width=scaledw; height=scaledh; in tjDecompressToYUVPlanes() 1880 int i, jpegwidth, jpegheight, scaledw, scaledh; in tjDecompressToYUV2() local 1901 scaledh=TJSCALED(jpegheight, sf[i]); in tjDecompressToYUV2() [all …]
|
/external/libjpeg-turbo/java/ |
D | TJBench.java | 141 int scaledh = sf.getScaled(h); in decomp() local 151 dstBuf = new byte[pitch * scaledh]; in decomp() 159 int height = doTile ? tileh : scaledh; in decomp() 173 int height = doTile ? Math.min(tileh, h - y) : scaledh; in decomp() 238 saveImage(tempStr, dstBuf, scaledw, scaledh, pf); in decomp()
|