# Index

B C D E F G I N O P S T U Y
All Classes All Packages

## B

bufSize(int, int, int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns the maximum size of the buffer (in bytes) required to hold a JPEG image with the given width, height, and level of chrominance subsampling.
bufSizeYUV(int, int, int, int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns the size of the buffer (in bytes) required to hold a unified planar YUV image with the given width, height, and level of chrominance subsampling.

## C

cf - Variable in class org.libjpegturbo.turbojpeg.TJTransform
  Custom filter instance
close() - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Free the native structures associated with this compressor instance.
close() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Free the native structures associated with this decompressor instance.
compress() - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Compress the packed-pixel or planar YUV source image associated with this compressor instance and return a buffer containing a JPEG image.
compress(byte[]) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Compress the packed-pixel or planar YUV source image associated with this compressor instance and output a JPEG image to the given destination buffer.
compress(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Deprecated.
  Use `set()` and `TJCompressor.compress(byte[])` instead.
compress(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Deprecated.
  Use `set()` and `TJCompressor.compress()` instead.
CS_CMYK - Static variable in class org.libjpegturbo.turbojpeg.TJ
  CMYK colorspace
CS_GRAY - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Grayscale colorspace
CS_RGB - Static variable in class org.libjpegturbo.turbojpeg.TJ
  RGB colorspace
CS_YCbCr - Static variable in class org.libjpegturbo.turbojpeg.TJ
  YCbCr colorspace
CS_YCCK - Static variable in class org.libjpegturbo.turbojpeg.TJ
  YCCK colorspace
customFilter(ShortBuffer, Rectangle, Rectangle, int, int, TJTransform) - Method in interface org.libjpegturbo.turbojpeg.TJCustomFilter
  A callback method that can be used to modify the DCT coefficients after they are losslessly transformed but before they are transcoded to a new JPEG image.

## D

decompress(byte[], int, int, int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Deprecated.
  Use `set()`, `setScalingFactor()`, and `TJDecompressor.decompress8(byte[], int, int, int, int)` instead.
decompress(int[], int, int, int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Deprecated.
  Use `set()`, `setScalingFactor()`, and `TJDecompressor.decompress8(int[], int, int, int, int)` instead.
decompress(int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Deprecated.
  Use `set()`, `setScalingFactor()`, and `TJDecompressor.decompress8(int)` instead.
decompress(int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Deprecated.
  Use `set()`, `setScalingFactor()`, and `TJDecompressor.decompress8(int, int)` instead.
decompress(BufferedImage, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Deprecated.
  Use `set()`, `setScalingFactor()`, and `TJDecompressor.decompress8(BufferedImage)` instead.
decompress12(int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the 12-bit-per-sample JPEG source image associated with this decompressor instance and return a buffer containing a 12-bit-per-sample packed-pixel decompressed image.
decompress12(short[], int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the 12-bit-per-sample JPEG source image associated with this decompressor instance and output a 12-bit-per-sample packed-pixel grayscale, RGB, or CMYK image to the given destination buffer.
decompress16(int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the 16-bit-per-sample JPEG source image associated with this decompressor instance and return a buffer containing a 16-bit-per-sample packed-pixel decompressed image.
decompress16(short[], int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the 16-bit-per-sample lossless JPEG source image associated with this decompressor instance and output a 16-bit-per-sample packed-pixel grayscale, RGB, or CMYK image to the given destination buffer.
decompress8(byte[], int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the 8-bit-per-sample JPEG source image or decode the planar YUV source image associated with this decompressor instance and output an 8-bit-per-sample packed-pixel grayscale, RGB, or CMYK image to the given destination buffer.
decompress8(int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the 8-bit-per-sample JPEG source image or decode the planar YUV source image associated with this decompressor instance and return a `BufferedImage` instance containing the 8-bit-per-sample packed-pixel decompressed/decoded image.
decompress8(int[], int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the 8-bit-per-sample JPEG source image or decode the planar YUV source image associated with this decompressor instance and output an 8-bit-per-sample packed-pixel grayscale, RGB, or CMYK image to the given destination buffer.
decompress8(int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the 8-bit-per-sample JPEG source image or decode the planar YUV source image associated with this decompressor instance and return a buffer containing an 8-bit-per-sample packed-pixel decompressed image.
decompress8(BufferedImage) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the 8-bit-per-sample JPEG source image or decode the planar YUV source image associated with this decompressor instance and output an 8-bit-per-sample packed-pixel decompressed/decoded image to the given `BufferedImage` instance.
decompressToYUV(int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the 8-bit-per-sample JPEG source image associated with this decompressor instance into an 8-bit-per-sample unified planar YUV image and return a `YUVImage` instance containing the decompressed image.
decompressToYUV(int[]) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the 8-bit-per-sample JPEG source image associated with this decompressor instance into a set of 8-bit-per-sample Y, U (Cb), and V (Cr) image planes and return a `YUVImage` instance containing the decompressed image planes.
decompressToYUV(int, int[], int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Deprecated.
  Use `set()`, `setScalingFactor()`, and `TJDecompressor.decompressToYUV(int[])` instead.
decompressToYUV(int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Deprecated.
  Use `set()`, `setScalingFactor()`, and `TJDecompressor.decompressToYUV(int)` instead.
decompressToYUV(YUVImage) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the 8-bit-per-sample JPEG source image associated with this decompressor instance into an 8-bit-per-sample planar YUV image and store it in the given `YUVImage` instance.
decompressToYUV(YUVImage, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Deprecated.
  Use `set()`, `setScalingFactor()`, and `TJDecompressor.decompressToYUV(YUVImage)` instead.

## E

encodeYUV(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Encode the 8-bit-per-sample packed-pixel source image associated with this compressor instance into an 8-bit-per-sample unified planar YUV image and return a `YUVImage` instance containing the encoded image.
encodeYUV(int[]) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Encode the 8-bit-per-sample packed-pixel source image associated with this compressor instance into separate 8-bit-per-sample Y, U (Cb), and V (Cr) image planes and return a `YUVImage` instance containing the encoded image planes.
encodeYUV(int[], int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Deprecated.
  Use `set()` and `TJCompressor.encodeYUV(int[])` instead.
encodeYUV(int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Deprecated.
  Use `set()` and `TJCompressor.encodeYUV(int)` instead.
encodeYUV(YUVImage) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Encode the 8-bit-per-sample packed-pixel source image associated with this compressor instance into an 8-bit-per-sample planar YUV image and store it in the given `YUVImage` instance.
encodeYUV(YUVImage, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Deprecated.
  Use `set()` and `TJCompressor.encodeYUV(YUVImage)` instead.
equals(TJScalingFactor) - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
  Returns true or false, depending on whether this instance and `other` have the same numerator and denominator.
ERR_FATAL - Static variable in class org.libjpegturbo.turbojpeg.TJ
  The error was fatal and non-recoverable.
ERR_WARNING - Static variable in class org.libjpegturbo.turbojpeg.TJ
  The error was non-fatal and recoverable, but the destination image may still be corrupt.

## F

finalize() - Method in class org.libjpegturbo.turbojpeg.TJCompressor
finalize() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
FLAG_ACCURATEDCT - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Deprecated.
  Use `TJ.PARAM_FASTDCT` instead.
FLAG_BOTTOMUP - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Deprecated.
  Use `TJ.PARAM_BOTTOMUP` instead.
FLAG_FASTDCT - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Deprecated.
  Use `TJ.PARAM_FASTDCT` instead.
FLAG_FASTUPSAMPLE - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Deprecated.
  Use `TJ.PARAM_FASTUPSAMPLE` instead.
FLAG_LIMITSCANS - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Deprecated.
  Use `TJ.PARAM_SCANLIMIT` instead.
FLAG_PROGRESSIVE - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Deprecated.
  Use `TJ.PARAM_PROGRESSIVE` instead.
FLAG_STOPONWARNING - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Deprecated.
  Use `TJ.PARAM_STOPONWARNING` instead.

## G

get(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Get the value of a compression parameter.
get(int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Get the value of a decompression parameter.
getAlphaOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  For the given pixel format, returns the number of samples that the alpha component is offset from the start of the pixel.
getBlueOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  For the given pixel format, returns the number of samples that the blue component is offset from the start of the pixel.
getBuf() - Method in class org.libjpegturbo.turbojpeg.YUVImage
  Returns the YUV buffer (if this image is stored in a unified buffer rather than separate image planes.)
getColorspace() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Deprecated.
  Use ``get`(`TJ.PARAM_COLORSPACE`)` instead.
getCompressedSize() - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Returns the size of the image (in bytes) generated by the most recent compression operation.
getDenom() - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
  Returns denominator
getErrorCode() - Method in exception org.libjpegturbo.turbojpeg.TJException
  Returns a code (one of `TJ.ERR_*`) indicating the severity of the last error.
getGreenOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  For the given pixel format, returns the number of samples that the green component is offset from the start of the pixel.
getHeight() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Returns the height of the source image (JPEG or YUV) associated with this decompressor instance.
getHeight() - Method in class org.libjpegturbo.turbojpeg.YUVImage
  Returns the height of the YUV image (or subregion.)
getJPEGBuf() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Returns the JPEG buffer associated with this decompressor instance.
getJPEGSize() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Returns the size of the JPEG image (in bytes) associated with this decompressor instance.
getMCUHeight(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns the iMCU height for the given level of chrominance subsampling.
getMCUWidth(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns the iMCU width for the given level of chrominance subsampling.
getNum() - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
  Returns numerator
getOffsets() - Method in class org.libjpegturbo.turbojpeg.YUVImage
  Returns the offsets (in bytes) of each plane within the planes of a larger YUV image.
getPad() - Method in class org.libjpegturbo.turbojpeg.YUVImage
  Returns the row alignment (in bytes) of the YUV buffer (if this image is stored in a unified buffer rather than separate image planes.)
getPixelSize(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns the pixel size (in samples) for the given pixel format.
getPlanes() - Method in class org.libjpegturbo.turbojpeg.YUVImage
  Returns the YUV image planes.
getRedOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  For the given pixel format, returns the number of samples that the red component is offset from the start of the pixel.
getScaled(int) - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
  Returns the scaled value of `dimension`.
getScaledHeight(int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Deprecated.
  Use `setScalingFactor()` and `TJScalingFactor.getScaled()` instead.
getScaledWidth(int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Deprecated.
  Use `setScalingFactor()` and `TJScalingFactor.getScaled()` instead.
getScalingFactors() - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns a list of fractional scaling factors that the JPEG decompressor supports.
getSize() - Method in class org.libjpegturbo.turbojpeg.YUVImage
  Returns the size (in bytes) of the YUV buffer (if this image is stored in a unified buffer rather than separate image planes.)
getStrides() - Method in class org.libjpegturbo.turbojpeg.YUVImage
  Returns the number of bytes per row of each plane in the YUV image.
getSubsamp() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Deprecated.
  Use ``get`(`TJ.PARAM_SUBSAMP`)` instead.
getSubsamp() - Method in class org.libjpegturbo.turbojpeg.YUVImage
  Returns the level of chrominance subsampling used in the YUV image.
getTransformedSizes() - Method in class org.libjpegturbo.turbojpeg.TJTransformer
  Returns an array containing the sizes of the transformed JPEG images (in bytes) generated by the most recent transform operation.
getWidth() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Returns the width of the source image (JPEG or YUV) associated with this decompressor instance.
getWidth() - Method in class org.libjpegturbo.turbojpeg.YUVImage
  Returns the width of the YUV image (or subregion.)

## I

isOne() - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
  Returns true or false, depending on whether this instance is equal to 1/1.

## N

NUMCS - Static variable in class org.libjpegturbo.turbojpeg.TJ
  The number of JPEG colorspaces
NUMERR - Static variable in class org.libjpegturbo.turbojpeg.TJ
  The number of error codes
NUMOP - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  The number of lossless transform operations
NUMPF - Static variable in class org.libjpegturbo.turbojpeg.TJ
  The number of pixel formats
NUMSAMP - Static variable in class org.libjpegturbo.turbojpeg.TJ
  The number of chrominance subsampling options

## O

op - Variable in class org.libjpegturbo.turbojpeg.TJTransform
  Transform operation (one of `OP_*`)
OP_HFLIP - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Flip (mirror) image horizontally.
OP_NONE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Do not transform the position of the image pixels.
OP_ROT180 - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Rotate image 180 degrees.
OP_ROT270 - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Rotate image counter-clockwise by 90 degrees.
OP_ROT90 - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Rotate image clockwise by 90 degrees.
OP_TRANSPOSE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Transpose image (flip/mirror along upper left to lower right axis).
OP_TRANSVERSE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Transverse transpose image (flip/mirror along upper right to lower left axis).
OP_VFLIP - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Flip (mirror) image vertically.
OPT_ARITHMETIC - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Enable arithmetic entropy coding in the destination image.
OPT_COPYNONE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Do not copy any extra markers (including Exif and ICC profile data) from the source image to the destination image.
OPT_CROP - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Enable lossless cropping.
OPT_GRAY - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Discard the color data in the source image, and generate a grayscale destination image.
OPT_NOOUTPUT - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Do not generate a destination image.
OPT_OPTIMIZE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Enable Huffman table optimization for the destination image.
OPT_PERFECT - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  This option causes `TJTransformer.transform()` to throw an exception if the transform is not perfect.
OPT_PROGRESSIVE - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Generate a progressive destination image instead of a single-scan destination image.
OPT_TRIM - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  Discard any partial iMCUs that cannot be transformed.
options - Variable in class org.libjpegturbo.turbojpeg.TJTransform
  Transform options (bitwise OR of one or more of `OPT_*`)
org.libjpegturbo.turbojpeg - package org.libjpegturbo.turbojpeg

## P

PARAM_ARITHMETIC - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Arithmetic entropy coding
PARAM_BOTTOMUP - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Row order in packed-pixel source/destination images
PARAM_COLORSPACE - Static variable in class org.libjpegturbo.turbojpeg.TJ
  JPEG colorspace
PARAM_DENSITYUNITS - Static variable in class org.libjpegturbo.turbojpeg.TJ
  JPEG pixel density units
PARAM_FASTDCT - Static variable in class org.libjpegturbo.turbojpeg.TJ
  DCT/IDCT algorithm [lossy compression and decompression]
PARAM_FASTUPSAMPLE - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Chrominance upsampling algorithm [lossy decompression only]
PARAM_JPEGHEIGHT - Static variable in class org.libjpegturbo.turbojpeg.TJ
  JPEG height (in pixels) [decompression only, read-only]
PARAM_JPEGWIDTH - Static variable in class org.libjpegturbo.turbojpeg.TJ
  JPEG width (in pixels) [decompression only, read-only]
PARAM_LOSSLESS - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Lossless JPEG
PARAM_LOSSLESSPSV - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Lossless JPEG predictor selection value (PSV)
PARAM_LOSSLESSPT - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Lossless JPEG point transform (Pt)
PARAM_MAXMEMORY - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Memory limit for intermediate buffers
PARAM_MAXPIXELS - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Image size limit [decompression, lossless transformation]
PARAM_OPTIMIZE - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Huffman table optimization [lossy compression, lossless transformation]
PARAM_PRECISION - Static variable in class org.libjpegturbo.turbojpeg.TJ
  JPEG data precision (bits per sample) [decompression only, read-only]
PARAM_PROGRESSIVE - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Progressive JPEG
PARAM_QUALITY - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Perceptual quality of lossy JPEG images [compression only]
PARAM_RESTARTBLOCKS - Static variable in class org.libjpegturbo.turbojpeg.TJ
  JPEG restart marker interval in MCUs [lossy compression only]
PARAM_RESTARTROWS - Static variable in class org.libjpegturbo.turbojpeg.TJ
  JPEG restart marker interval in MCU rows [compression only]
PARAM_SCANLIMIT - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Progressive JPEG scan limit for lossy JPEG images [decompression, lossless transformation]
PARAM_STOPONWARNING - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Error handling behavior
PARAM_SUBSAMP - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Chrominance subsampling level
PARAM_XDENSITY - Static variable in class org.libjpegturbo.turbojpeg.TJ
  JPEG horizontal pixel density
PARAM_YDENSITY - Static variable in class org.libjpegturbo.turbojpeg.TJ
  JPEG vertical pixel density
PF_ABGR - Static variable in class org.libjpegturbo.turbojpeg.TJ
  ABGR pixel format
PF_ARGB - Static variable in class org.libjpegturbo.turbojpeg.TJ
  ARGB pixel format
PF_BGR - Static variable in class org.libjpegturbo.turbojpeg.TJ
  BGR pixel format
PF_BGRA - Static variable in class org.libjpegturbo.turbojpeg.TJ
  BGRA pixel format
PF_BGRX - Static variable in class org.libjpegturbo.turbojpeg.TJ
  BGRX pixel format
PF_CMYK - Static variable in class org.libjpegturbo.turbojpeg.TJ
  CMYK pixel format
PF_GRAY - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Grayscale pixel format
PF_RGB - Static variable in class org.libjpegturbo.turbojpeg.TJ
  RGB pixel format
PF_RGBA - Static variable in class org.libjpegturbo.turbojpeg.TJ
  RGBA pixel format
PF_RGBX - Static variable in class org.libjpegturbo.turbojpeg.TJ
  RGBX pixel format
PF_XBGR - Static variable in class org.libjpegturbo.turbojpeg.TJ
  XBGR pixel format
PF_XRGB - Static variable in class org.libjpegturbo.turbojpeg.TJ
  XRGB pixel format
planeHeight(int, int, int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns the plane height of a YUV image plane with the given parameters.
planeSizeYUV(int, int, int, int, int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns the size of the buffer (in bytes) required to hold a YUV image plane with the given parameters.
planeWidth(int, int, int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns the plane width of a YUV image plane with the given parameters.

## S

SAMP_411 - Static variable in class org.libjpegturbo.turbojpeg.TJ
  4:1:1 chrominance subsampling
SAMP_420 - Static variable in class org.libjpegturbo.turbojpeg.TJ
  4:2:0 chrominance subsampling
SAMP_422 - Static variable in class org.libjpegturbo.turbojpeg.TJ
  4:2:2 chrominance subsampling
SAMP_440 - Static variable in class org.libjpegturbo.turbojpeg.TJ
  4:4:0 chrominance subsampling
SAMP_441 - Static variable in class org.libjpegturbo.turbojpeg.TJ
  4:4:1 chrominance subsampling
SAMP_444 - Static variable in class org.libjpegturbo.turbojpeg.TJ
  4:4:4 chrominance subsampling (no chrominance subsampling)
SAMP_GRAY - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Grayscale
SAMP_UNKNOWN - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Unknown subsampling
set(int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Set the value of a compression parameter.
set(int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Set the value of a decompression parameter.
setBuf(byte[][], int[], int, int[], int, int) - Method in class org.libjpegturbo.turbojpeg.YUVImage
  Assign a set of image planes to this `YUVImage` instance.
setBuf(byte[], int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.YUVImage
  Assign a unified buffer to this `YUVImage` instance.
setCroppingRegion(Rectangle) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Set the cropping region for partially decompressing a lossy JPEG image into a packed-pixel image.
setJPEGQuality(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Deprecated.
  Use ``set`(`TJ.PARAM_QUALITY`, ...)` instead.
setScalingFactor(TJScalingFactor) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Set the scaling factor for subsequent lossy decompression operations.
setSourceImage(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Associate the JPEG image or "abbreviated table specification" (AKA "tables-only") datastream of length `imageSize` bytes stored in `jpegImage` with this decompressor instance.
setSourceImage(byte[], int, int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Associate an 8-bit-per-sample packed-pixel RGB, grayscale, or CMYK source image with this compressor instance.
setSourceImage(BufferedImage, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Associate an 8-bit-per-sample packed-pixel RGB or grayscale source image with this compressor instance.
setSourceImage(YUVImage) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Associate an 8-bit-per-sample planar YUV source image with this compressor instance.
setSourceImage(YUVImage) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Associate the specified planar YUV source image with this decompressor instance.
setSourceImage12(short[], int, int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Associate a 12-bit-per-sample packed-pixel RGB, grayscale, or CMYK source image with this compressor instance.
setSourceImage16(short[], int, int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Associate a 16-bit-per-sample packed-pixel RGB, grayscale, or CMYK source image with this compressor instance.
setSubsamp(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Deprecated.
  Use ``set`(`TJ.PARAM_SUBSAMP`, ...)` instead.

## T

TJ - Class in org.libjpegturbo.turbojpeg
  TurboJPEG utility class (cannot be instantiated)
TJCompressor - Class in org.libjpegturbo.turbojpeg
  TurboJPEG compressor
TJCompressor() - Constructor for class org.libjpegturbo.turbojpeg.TJCompressor
  Create a TurboJPEG compressor instance.
TJCompressor(byte[], int, int, int, int, int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJCompressor
  Create a TurboJPEG compressor instance and associate the 8-bit-per-sample packed-pixel source image stored in `srcImage` with the newly created instance.
TJCompressor(BufferedImage, int, int, int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJCompressor
  Create a TurboJPEG compressor instance and associate the 8-bit-per-sample packed-pixel source image stored in `srcImage` with the newly created instance.
TJCustomFilter - Interface in org.libjpegturbo.turbojpeg
  Custom filter callback interface
TJDecompressor - Class in org.libjpegturbo.turbojpeg
  TurboJPEG decompressor
TJDecompressor() - Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor
  Create a TurboJPEG decompresssor instance.
TJDecompressor(byte[]) - Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor
  Create a TurboJPEG decompressor instance and associate the JPEG source image or "abbreviated table specification" (AKA "tables-only") datastream stored in `jpegImage` with the newly created instance.
TJDecompressor(byte[], int) - Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor
  Create a TurboJPEG decompressor instance and associate the JPEG source image or "abbreviated table specification" (AKA "tables-only") datastream of length `imageSize` bytes stored in `jpegImage` with the newly created instance.
TJDecompressor(YUVImage) - Constructor for class org.libjpegturbo.turbojpeg.TJDecompressor
  Create a TurboJPEG decompressor instance and associate the 8-bit-per-sample planar YUV source image stored in `yuvImage` with the newly created instance.
TJException - Exception in org.libjpegturbo.turbojpeg
TJException() - Constructor for exception org.libjpegturbo.turbojpeg.TJException
TJException(String) - Constructor for exception org.libjpegturbo.turbojpeg.TJException
TJException(String, int) - Constructor for exception org.libjpegturbo.turbojpeg.TJException
TJException(String, Throwable) - Constructor for exception org.libjpegturbo.turbojpeg.TJException
TJException(Throwable) - Constructor for exception org.libjpegturbo.turbojpeg.TJException
TJScalingFactor - Class in org.libjpegturbo.turbojpeg
  Fractional scaling factor
TJScalingFactor(int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJScalingFactor
  Create a TurboJPEG scaling factor instance.
TJTransform - Class in org.libjpegturbo.turbojpeg
  Lossless transform parameters
TJTransform() - Constructor for class org.libjpegturbo.turbojpeg.TJTransform
  Create a new lossless transform instance.
TJTransform(int, int, int, int, int, int, TJCustomFilter) - Constructor for class org.libjpegturbo.turbojpeg.TJTransform
  Create a new lossless transform instance with the given parameters.
TJTransform(Rectangle, int, int, TJCustomFilter) - Constructor for class org.libjpegturbo.turbojpeg.TJTransform
  Create a new lossless transform instance with the given parameters.
TJTransformer - Class in org.libjpegturbo.turbojpeg
  TurboJPEG lossless transformer
TJTransformer() - Constructor for class org.libjpegturbo.turbojpeg.TJTransformer
  Create a TurboJPEG lossless transformer instance.
TJTransformer(byte[]) - Constructor for class org.libjpegturbo.turbojpeg.TJTransformer
  Create a TurboJPEG lossless transformer instance and associate the JPEG source image stored in `jpegImage` with the newly created instance.
TJTransformer(byte[], int) - Constructor for class org.libjpegturbo.turbojpeg.TJTransformer
  Create a TurboJPEG lossless transformer instance and associate the JPEG source image of length `imageSize` bytes stored in `jpegImage` with the newly created instance.
transform(byte[][], TJTransform[]) - Method in class org.libjpegturbo.turbojpeg.TJTransformer
  Losslessly transform the JPEG source image associated with this transformer instance into one or more JPEG images stored in the given destination buffers.
transform(byte[][], TJTransform[], int) - Method in class org.libjpegturbo.turbojpeg.TJTransformer
  Deprecated.
  Use `TJDecompressor.set()` and `TJTransformer.transform(byte[][], TJTransform[])` instead.
transform(TJTransform[]) - Method in class org.libjpegturbo.turbojpeg.TJTransformer
  Losslessly transform the JPEG source image associated with this transformer instance and return an array of `TJDecompressor` instances, each of which has a transformed JPEG image associated with it.
transform(TJTransform[], int) - Method in class org.libjpegturbo.turbojpeg.TJTransformer
  Deprecated.
  Use `TJDecompressor.set()` and `TJTransformer.transform(TJTransform[])` instead.

## U

UNCROPPED - Static variable in class org.libjpegturbo.turbojpeg.TJ
  A `java.awt.Rectangle` instance that specifies no cropping
UNSCALED - Static variable in class org.libjpegturbo.turbojpeg.TJ
  A `TJScalingFactor` instance that specifies a scaling factor of 1/1 (no scaling)

## Y

YUVImage - Class in org.libjpegturbo.turbojpeg
  This class encapsulates a planar YUV image and the metadata associated with it.
YUVImage(byte[][], int[], int, int[], int, int) - Constructor for class org.libjpegturbo.turbojpeg.YUVImage
  Create a new `YUVImage` instance from a set of existing image planes.
YUVImage(byte[], int, int, int, int) - Constructor for class org.libjpegturbo.turbojpeg.YUVImage
  Create a new `YUVImage` instance from an existing unified buffer.
YUVImage(int, int[], int, int) - Constructor for class org.libjpegturbo.turbojpeg.YUVImage
  Create a new `YUVImage` instance backed by separate image planes, and allocate memory for the image planes.
YUVImage(int, int, int, int) - Constructor for class org.libjpegturbo.turbojpeg.YUVImage
  Create a new `YUVImage` instance backed by a unified buffer, and allocate memory for the buffer.

B C D E F G I N O P S T U Y
All Classes All Packages