Lines Matching defs:jpegBuf
106 unsigned char *srcBuf=NULL, *jpegBuf=NULL;
125 bailif0(jpegBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0));
128 pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, jpegQual,
131 (*env)->ReleasePrimitiveArrayCritical(env, dst, jpegBuf, 0);
133 jpegBuf=srcBuf=NULL;
138 if(jpegBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, jpegBuf, 0);
161 unsigned char *srcBuf=NULL, *jpegBuf=NULL;
182 bailif0(jpegBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0));
185 stride*sizeof(jint), height, pf, &jpegBuf, &jpegSize, jpegSubsamp,
188 (*env)->ReleasePrimitiveArrayCritical(env, dst, jpegBuf, 0);
190 jpegBuf=srcBuf=NULL;
195 if(jpegBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, jpegBuf, 0);
357 unsigned char *jpegBuf=NULL;
365 bailif0(jpegBuf=(*env)->GetPrimitiveArrayCritical(env, src, 0));
367 if(tjDecompressHeader2(handle, jpegBuf, (unsigned long)jpegSize,
370 (*env)->ReleasePrimitiveArrayCritical(env, src, jpegBuf, 0);
373 (*env)->ReleasePrimitiveArrayCritical(env, src, jpegBuf, 0); jpegBuf=NULL;
392 unsigned char *jpegBuf=NULL, *dstBuf=NULL;
408 bailif0(jpegBuf=(*env)->GetPrimitiveArrayCritical(env, src, 0));
411 if(tjDecompress2(handle, jpegBuf, (unsigned long)jpegSize,
416 (*env)->ReleasePrimitiveArrayCritical(env, src, jpegBuf, 0);
417 dstBuf=jpegBuf=NULL;
423 if(jpegBuf) (*env)->ReleasePrimitiveArrayCritical(env, src, jpegBuf, 0);
441 unsigned char *jpegBuf=NULL, *dstBuf=NULL;
459 bailif0(jpegBuf=(*env)->GetPrimitiveArrayCritical(env, src, 0));
462 if(tjDecompress2(handle, jpegBuf, (unsigned long)jpegSize,
467 (*env)->ReleasePrimitiveArrayCritical(env, src, jpegBuf, 0);
468 dstBuf=jpegBuf=NULL;
474 if(jpegBuf) (*env)->ReleasePrimitiveArrayCritical(env, src, jpegBuf, 0);
492 unsigned char *jpegBuf=NULL, *dstBuf=NULL;
509 bailif0(jpegBuf=(*env)->GetPrimitiveArrayCritical(env, src, 0));
512 if(tjDecompressToYUV(handle, jpegBuf, (unsigned long)jpegSize, dstBuf,
516 (*env)->ReleasePrimitiveArrayCritical(env, src, jpegBuf, 0);
517 dstBuf=jpegBuf=NULL;
523 if(jpegBuf) (*env)->ReleasePrimitiveArrayCritical(env, src, jpegBuf, 0);
613 unsigned char *jpegBuf=NULL, **dstBufs=NULL; jsize n=0;
685 bailif0(jpegBuf=(*env)->GetPrimitiveArrayCritical(env, jsrcBuf, 0));
698 if(tjTransform(handle, jpegBuf, jpegSize, n, dstBufs, dstSizes, t,
701 (*env)->ReleasePrimitiveArrayCritical(env, jsrcBuf, jpegBuf, 0);
702 jpegBuf=NULL;
716 if(jpegBuf) (*env)->ReleasePrimitiveArrayCritical(env, jsrcBuf, jpegBuf, 0);