Searched refs:dstSizes (Results 1 - 3 of 3) sorted by relevance
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | turbojpeg-jni.c | 1105 unsigned long *dstSizes = NULL; in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform() local 1133 if ((dstSizes = (unsigned long *)malloc(sizeof(unsigned long) * n)) == NULL) in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform() 1141 dstBufs[i] = NULL; jdstBufs[i] = NULL; dstSizes[i] = 0; in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform() 1191 if (tjTransform(handle, jpegBuf, jpegSize, n, dstBufs, dstSizes, t, in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform() 1205 for (i = 0; i < n; i++) dstSizesi[i] = (int)dstSizes[i]; in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform() 1218 free(dstSizes); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
|
H A D | turbojpeg.h | 1505 * If you choose option 1, <tt>dstSizes[i]</tt> should be set to the size of 1510 * @param dstSizes pointer to an array of n unsigned long variables that will 1513 * <tt>dstSizes[i]</tt> should be set to the size of the buffer. Upon return, 1514 * <tt>dstSizes[i]</tt> will contain the size of the JPEG image (in bytes.) 1528 unsigned char **dstBufs, unsigned long *dstSizes,
|
H A D | turbojpeg.c | 1890 unsigned char **dstBufs, unsigned long *dstSizes, in tjTransform() 1904 dstSizes == NULL || t == NULL || flags < 0) in tjTransform() 1991 alloc = 0; dstSizes[i] = tjBufSize(w, h, jpegSubsamp); in tjTransform() 1994 jpeg_mem_dest_tj(cinfo, &dstBufs[i], &dstSizes[i], alloc); in tjTransform() 1888 tjTransform(tjhandle handle, const unsigned char *jpegBuf, unsigned long jpegSize, int n, unsigned char **dstBufs, unsigned long *dstSizes, tjtransform *t, int flags) tjTransform() argument
|
Completed in 9 milliseconds