Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dtjbench.c154 int scaledh = TJSCALED(h, sf); in decomp() local
168 if ((unsigned long long)pitch * (unsigned long long)scaledh > in decomp()
171 if ((dstBuf = (unsigned char *)malloc((size_t)pitch * scaledh)) == NULL) in decomp()
177 memset(dstBuf, 127, (size_t)pitch * scaledh); in decomp()
181 int height = doTile ? tileh : scaledh; in decomp()
203 int height = doTile ? min(tileh, h - row * tileh) : scaledh; in decomp()
274 if (tjSaveImage(tempStr, dstBuf, scaledw, 0, scaledh, pf, flags) == -1) in decomp()
Dturbojpeg.c1284 int i, retval = 0, jpegwidth, jpegheight, scaledw, scaledh; in tjDecompress2() local
1326 scaledh = TJSCALED(jpegheight, sf[i]); in tjDecompress2()
1327 if (scaledw <= width && scaledh <= height) in tjDecompress2()
1332 width = scaledw; height = scaledh; in tjDecompress2()
1622 int jpegwidth, jpegheight, jpegSubsamp, scaledw, scaledh; in tjDecompressToYUVPlanes() local
1680 scaledh = TJSCALED(jpegheight, sf[i]); in tjDecompressToYUVPlanes()
1681 if (scaledw <= width && scaledh <= height) in tjDecompressToYUVPlanes()
1689 width = scaledw; height = scaledh; in tjDecompressToYUVPlanes()
1801 int i, jpegwidth, jpegheight, scaledw, scaledh; in tjDecompressToYUV2() local
1827 scaledh = TJSCALED(jpegheight, sf[i]); in tjDecompressToYUV2()
[all …]