This is the cl-jpeg Reference Manual, version 2.8, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:03:31 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-jpeg
A self-contained baseline JPEG codec implementation
Eugene Zaikonnikov; contributions by Kenan Bölükbaşı, Manuel Giraud, Cyrus Harmon and William Halliburton
BSD
2.8
package.lisp
(file).
jpeg.lisp
(file).
io.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-jpeg/jpeg.lisp
package.lisp
(file).
cl-jpeg
(system).
allocate-buffer
(function).
convert-cmyk-to-rgb
(function).
decode-image
(function).
decode-stream
(function).
descriptor-byte-reader
(reader).
(setf descriptor-byte-reader)
(writer).
descriptor-source-cache
(reader).
(setf descriptor-source-cache)
(writer).
encode-image
(function).
encode-image-stream
(function).
inverse-llm-dct
(function).
jpeg-decoder-error
(condition).
jpeg-encoder-error
(condition).
jpeg-error
(condition).
jpeg-file-dimensions
(function).
llm-dct
(function).
make-descriptor
(function).
read-dht
(function).
unrecognized-file-format
(condition).
unsupported-jpeg-format
(condition).
*idct-limit-array*
(special variable).
*optimize*
(special variable).
+-.0813+
(constant).
+-.1687+
(constant).
+-.3313+
(constant).
+-.4187+
(constant).
+-0.34414+
(constant).
+-0.71414+
(constant).
+.114+
(constant).
+.299+
(constant).
+.5+
(constant).
+.587+
(constant).
+1.40200+
(constant).
+1.77200+
(constant).
+b-u-off+
(constant).
+b-v-off+
(constant).
+b-y-off+
(constant).
+cb-b-tab+
(constant).
+cb-g-tab+
(constant).
+chrominance-ac-bits+
(constant).
+chrominance-ac-values+
(constant).
+chrominance-dc-bits+
(constant).
+chrominance-dc-values+
(constant).
+cr-g-tab+
(constant).
+cr-r-tab+
(constant).
+csize+
(constant).
+ctab+
(constant).
+fix-0-298631336+
(constant).
+fix-0-390180644+
(constant).
+fix-0-541196100+
(constant).
+fix-0-765366865+
(constant).
+fix-0-899976223+
(constant).
+fix-1-175875602+
(constant).
+fix-1-501321110+
(constant).
+fix-1-847759065+
(constant).
+fix-1-961570560+
(constant).
+fix-2-053119869+
(constant).
+fix-2-562915447+
(constant).
+fix-3-072711026+
(constant).
+g-u-off+
(constant).
+g-v-off+
(constant).
+g-y-off+
(constant).
+luminance-ac-bits+
(constant).
+luminance-ac-values+
(constant).
+luminance-dc-bits+
(constant).
+luminance-dc-values+
(constant).
+m_app0+
(constant).
+m_app14+
(constant).
+m_com+
(constant).
+m_dac+
(constant).
+m_dht+
(constant).
+m_dnl+
(constant).
+m_dqt+
(constant).
+m_dri+
(constant).
+m_eoi+
(constant).
+m_rst0+
(constant).
+m_rst7+
(constant).
+m_sof0+
(constant).
+m_sof2+
(constant).
+m_soi+
(constant).
+m_sos+
(constant).
+max-sample+
(constant).
+one-half+
(constant).
+q-chrominance+
(constant).
+q-chrominance-hi+
(constant).
+q-luminance+
(constant).
+q-luminance-hi+
(constant).
+q-tables+
(constant).
+r-u-off+
(constant).
+r-v-off+
(constant).
+r-y-off+
(constant).
+shift+1+
(constant).
+shift+4+
(constant).
+shift-1+
(constant).
+uvoffset+
(constant).
+zigzag-index+
(constant).
2d-sint16-array
(function).
2d-uint8-array
(function).
buffer
(reader method).
build-decoder-tables
(function).
build-tables
(function).
build-universal-tables
(function).
colorspace-convert
(function).
components
(reader method).
convert-sampling
(function).
copy-descriptor
(function).
copy-huffstruct
(function).
copy-scan
(function).
copy-write-bits-state
(function).
count-relation
(function).
crop-image
(function).
crunch
(function).
csize
(function).
dct-limit
(macro).
dct-shift
(constant).
decode
(function).
decode-ac
(function).
decode-block
(function).
decode-chunk
(function).
decode-dc
(function).
decode-frame
(function).
decode-frame-beginning
(function).
decode-scan
(function).
decode-stream-height-width-ncomp
(function).
define-constant
(macro).
dequantize
(function).
descale
(function).
descriptor
(structure).
descriptor-adobe-app14-transform
(reader).
(setf descriptor-adobe-app14-transform)
(writer).
descriptor-buffer
(reader).
(setf descriptor-buffer)
(writer).
descriptor-cid
(reader).
(setf descriptor-cid)
(writer).
descriptor-h
(reader).
(setf descriptor-h)
(writer).
descriptor-height
(reader).
(setf descriptor-height)
(writer).
descriptor-huff-ac
(reader).
(setf descriptor-huff-ac)
(writer).
descriptor-huff-dc
(reader).
(setf descriptor-huff-dc)
(writer).
descriptor-ih
(reader).
(setf descriptor-ih)
(writer).
descriptor-iv
(reader).
(setf descriptor-iv)
(writer).
descriptor-ncomp
(reader).
(setf descriptor-ncomp)
(writer).
descriptor-p
(function).
descriptor-qdest
(reader).
(setf descriptor-qdest)
(writer).
descriptor-qtables
(reader).
(setf descriptor-qtables)
(writer).
descriptor-restart-interval
(reader).
(setf descriptor-restart-interval)
(writer).
descriptor-scans
(reader).
(setf descriptor-scans)
(writer).
descriptor-v
(reader).
(setf descriptor-v)
(writer).
descriptor-width
(reader).
(setf descriptor-width)
(writer).
descriptor-ws
(reader).
(setf descriptor-ws)
(writer).
descriptor-zz
(reader).
(setf descriptor-zz)
(writer).
encode-block
(function).
extend
(function).
fixnum-2d-array
(type).
fixnum-array
(type).
fixref
(macro).
huffstruct
(structure).
huffstruct-bits
(reader).
(setf huffstruct-bits)
(writer).
huffstruct-huffcode
(reader).
(setf huffstruct-huffcode)
(writer).
huffstruct-huffval
(reader).
(setf huffstruct-huffval)
(writer).
huffstruct-maxcode
(reader).
(setf huffstruct-maxcode)
(writer).
huffstruct-mincode
(reader).
(setf huffstruct-mincode)
(writer).
huffstruct-p
(function).
huffstruct-valptr
(reader).
(setf huffstruct-valptr)
(writer).
illegal-number-of-components
(condition).
internal-jpeg-encoder-error
(condition).
interpret-markers
(function).
invalid-buffer-supplied
(condition).
invalid-q-factor
(condition).
invalid-quantization-tables
(condition).
invalid-sampling
(condition).
invalid-sampling-list
(condition).
inverse-colorspace-convert
(function).
izigzag
(function).
izigzag8
(function).
limit
(function).
make-huffstruct
(function).
make-nextbit
(function).
make-scan
(function).
make-write-bits-state
(function).
marker-code
(reader method).
minus
(macro).
mul
(macro).
mul3
(macro).
plus
(macro).
plus3
(macro).
prepare-jfif-stream
(function).
q-scale
(function).
quantize
(function).
quantize-block
(macro).
read-app
(function).
read-app14
(function).
read-dqt
(function).
read-dri
(function).
read-jpeg-byte
(function).
read-marker
(function).
read-word
(function).
recieve
(function).
s16ref
(macro).
scan
(structure).
scan-cdesc
(reader).
(setf scan-cdesc)
(writer).
scan-ncomp
(reader).
(setf scan-ncomp)
(writer).
scan-p
(function).
scan-x
(reader).
(setf scan-x)
(writer).
scan-y
(reader).
(setf scan-y)
(writer).
shift
(constant).
sint16
(type).
sint16-2d-array
(type).
sint16-array
(type).
sint8-2d-array
(type).
sint8-array
(type).
subsample
(function).
suint8
(type).
u16ref
(macro).
u8ref
(macro).
uint16
(type).
uint16-2d-array
(type).
uint16-array
(type).
uint8
(type).
uint8-2d-array
(type).
uint8-array
(function).
uint8-array
(type).
unsupported-arithmetic-encoding
(condition).
unsupported-dnl-marker
(condition).
unsupported-jpeg-frame-marker
(condition).
upsample
(function).
write-bits
(function).
write-bits-prev-byte
(reader).
(setf write-bits-prev-byte)
(writer).
write-bits-prev-length
(reader).
(setf write-bits-prev-length)
(writer).
write-bits-state
(structure).
write-bits-state-p
(function).
write-frame-header
(function).
write-huffman-tables
(function).
write-hufftable
(function).
write-marker
(function).
write-quantization-tables
(function).
write-stuffed
(function).
ycck-cmyk-convert
(function).
zigzag
(function).
zigzag8
(function).
cl-jpeg/io.lisp
jpeg.lisp
(file).
cl-jpeg
(system).
jpeg-to-bmp
(function).
encoding-wrapper
(function).
Packages are listed by definition order.
jpeg
cl-jpeg
common-lisp
.
allocate-buffer
(function).
convert-cmyk-to-rgb
(function).
decode-image
(function).
decode-stream
(function).
descriptor-byte-reader
(reader).
(setf descriptor-byte-reader)
(writer).
descriptor-source-cache
(reader).
(setf descriptor-source-cache)
(writer).
encode-image
(function).
encode-image-stream
(function).
inverse-llm-dct
(function).
jpeg-decoder-error
(condition).
jpeg-encoder-error
(condition).
jpeg-error
(condition).
jpeg-file-dimensions
(function).
jpeg-to-bmp
(function).
llm-dct
(function).
make-descriptor
(function).
read-dht
(function).
unrecognized-file-format
(condition).
unsupported-jpeg-format
(condition).
*idct-limit-array*
(special variable).
*optimize*
(special variable).
+-.0813+
(constant).
+-.1687+
(constant).
+-.3313+
(constant).
+-.4187+
(constant).
+-0.34414+
(constant).
+-0.71414+
(constant).
+.114+
(constant).
+.299+
(constant).
+.5+
(constant).
+.587+
(constant).
+1.40200+
(constant).
+1.77200+
(constant).
+b-u-off+
(constant).
+b-v-off+
(constant).
+b-y-off+
(constant).
+cb-b-tab+
(constant).
+cb-g-tab+
(constant).
+chrominance-ac-bits+
(constant).
+chrominance-ac-values+
(constant).
+chrominance-dc-bits+
(constant).
+chrominance-dc-values+
(constant).
+cr-g-tab+
(constant).
+cr-r-tab+
(constant).
+csize+
(constant).
+ctab+
(constant).
+fix-0-298631336+
(constant).
+fix-0-390180644+
(constant).
+fix-0-541196100+
(constant).
+fix-0-765366865+
(constant).
+fix-0-899976223+
(constant).
+fix-1-175875602+
(constant).
+fix-1-501321110+
(constant).
+fix-1-847759065+
(constant).
+fix-1-961570560+
(constant).
+fix-2-053119869+
(constant).
+fix-2-562915447+
(constant).
+fix-3-072711026+
(constant).
+g-u-off+
(constant).
+g-v-off+
(constant).
+g-y-off+
(constant).
+luminance-ac-bits+
(constant).
+luminance-ac-values+
(constant).
+luminance-dc-bits+
(constant).
+luminance-dc-values+
(constant).
+m_app0+
(constant).
+m_app14+
(constant).
+m_com+
(constant).
+m_dac+
(constant).
+m_dht+
(constant).
+m_dnl+
(constant).
+m_dqt+
(constant).
+m_dri+
(constant).
+m_eoi+
(constant).
+m_rst0+
(constant).
+m_rst7+
(constant).
+m_sof0+
(constant).
+m_sof2+
(constant).
+m_soi+
(constant).
+m_sos+
(constant).
+max-sample+
(constant).
+one-half+
(constant).
+q-chrominance+
(constant).
+q-chrominance-hi+
(constant).
+q-luminance+
(constant).
+q-luminance-hi+
(constant).
+q-tables+
(constant).
+r-u-off+
(constant).
+r-v-off+
(constant).
+r-y-off+
(constant).
+shift+1+
(constant).
+shift+4+
(constant).
+shift-1+
(constant).
+uvoffset+
(constant).
+zigzag-index+
(constant).
2d-sint16-array
(function).
2d-uint8-array
(function).
buffer
(generic reader).
build-decoder-tables
(function).
build-tables
(function).
build-universal-tables
(function).
colorspace-convert
(function).
components
(generic reader).
convert-sampling
(function).
copy-descriptor
(function).
copy-huffstruct
(function).
copy-scan
(function).
copy-write-bits-state
(function).
count-relation
(function).
crop-image
(function).
crunch
(function).
csize
(function).
dct-limit
(macro).
dct-shift
(constant).
decode
(function).
decode-ac
(function).
decode-block
(function).
decode-chunk
(function).
decode-dc
(function).
decode-frame
(function).
decode-frame-beginning
(function).
decode-scan
(function).
decode-stream-height-width-ncomp
(function).
define-constant
(macro).
dequantize
(function).
descale
(function).
descriptor
(structure).
descriptor-adobe-app14-transform
(reader).
(setf descriptor-adobe-app14-transform)
(writer).
descriptor-buffer
(reader).
(setf descriptor-buffer)
(writer).
descriptor-cid
(reader).
(setf descriptor-cid)
(writer).
descriptor-h
(reader).
(setf descriptor-h)
(writer).
descriptor-height
(reader).
(setf descriptor-height)
(writer).
descriptor-huff-ac
(reader).
(setf descriptor-huff-ac)
(writer).
descriptor-huff-dc
(reader).
(setf descriptor-huff-dc)
(writer).
descriptor-ih
(reader).
(setf descriptor-ih)
(writer).
descriptor-iv
(reader).
(setf descriptor-iv)
(writer).
descriptor-ncomp
(reader).
(setf descriptor-ncomp)
(writer).
descriptor-p
(function).
descriptor-qdest
(reader).
(setf descriptor-qdest)
(writer).
descriptor-qtables
(reader).
(setf descriptor-qtables)
(writer).
descriptor-restart-interval
(reader).
(setf descriptor-restart-interval)
(writer).
descriptor-scans
(reader).
(setf descriptor-scans)
(writer).
descriptor-v
(reader).
(setf descriptor-v)
(writer).
descriptor-width
(reader).
(setf descriptor-width)
(writer).
descriptor-ws
(reader).
(setf descriptor-ws)
(writer).
descriptor-zz
(reader).
(setf descriptor-zz)
(writer).
encode-block
(function).
encoding-wrapper
(function).
extend
(function).
fixnum-2d-array
(type).
fixnum-array
(type).
fixref
(macro).
huffstruct
(structure).
huffstruct-bits
(reader).
(setf huffstruct-bits)
(writer).
huffstruct-huffcode
(reader).
(setf huffstruct-huffcode)
(writer).
huffstruct-huffval
(reader).
(setf huffstruct-huffval)
(writer).
huffstruct-maxcode
(reader).
(setf huffstruct-maxcode)
(writer).
huffstruct-mincode
(reader).
(setf huffstruct-mincode)
(writer).
huffstruct-p
(function).
huffstruct-valptr
(reader).
(setf huffstruct-valptr)
(writer).
illegal-number-of-components
(condition).
internal-jpeg-encoder-error
(condition).
interpret-markers
(function).
invalid-buffer-supplied
(condition).
invalid-q-factor
(condition).
invalid-quantization-tables
(condition).
invalid-sampling
(condition).
invalid-sampling-list
(condition).
inverse-colorspace-convert
(function).
izigzag
(function).
izigzag8
(function).
limit
(function).
make-huffstruct
(function).
make-nextbit
(function).
make-scan
(function).
make-write-bits-state
(function).
marker-code
(generic reader).
minus
(macro).
mul
(macro).
mul3
(macro).
plus
(macro).
plus3
(macro).
prepare-jfif-stream
(function).
q-scale
(function).
quantize
(function).
quantize-block
(macro).
read-app
(function).
read-app14
(function).
read-com
(function).
read-dqt
(function).
read-dri
(function).
read-jpeg-byte
(function).
read-marker
(function).
read-word
(function).
recieve
(function).
s16ref
(macro).
scan
(structure).
scan-cdesc
(reader).
(setf scan-cdesc)
(writer).
scan-ncomp
(reader).
(setf scan-ncomp)
(writer).
scan-p
(function).
scan-x
(reader).
(setf scan-x)
(writer).
scan-y
(reader).
(setf scan-y)
(writer).
shift
(constant).
sint16
(type).
sint16-2d-array
(type).
sint16-array
(type).
sint8-2d-array
(type).
sint8-array
(type).
subsample
(function).
suint8
(type).
u16ref
(macro).
u8ref
(macro).
uint16
(type).
uint16-2d-array
(type).
uint16-array
(type).
uint8
(type).
uint8-2d-array
(type).
uint8-array
(function).
uint8-array
(type).
unsupported-arithmetic-encoding
(condition).
unsupported-dnl-marker
(condition).
unsupported-jpeg-frame-marker
(condition).
upsample
(function).
write-bits
(function).
write-bits-prev-byte
(reader).
(setf write-bits-prev-byte)
(writer).
write-bits-prev-length
(reader).
(setf write-bits-prev-length)
(writer).
write-bits-state
(structure).
write-bits-state-p
(function).
write-frame-header
(function).
write-huffman-tables
(function).
write-hufftable
(function).
write-marker
(function).
write-quantization-tables
(function).
write-stuffed
(function).
ycck-cmyk-convert
(function).
zigzag
(function).
zigzag8
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Return image array, height, width, number of components and APP14 Adobe transform. Does not support progressive DCT-based JPEGs.
jpeg
.
jpeg
.
Performs Inverse LMM DCT and dequantization
Return image height, width and number of components, plus the type of Adobe colorpsace transform
Loads huffman tables on specified destinations
Builds up decoder-specific tables
The DECODE procedure, as described in CCITT rec.
Decodes AC coefficients
Reads one 8x8 block. Doesn’t deals with predictors.
Reads and decodes either a whole scan (if no restarts) or restart interval
Decodes DC value
Return the height and width of the JPEG data read from STREAM. Does less work than DECODE-STREAM and also supports progressive DCT-based JPEGs.
Dequantizes a single sample
jpeg
.
jpeg
.
Reads tables etc., returns the first unrecognized marker it met
Performs inverse zigzag block arrangement
Performs inverse zigzag block arrangement
Returns the closure which reads specified numbers of bits from the stream
APPn marker reading: just skipping the whole marker
APPn marker reading: just skipping the whole marker
Recieves ssss bits from the stream
Places decoded block into the image buffer, with necessary upsampling
jpeg
.
jpeg
.
invalid-buffer-supplied
)) ¶jpeg
.
invalid-sampling-list
)) ¶jpeg
.
unsupported-jpeg-format
)) ¶jpeg
.
structure-object
.
fixnum
0
fixnum
0
fixnum
0
(simple-array jpeg::uint8-2d-array (*))
(make-array 4 :initial-contents (loop jpeg::for jpeg::j fixnum jpeg::from 0 jpeg::to 3 jpeg::collecting (make-array 8 :initial-contents (loop jpeg::for jpeg::i fixnum jpeg::from 0 jpeg::to 7 jpeg::collecting (make-array 8 :element-type (quote jpeg::uint8))))))
(simple-array t (*))
(make-array 2 :initial-contents (list (jpeg::make-huffstruct) (jpeg::make-huffstruct)))
(simple-array t (*))
(make-array 2 :initial-contents (list (jpeg::make-huffstruct) (jpeg::make-huffstruct)))
(simple-array t (*))
(make-array 4)
(simple-array t (*))
(make-array 4 :initial-contents (loop jpeg::for jpeg::i fixnum jpeg::from 0 jpeg::to 3 jpeg::collecting (jpeg::make-scan)))
(simple-array t (*))
(make-array 4)
(simple-array t (*))
(make-array 4)
(simple-array t (*))
(make-array 4)
(simple-array t (*))
(make-array 4)
(simple-array t (*))
(make-array 4)
jpeg::sint16-array
(make-array 64 :element-type (quote jpeg::sint16))
fixnum
0
jpeg::sint16-2d-array
(jpeg::2d-sint16-array (quote (0 0 0 0 0 0 0 0)) (quote (0 0 0 0 0 0 0 0)) (quote (0 0 0 0 0 0 0 0)) (quote (0 0 0 0 0 0 0 0)) (quote (0 0 0 0 0 0 0 0)) (quote (0 0 0 0 0 0 0 0)) (quote (0 0 0 0 0 0 0 0)) (quote (0 0 0 0 0 0 0 0)))
function
(function (lambda nil (error (quote jpeg:jpeg-decoder-error))))
jpeg
.
structure-object
.
jpeg::uint8-array
(make-array 16 :element-type (quote jpeg::uint8))
jpeg
.
structure-object
.
fixnum
1
fixnum
0
fixnum
0
(simple-array t (*))
(make-array 4 :initial-contents (loop jpeg::repeat 4 jpeg::collect (list 0 0)))
Jump to: | (
2
A B C D E F G H I J L M P Q R S U W Y Z |
---|
Jump to: | (
2
A B C D E F G H I J L M P Q R S U W Y Z |
---|
Jump to: | *
+
A B C D H I M N P Q R S V W X Y Z |
---|
Jump to: | *
+
A B C D H I M N P Q R S V W X Y Z |
---|
Jump to: | C D F H I J P S T U W |
---|
Jump to: | C D F H I J P S T U W |
---|