Liking cljdoc? Tell your friends :D

javax.imageio.plugins.jpeg.JPEGHuffmanTable

A class encapsulating a single JPEG Huffman table. Fields are provided for the standard tables taken from Annex K of the JPEG specification. These are the tables used as defaults.

For more information about the operation of the standard JPEG plug-in, see the JPEG metadata format specification and usage notes

A class encapsulating a single JPEG Huffman table.
Fields are provided for the `standard` tables taken
from Annex K of the JPEG specification.
These are the tables used as defaults.

For more information about the operation of the standard JPEG plug-in,
see the JPEG
metadata format specification and usage notes
raw docstring

*-std-ac-chrominanceclj

Static Constant.

The standard AC chrominance Huffman table.

type: javax.imageio.plugins.jpeg.JPEGHuffmanTable

Static Constant.

The standard AC chrominance Huffman table.

type: javax.imageio.plugins.jpeg.JPEGHuffmanTable
raw docstring

*-std-ac-luminanceclj

Static Constant.

The standard AC luminance Huffman table.

type: javax.imageio.plugins.jpeg.JPEGHuffmanTable

Static Constant.

The standard AC luminance Huffman table.

type: javax.imageio.plugins.jpeg.JPEGHuffmanTable
raw docstring

*-std-dc-chrominanceclj

Static Constant.

The standard DC chrominance Huffman table.

type: javax.imageio.plugins.jpeg.JPEGHuffmanTable

Static Constant.

The standard DC chrominance Huffman table.

type: javax.imageio.plugins.jpeg.JPEGHuffmanTable
raw docstring

*-std-dc-luminanceclj

Static Constant.

The standard DC luminance Huffman table.

type: javax.imageio.plugins.jpeg.JPEGHuffmanTable

Static Constant.

The standard DC luminance Huffman table.

type: javax.imageio.plugins.jpeg.JPEGHuffmanTable
raw docstring

->jpeg-huffman-tableclj

(->jpeg-huffman-table lengths values)

Constructor.

Creates a Huffman table and initializes it. The input arrays are copied. The arrays must describe a possible Huffman table. For example, 3 codes cannot be expressed with a single bit.

lengths - an array of shorts where lengths[k] is equal to the number of values with corresponding codes of length k 1 bits. - short[] values - an array of shorts containing the values in order of increasing code length. - short[]

throws: java.lang.IllegalArgumentException - if lengths or values are null, the length of lengths is greater than 16, the length of values is greater than 256, if any value in lengths or values is less than zero, or if the arrays do not describe a valid Huffman table.

Constructor.

Creates a Huffman table and initializes it. The input arrays are copied.
 The arrays must describe a possible Huffman table.
 For example, 3 codes cannot be expressed with a single bit.

lengths - an array of shorts where lengths[k] is equal to the number of values with corresponding codes of length k 1 bits. - `short[]`
values - an array of shorts containing the values in order of increasing code length. - `short[]`

throws: java.lang.IllegalArgumentException - if lengths or values are null, the length of lengths is greater than 16, the length of values is greater than 256, if any value in lengths or values is less than zero, or if the arrays do not describe a valid Huffman table.
raw docstring

get-lengthsclj

(get-lengths this)

Returns an array of shorts containing the number of values for each length in the Huffman table. The returned array is a copy.

returns: a short array where array[k-1] is equal to the number of values in the table of length k. - short[]

Returns an array of shorts containing the number of values
 for each length in the Huffman table. The returned array is a copy.

returns: a short array where array[k-1]
 is equal to the number of values in the table of length k. - `short[]`
raw docstring

get-valuesclj

(get-values this)

Returns an array of shorts containing the values arranged by increasing length of their corresponding codes. The interpretation of the array is dependent on the values returned from getLengths. The returned array is a copy.

returns: a short array of values. - short[]

Returns an array of shorts containing the values arranged
 by increasing length of their corresponding codes.
 The interpretation of the array is dependent on the values returned
 from getLengths. The returned array is a copy.

returns: a short array of values. - `short[]`
raw docstring

to-stringclj

(to-string this)

Returns a String representing this Huffman table.

returns: a String representing this Huffman table. - java.lang.String

Returns a String representing this Huffman table.

returns: a String representing this Huffman table. - `java.lang.String`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close