Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dtjbench.c150 int scaledh = TJSCALED(h, sf); in decomp() local
164 if ((unsigned long long)pitch * (unsigned long long)scaledh > in decomp()
167 if ((dstBuf = (unsigned char *)malloc((size_t)pitch * scaledh)) == NULL) in decomp()
173 memset(dstBuf, 127, pitch * scaledh); in decomp()
177 int height = doTile ? tileh : scaledh; in decomp()
199 int height = doTile ? min(tileh, h - row * tileh) : scaledh; in decomp()
268 if (tjSaveImage(tempStr, dstBuf, scaledw, 0, scaledh, pf, flags) == -1) in decomp()
Dturbojpeg.c1248 int i, retval = 0, jpegwidth, jpegheight, scaledw, scaledh; in tjDecompress2() local
1281 scaledh = TJSCALED(jpegheight, sf[i]); in tjDecompress2()
1282 if (scaledw <= width && scaledh <= height) in tjDecompress2()
1287 width = scaledw; height = scaledh; in tjDecompress2()
1574 int jpegwidth, jpegheight, jpegSubsamp, scaledw, scaledh; in tjDecompressToYUVPlanes() local
1623 scaledh = TJSCALED(jpegheight, sf[i]); in tjDecompressToYUVPlanes()
1624 if (scaledw <= width && scaledh <= height) in tjDecompressToYUVPlanes()
1632 width = scaledw; height = scaledh; in tjDecompressToYUVPlanes()
1746 int i, jpegwidth, jpegheight, scaledw, scaledh; in tjDecompressToYUV2() local
1772 scaledh = TJSCALED(jpegheight, sf[i]); in tjDecompressToYUV2()
[all …]
/external/libjpeg-turbo/java/
DTJBench.java171 int scaledh = sf.getScaled(h); in decomp() local
181 if ((long)pitch * (long)scaledh > (long)Integer.MAX_VALUE) in decomp()
183 dstBuf = new byte[pitch * scaledh]; in decomp()
192 int height = doTile ? tileh : scaledh; in decomp()
208 int height = doTile ? Math.min(tileh, h - y) : scaledh; in decomp()
291 saveImage(tempStr, dstBuf, scaledw, scaledh, pf); in decomp()