Home
last modified time | relevance | path

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

/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java160 if (jpegHeight < 1) in getHeight()
162 return jpegHeight; in getHeight()
245 if (jpegWidth < 1 || jpegHeight < 1) in getScaledWidth()
253 desiredHeight = jpegHeight; in getScaledWidth()
254 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledWidth()
257 scaledHeight = sf[i].getScaled(jpegHeight); in getScaledWidth()
286 if (jpegWidth < 1 || jpegHeight < 1) in getScaledHeight()
294 desiredHeight = jpegHeight; in getScaledHeight()
295 int scaledWidth = jpegWidth, scaledHeight = jpegHeight; in getScaledHeight()
298 scaledHeight = sf[i].getScaled(jpegHeight); 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.c730 int jpegSubsamp=-1, jpegWidth=0, jpegHeight=0; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III() local
744 jpegHeight=(int)(*env)->GetIntField(env, obj, _fid); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
750 if(height==0) height=jpegHeight; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
757 scaledHeight=TJSCALED(jpegHeight, sf[i]); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3_3B_3II_3III()
816 int jpegSubsamp=-1, jpegWidth=0, jpegHeight=0; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI() local
827 jpegHeight=(int)(*env)->GetIntField(env, obj, _fid); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
829 <(jsize)tjBufSizeYUV(jpegWidth, jpegHeight, jpegSubsamp)) in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI()
1044 int jpegWidth=0, jpegHeight=0, jpegSubsamp; in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform() local
1055 jpegHeight=(int)(*env)->GetIntField(env, obj, _fid); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1115 int w=jpegWidth, h=jpegHeight; in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()