Searched refs:jpegSubsamp (Results 1 – 3 of 3) sorted by relevance
/external/libjpeg-turbo/ |
D | turbojpeg.h | 757 int jpegSubsamp, int jpegQual, int flags); 924 DLLEXPORT unsigned long tjBufSize(int width, int height, int jpegSubsamp); 1160 int *height, int *jpegSubsamp, 1711 DLLEXPORT unsigned long TJBUFSIZEYUV(int width, int height, int jpegSubsamp); 1718 int jpegSubsamp, int jpegQual, int flags); 1734 int *height, int *jpegSubsamp);
|
D | turbojpeg.c | 522 DLLEXPORT unsigned long tjBufSize(int width, int height, int jpegSubsamp) in tjBufSize() argument 527 if (width < 1 || height < 1 || jpegSubsamp < 0 || jpegSubsamp >= NUMSUBOPT) in tjBufSize() 533 mcuw = tjMCUWidth[jpegSubsamp]; in tjBufSize() 534 mcuh = tjMCUHeight[jpegSubsamp]; in tjBufSize() 535 chromasf = jpegSubsamp == TJSAMP_GRAY ? 0 : 4 * 64 / (mcuw * mcuh); in tjBufSize() 669 int jpegSubsamp, int jpegQual, int flags) in tjCompress2() argument 681 jpegSize == NULL || jpegSubsamp < 0 || jpegSubsamp >= NUMSUBOPT || in tjCompress2() 705 alloc = 0; *jpegSize = tjBufSize(width, height, jpegSubsamp); in tjCompress2() 708 setCompDefaults(cinfo, pixelFormat, jpegSubsamp, jpegQual, flags); in tjCompress2() 736 int jpegSubsamp, int jpegQual, int flags) in tjCompress() argument [all …]
|
D | turbojpeg-jni.c | 129 (JNIEnv *env, jclass cls, jint width, jint height, jint jpegSubsamp) in Java_org_libjpegturbo_turbojpeg_TJ_bufSize() argument 131 jint retval = (jint)tjBufSize(width, height, jpegSubsamp); in Java_org_libjpegturbo_turbojpeg_TJ_bufSize() 220 jint jpegSubsamp, jint jpegQual, jint flags) in TJCompressor_compress() argument 239 jpegSize = tjBufSize(width, height, jpegSubsamp); in TJCompressor_compress() 249 width, pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, in TJCompressor_compress() 265 jint pitch, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIIIII_3BIII() argument 269 pf, dst, jpegSubsamp, jpegQual, flags); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIIIII_3BIII() 275 jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIII_3BIII() argument 279 pf, dst, jpegSubsamp, jpegQual, flags); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3BIIII_3BIII() 285 jint stride, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII() argument [all …]
|