Documentation
¶
Overview ¶
Package jpeg 是 Go 1.27 image/jpeg 解码器的分支:输入为内存中的整段数据,顺序扫描的熵解码改为 64 位位缓冲与查表,IDCT 由 amd64 AVX2 与 arm64 NEON 汇编实现,输出与 image/jpeg 逐像素相同
JPEG is defined in ITU-T T.81: https://www.w3.org/Graphics/JPEG/itu-t81.pdf.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FormatError ¶
type FormatError string
A FormatError reports that the input is not a valid JPEG.
func (FormatError) Error ¶
func (e FormatError) Error() string
type UnsupportedError ¶
type UnsupportedError string
An UnsupportedError reports that the input uses a valid but unimplemented JPEG feature.
func (UnsupportedError) Error ¶
func (e UnsupportedError) Error() string