# Index
Date: 2011-12-18

B C D E F G H I J N O P S T

## 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 and height, and level of chrominance subsampling.
bufSizeYUV(int, int, int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns the size of the buffer (in bytes) required to hold a YUV planar 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(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Compress the uncompressed source image associated with this compressor instance and output a JPEG image to the given destination buffer.
compress(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Compress the uncompressed source image associated with this compressor instance and return a buffer containing a JPEG image.
compress(BufferedImage, byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Compress the uncompressed source image stored in `srcImage` and output a JPEG image to the given destination buffer.
compress(BufferedImage, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Compress the uncompressed source image stored in `srcImage` and return a buffer containing a JPEG image.
customFilter(ShortBuffer, Rectangle, Rectangle, int, int, TJTransform) - Method in interface org.libjpegturbo.turbojpeg.TJCustomFilter
  A callback function that can be used to modify the DCT coefficients after they are losslessly transformed but before they are transcoded to a new JPEG file.

## D

decompress(byte[], int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the JPEG source image associated with this decompressor instance and output a decompressed image to the given destination buffer.
decompress(int, int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the JPEG source image associated with this decompressor instance and return a buffer containing the decompressed image.
decompress(BufferedImage, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the JPEG source image associated with this decompressor instance and output a decompressed image to the given `BufferedImage` instance.
decompress(int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the JPEG source image associated with this decompressor instance and return a `BufferedImage` instance containing the decompressed image.
decompressToYUV(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the JPEG source image associated with this decompressor instance and output a YUV planar image to the given destination buffer.
decompressToYUV(int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Decompress the JPEG source image associated with this decompressor instance and return a buffer containing a YUV planar image.

## E

encodeYUV(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Encode the uncompressed source image associated with this compressor instance and output a YUV planar image to the given destination buffer.
encodeYUV(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Encode the uncompressed source image associated with this compressor instance and return a buffer containing a YUV planar image.
encodeYUV(BufferedImage, byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Encode the uncompressed source image stored in `srcImage` and output a YUV planar image to the given destination buffer.
encodeYUV(BufferedImage, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Encode the uncompressed source image stored in `srcImage` and return a buffer containing a YUV planar image.
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.

## F

finalize() - Method in class org.libjpegturbo.turbojpeg.TJCompressor
finalize() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
FLAG_BOTTOMUP - Static variable in class org.libjpegturbo.turbojpeg.TJ
  The uncompressed source/destination image is stored in bottom-up (Windows, OpenGL) order, not top-down (X11) order.
FLAG_FASTUPSAMPLE - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Use fast, inaccurate chrominance upsampling routines in the JPEG decompressor (libjpeg and libjpeg-turbo versions only.)
FLAG_FORCEMMX - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Turn off CPU auto-detection and force TurboJPEG to use MMX code (IPP and 32-bit libjpeg-turbo versions only.)
FLAG_FORCESSE - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Turn off CPU auto-detection and force TurboJPEG to use SSE code (32-bit IPP and 32-bit libjpeg-turbo versions only.)
FLAG_FORCESSE2 - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Turn off CPU auto-detection and force TurboJPEG to use SSE2 code (32-bit IPP and 32-bit libjpeg-turbo versions only.)
FLAG_FORCESSE3 - Static variable in class org.libjpegturbo.turbojpeg.TJ
  Turn off CPU auto-detection and force TurboJPEG to use SSE3 code (64-bit IPP version only.)

## G

getBlueOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  For the given pixel format, returns the number of bytes that the blue component is offset from the start of the pixel.
getCompressedSize() - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Returns the size of the image (in bytes) generated by the most recent compress/encode operation.
getDenom() - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
  Returns denominator
getGreenOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  For the given pixel format, returns the number of bytes 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 JPEG image associated with this decompressor instance.
getJPEGBuf() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Returns the JPEG image 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 MCU block height for the given level of chrominance subsampling.
getMCUWidth(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns the MCU block width for the given level of chrominance subsampling.
getNum() - Method in class org.libjpegturbo.turbojpeg.TJScalingFactor
  Returns numerator
getPixelSize(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns the pixel size (in bytes) of the given pixel format.
getRedOffset(int) - Static method in class org.libjpegturbo.turbojpeg.TJ
  For the given pixel format, returns the number of bytes 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
  Returns the height of the largest scaled down image that the TurboJPEG decompressor can generate without exceeding the desired image width and height.
getScaledWidth(int, int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Returns the width of the largest scaled down image that the TurboJPEG decompressor can generate without exceeding the desired image width and height.
getScalingFactors() - Static method in class org.libjpegturbo.turbojpeg.TJ
  Returns a list of fractional scaling factors that the JPEG decompressor in this implementation of TurboJPEG supports.
getSubsamp() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Returns the level of chrominance subsampling used in the JPEG image associated with this decompressor instance.
getTransformedSizes() - Method in class org.libjpegturbo.turbojpeg.TJTransformer
  Returns an array containing the sizes of the transformed JPEG images from the most recent call to `transform()`.
getWidth() - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Returns the width of the JPEG image associated with this decompressor instance.

## H

handle - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor

## I

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

## J

jpegBuf - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor
jpegBufSize - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor
jpegHeight - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor
jpegSubsamp - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor
jpegWidth - Variable in class org.libjpegturbo.turbojpeg.TJDecompressor

## N

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_CROP - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  This option will enable lossless cropping.
OPT_GRAY - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  This option will discard the color data in the input image and produce a grayscale output image.
OPT_NOOUTPUT - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  This option will prevent `TJTransformer.transform()` from outputting a JPEG image for this particular transform.
OPT_PERFECT - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  This option will cause `TJTransformer.transform()` to throw an exception if the transform is not perfect.
OPT_TRIM - Static variable in class org.libjpegturbo.turbojpeg.TJTransform
  This option will discard any partial MCU blocks 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

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_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.

## S

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_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.
setJPEGImage(byte[], int) - Method in class org.libjpegturbo.turbojpeg.TJDecompressor
  Associate the JPEG image of length `imageSize` bytes stored in `jpegImage` with this decompressor instance.
setJPEGQuality(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Set the JPEG image quality level for subsequent compress operations.
setSourceImage(byte[], int, int, int, int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Associate an uncompressed source image with this compressor instance.
setSubsamp(int) - Method in class org.libjpegturbo.turbojpeg.TJCompressor
  Set the level of chrominance subsampling for subsequent compress/encode operations.

## T

TJ - Class in org.libjpegturbo.turbojpeg
  TurboJPEG utility class (cannot be instantiated)
TJ() - Constructor for class org.libjpegturbo.turbojpeg.TJ
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) - Constructor for class org.libjpegturbo.turbojpeg.TJCompressor
  Create a TurboJPEG compressor instance and associate the uncompressed 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 image 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 image of length `imageSize` bytes stored in `jpegImage` with the newly-created instance.
TJScalingFactor - Class in org.libjpegturbo.turbojpeg
  Fractional scaling factor
TJScalingFactor(int, int) - Constructor for class org.libjpegturbo.turbojpeg.TJScalingFactor
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 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 image of length `imageSize` bytes stored in `jpegImage` with the newly-created instance.
transform(byte[][], TJTransform[], int) - Method in class org.libjpegturbo.turbojpeg.TJTransformer
  Losslessly transform the JPEG image associated with this transformer instance into one or more JPEG images stored in the given destination buffers.
transform(TJTransform[], int) - Method in class org.libjpegturbo.turbojpeg.TJTransformer
  Losslessly transform the JPEG image associated with this transformer instance and return an array of `TJDecompressor` instances, each of which has a transformed JPEG image associated with it.

B C D E F G H I J N O P S T