Home
last modified time | relevance | path

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

/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java147 if (jpegWidth < 1) in getWidth()
149 return jpegWidth; in getWidth()
247 if (jpegWidth < 1 || jpegHeight < 1) in getScaledWidth()
253 desiredWidth = jpegWidth; in getScaledWidth()
256 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledWidth()
258 scaledWidth = sf[i].getScaled(jpegWidth); in getScaledWidth()
288 if (jpegWidth < 1 || jpegHeight < 1) in getScaledHeight()
294 desiredWidth = jpegWidth; in getScaledHeight()
297 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledHeight()
299 scaledWidth = sf[i].getScaled(jpegWidth); in getScaledHeight()
[all …]
DTJTransformer.java123 if (jpegWidth < 1 || jpegHeight < 1) in transform()
126 int w = jpegWidth, h = jpegHeight; in transform()
/external/libjpeg-turbo/
Dturbojpeg-jni.c756 int jpegSubsamp = -1, jpegWidth = 0, jpegHeight = 0; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
767 jpegWidth = (int)(*env)->GetIntField(env, obj, _fid); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
775 if (width == 0) width = jpegWidth; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
781 scaledWidth = TJSCALED(jpegWidth, sf[i]); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
839 int jpegSubsamp = -1, jpegWidth = 0, jpegHeight = 0; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI() local
848 jpegWidth = (int)(*env)->GetIntField(env, obj, _fid); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
852 (jsize)tjBufSizeYUV(jpegWidth, jpegHeight, jpegSubsamp)) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
1068 int i, jpegWidth = 0, jpegHeight = 0, jpegSubsamp; in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform() local
1078 jpegWidth = (int)(*env)->GetIntField(env, obj, _fid); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1137 int w = jpegWidth, h = jpegHeight; in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()