Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching refs:height

101 	(JNIEnv *env, jclass cls, jint width, jint height, jint jpegSubsamp)
103 jint retval=(jint)tjBufSize(width, height, jpegSubsamp);
112 (JNIEnv *env, jclass cls, jint width, jint pad, jint height, jint subsamp)
114 jint retval=(jint)tjBufSizeYUV2(width, pad, height, subsamp);
123 (JNIEnv *env, jclass cls, jint width, jint height, jint subsamp)
126 4, height, subsamp);
132 jint height, jint subsamp)
134 jint retval=(jint)tjPlaneSizeYUV(componentID, width, stride, height,
155 (JNIEnv *env, jclass cls, jint componentID, jint height, jint subsamp)
157 jint retval=(jint)tjPlaneHeight(componentID, height, subsamp);
185 jint width, jint pitch, jint height, jint pf, jbyteArray dst,
195 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF || width<1 || height<1
202 arraySize=(y+height-1)*actualPitch + (x+width)*tjPixelSize[pf];
205 jpegSize=tjBufSize(width, height, jpegSubsamp);
215 pitch, height, pf, &jpegBuf, &jpegSize, jpegSubsamp, jpegQual,
228 jint pitch, jint height, jint pf, jbyteArray dst, jint jpegSubsamp,
231 return TJCompressor_compress(env, obj, src, 1, x, y, width, pitch, height,
238 jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual,
241 return TJCompressor_compress(env, obj, src, 1, 0, 0, width, pitch, height,
248 jint stride, jint height, jint pf, jbyteArray dst, jint jpegSubsamp,
257 stride*sizeof(jint), height, pf, dst, jpegSubsamp, jpegQual, flags);
266 jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual,
275 stride*sizeof(jint), height, pf, dst, jpegSubsamp, jpegQual, flags);
284 jint width, jintArray jSrcStrides, jint height, jint subsamp,
308 jpegSize=tjBufSize(width, height, subsamp);
316 int planeSize=tjPlaneSizeYUV(i, width, srcStrides[i], height, subsamp);
339 if(tjCompressFromYUVPlanes(handle, srcPlanes, width, srcStrides, height,
360 jint width, jint pitch, jint height, jint pf, jobjectArray dstobjs,
372 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF || width<1 || height<1
387 arraySize=(y+height-1)*actualPitch + (x+width)*tjPixelSize[pf];
395 int planeSize=tjPlaneSizeYUV(i, width, dstStrides[i], height, subsamp);
417 width, pitch, height, pf, dstPlanes, dstStrides, subsamp, flags)==-1)
438 jint pitch, jint height, jint pf, jobjectArray dstobjs,
441 TJCompressor_encodeYUV(env, obj, src, 1, x, y, width, pitch, height, pf,
448 jint stride, jint height
457 stride*sizeof(jint), height, pf, dstobjs, jDstOffsets, jDstStrides,
466 jint pitch, jint height, jint pf, jbyteArray dst, jint subsamp, jint flags)
474 if(pf<0 || pf>=org_libjpegturbo_turbojpeg_TJ_NUMPF || width<1 || height<1
480 arraySize=(pitch==0)? width*tjPixelSize[pf]*height:pitch*height;
484 <(jsize)tjBufSizeYUV(width, height, subsamp))
490 if(tjEncodeYUV2(handle, srcBuf, width, pitch, height, pf, dstBuf, subsamp,
503 jint height, jint pf, jbyteArray dst, jint subsamp, jint flags)
505 TJCompressor_encodeYUV_12(env, obj, src, 1, width, pitch, height, pf, dst,
512 jint height, jint pf, jbyteArray dst, jint subsamp, jint flags)
520 stride*sizeof(jint), height, pf, dst, subsamp, flags);
594 int width=0, height=0, jpegSubsamp=-1, jpegColorspace=-1;
604 &width, &height, &jpegSubsamp, &jpegColorspace)==-1)
618 (*env)->SetIntField(env, obj, _fid, height);
627 jint dstElementSize, jint x, jint y, jint width, jint pitch, jint height,
644 arraySize=(y+height-1)*actualPitch + (x+width)*tjPixelSize[pf];
652 &dstBuf[y*actualPitch + x*tjPixelSize[pf]], width, pitch, height, pf,
665 jint x, jint y, jint width, jint pitch, jint height, jint pf, jint flags)
668 pitch, height, pf, flags);
674 jint width, jint pitch, jint height, jint pf, jint flags)
677 pitch, height, pf, flags);
683 jint x, jint y, jint width, jint stride, jint height, jint pf, jint flags)
691 width, stride*sizeof(jint), height, pf, flags);
700 jint width, jint stride, jint height, jint pf, jint flags)
708 width, stride*sizeof(jint), height, pf, flags);
726 int nc=0, i, width, height, scaledWidth, scaledHeight, nsf=0;
743 width=desiredWidth; height=desiredHeight;
745 if(height==0) height=jpegHeight;
753 if(scaledWidth<=width && scaledHeight<=height)
841 jint x, jint y, jint width, jint pitch, jint height, jint pf, jint flags)
867 arraySize=(y+height-1)*actualPitch + (x+width)*tjPixelSize[pf];
875 int planeSize=tjPlaneSizeYUV(i, width, srcStrides[i], height, subsamp);
897 &dstBuf[y*actualPitch + x*tjPixelSize[pf]], width, pitch, height, pf,
920 jint width, jint pitch, jint height, jint pf, jint flags)
923 subsamp, dst, 1, x, y, width, pitch, height, pf, flags);
930 jint width, jint stride, jint height, jint pf, jint flags)
938 subsamp, dst, sizeof(jint), x, y, width, stride*sizeof(jint), height, pf,
1002 bailif0(fid=(*env)->GetFieldID(env, cls, "height", "I"));
1012 bailif0(fid=(*env)->GetFieldID(env, cls, "height", "I"));
1089 bailif0(_fid=(*env)->GetFieldID(env, _cls, "height", "I"));