Lines Matching refs:pf
189 jint width, jint pitch, jint height, jint pf, jbyteArray dst,
199 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF || width<1 || height<1
205 actualPitch=(pitch==0)? width*tjPixelSize[pf]:pitch;
206 arraySize=(y+height-1)*actualPitch + (x+width)*tjPixelSize[pf];
218 if(tjCompress2(handle, &srcBuf[y*actualPitch + x*tjPixelSize[pf]], width,
219 pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, jpegQual,
232 jint pitch, jint height, jint pf, jbyteArray dst, jint jpegSubsamp,
236 pf, dst, jpegSubsamp, jpegQual, flags);
242 jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual,
246 pf, dst, jpegSubsamp, jpegQual, flags);
252 jint stride, jint height, jint pf, jbyteArray dst, jint jpegSubsamp,
255 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF)
257 if(tjPixelSize[pf]!=sizeof(jint))
261 stride*sizeof(jint), height, pf, dst, jpegSubsamp, jpegQual, flags);
270 jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual,
273 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF)
275 if(tjPixelSize[pf]!=sizeof(jint))
279 stride*sizeof(jint), height, pf, dst, jpegSubsamp, jpegQual, flags);
365 jint width, jint pitch, jint height, jint pf, jobjectArray dstobjs,
377 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF || width<1 || height<1
391 actualPitch=(pitch==0)? width*tjPixelSize[pf]:pitch;
392 arraySize=(y+height-1)*actualPitch + (x+width)*tjPixelSize[pf];
421 if(tjEncodeYUVPlanes(handle, &srcBuf[y*actualPitch + x*tjPixelSize[pf]],
422 width, pitch, height, pf, dstPlanes, dstStrides, subsamp, flags)==-1)
443 jint pitch, jint height, jint pf, jobjectArray dstobjs,
446 pf,
453 jint stride, jint height, jint pf, jobjectArray dstobjs,
456 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF)
458 if(tjPixelSize[pf]!=sizeof(jint))
462 stride*sizeof(jint), height, pf, dstobjs, jDstOffsets, jDstStrides,
471 jint pitch, jint height, jint pf, jbyteArray dst, jint subsamp, jint flags)
479 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF || width<1 || height<1
485 arraySize=(pitch==0)? width*tjPixelSize[pf]*height:pitch*height;
495 if(tjEncodeYUV2(handle, srcBuf, width, pitch, height, pf, dstBuf, subsamp,
508 jint height, jint pf, jbyteArray dst, jint subsamp, jint flags)
510 TJCompressor_encodeYUV_12(env, obj, src, 1, width, pitch, height, pf, dst,
517 jint height, jint pf, jbyteArray dst, jint subsamp, jint flags)
519 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF)
521 if(tjPixelSize[pf]!=sizeof(jint))
525 stride*sizeof(jint), height, pf, dst, subsamp, flags);
633 jint pf, jint flags)
641 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF)
648 actualPitch=(pitch==0)? width*tjPixelSize[pf]:pitch;
649 arraySize=(y+height-1)*actualPitch + (x+width)*tjPixelSize[pf];
657 &dstBuf[y*actualPitch + x*tjPixelSize[pf]], width, pitch, height, pf,
670 jint x, jint y, jint width, jint pitch, jint height, jint pf, jint flags)
673 pitch, height, pf, flags);
679 jint width, jint pitch, jint height, jint pf, jint flags)
682 pitch, height, pf, flags);
688 jint x, jint y, jint width, jint stride, jint height, jint pf, jint flags)
690 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF)
692 if(tjPixelSize[pf]!=sizeof(jint))
696 width, stride*sizeof(jint), height, pf, flags);
705 jint width, jint stride, jint height, jint pf, jint flags)
707 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF)
709 if(tjPixelSize[pf]!=sizeof(jint))
713 width, stride*sizeof(jint), height, pf, flags);
848 jint x, jint y, jint width, jint pitch, jint height, jint pf, jint flags)
860 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF || subsamp<0
874 actualPitch=(pitch==0)? width*tjPixelSize[pf]:pitch;
875 arraySize=(y+height-1)*actualPitch + (x+width)*tjPixelSize[pf];
905 &dstBuf[y*actualPitch + x*tjPixelSize[pf]], width, pitch, height, pf,
928 jint width, jint pitch, jint height, jint pf, jint flags)
931 subsamp, dst, 1, x, y, width, pitch, height, pf, flags);
938 jint width, jint stride, jint height, jint pf, jint flags)
940 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF)
942 if(tjPixelSize[pf]!=sizeof(jint))
946 subsamp, dst, sizeof(jint), x, y, width, stride*sizeof(jint), height, pf,