public interface libturbojpeg
| Modifier and Type | Method and Description |
|---|---|
jnr.ffi.Pointer |
tjAlloc(int bytes) |
long |
tjBufSize(int width,
int height,
TJSAMP subsamp) |
int |
tjCompress2(jnr.ffi.Pointer handle,
Buffer srcBuf,
int width,
int pitch,
int height,
TJPF pixelFormat,
jnr.ffi.byref.PointerByReference jpegBuf,
jnr.ffi.byref.NativeLongByReference jpegSize,
TJSAMP jpegSubsamp,
int jpegQual,
int flags) |
int |
tjDecompress2(jnr.ffi.Pointer handle,
Buffer jpegBuf,
long jpegSize,
Buffer dstBuf,
int width,
int pitch,
int height,
TJPF pixelFormat,
int flags) |
int |
tjDecompressHeader2(jnr.ffi.Pointer handle,
Buffer jpegBuf,
long jpegSize,
jnr.ffi.byref.IntByReference width,
jnr.ffi.byref.IntByReference height,
jnr.ffi.byref.IntByReference jpegSubsamp) |
int |
tjDestroy(jnr.ffi.Pointer handle) |
void |
tjFree(jnr.ffi.Pointer bufPtr) |
String |
tjGetErrorStr() |
jnr.ffi.Pointer |
tjGetScalingFactors(jnr.ffi.byref.IntByReference numscalingfactors) |
jnr.ffi.Pointer |
tjInitCompress() |
jnr.ffi.Pointer |
tjInitDecompress() |
jnr.ffi.Pointer |
tjInitTransform() |
int |
tjTransform(jnr.ffi.Pointer handle,
Buffer jpegBuf,
long jpegSize,
int n,
jnr.ffi.byref.PointerByReference outBuf,
jnr.ffi.byref.NativeLongByReference dstSizes,
tjtransform transform,
int flags) |
int tjCompress2(jnr.ffi.Pointer handle,
Buffer srcBuf,
int width,
int pitch,
int height,
TJPF pixelFormat,
jnr.ffi.byref.PointerByReference jpegBuf,
jnr.ffi.byref.NativeLongByReference jpegSize,
TJSAMP jpegSubsamp,
int jpegQual,
int flags)
int tjDecompress2(jnr.ffi.Pointer handle,
Buffer jpegBuf,
long jpegSize,
Buffer dstBuf,
int width,
int pitch,
int height,
TJPF pixelFormat,
int flags)
int tjDecompressHeader2(jnr.ffi.Pointer handle,
Buffer jpegBuf,
long jpegSize,
jnr.ffi.byref.IntByReference width,
jnr.ffi.byref.IntByReference height,
jnr.ffi.byref.IntByReference jpegSubsamp)
int tjTransform(jnr.ffi.Pointer handle,
Buffer jpegBuf,
long jpegSize,
int n,
jnr.ffi.byref.PointerByReference outBuf,
jnr.ffi.byref.NativeLongByReference dstSizes,
tjtransform transform,
int flags)
int tjDestroy(jnr.ffi.Pointer handle)
void tjFree(jnr.ffi.Pointer bufPtr)
String tjGetErrorStr()
jnr.ffi.Pointer tjGetScalingFactors(jnr.ffi.byref.IntByReference numscalingfactors)
jnr.ffi.Pointer tjInitCompress()
jnr.ffi.Pointer tjInitDecompress()
jnr.ffi.Pointer tjInitTransform()
jnr.ffi.Pointer tjAlloc(int bytes)
long tjBufSize(int width,
int height,
TJSAMP subsamp)
Copyright © 2018. All rights reserved.