Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dturbojpeg-jni.c1042 unsigned long *dstSizes=NULL; tjtransform *t=NULL; in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform() local
1067 if((dstSizes=(unsigned long *)malloc(sizeof(unsigned long)*n))==NULL) in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1076 dstBufs[i]=NULL; jdstBufs[i]=NULL; dstSizes[i]=0; in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1127 if(tjTransform(handle, jpegBuf, jpegSize, n, dstBufs, dstSizes, t, in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1141 for(i=0; i<n; i++) dstSizesi[i]=(int)dstSizes[i]; in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
1156 if(dstSizes) free(dstSizes); in Java_org_libjpegturbo_turbojpeg_TJTransformer_transform()
Dturbojpeg.h1424 unsigned char **dstBufs, unsigned long *dstSizes, tjtransform *transforms,
Dturbojpeg.c2035 unsigned char **dstBufs, unsigned long *dstSizes, tjtransform *t, int flags) in tjTransform() argument
2045 if(jpegBuf==NULL || jpegSize<=0 || n<1 || dstBufs==NULL || dstSizes==NULL in tjTransform()
2133 alloc=0; dstSizes[i]=tjBufSize(w, h, jpegSubsamp); in tjTransform()
2136 jpeg_mem_dest_tj(cinfo, &dstBufs[i], &dstSizes[i], alloc); in tjTransform()