Expand description
Utility functions related to handling of the Adam7 algorithm.
Structsยง
- Adam7
Info - Describes which stage of the Adam7 algorithm applies to a decoded row.
- Adam7
Iterator ๐ - This iterator iterates over the different passes of an image Adam7 encoded PNG image The pattern is: 16462646 77777777 56565656 77777777 36463646 77777777 56565656 77777777
- BitPostion ๐
- The index of a bit in the image buffer.
- Pass
Constants ๐
Enumsยง
- Adam7
Variant - The algorithm to use when progressively filling pixel data from Adam7 interlaced passes.
Functionsยง
- expand_
adam7_ ๐bits - Given
row_stride, interlaceinfo, and bits-per-pixel, produce an iterator of bit positions of pixels to copy from the input scanline to the image buffer. The positions are expressed as bit offsets from position (0,0) in the frame that is currently being decoded. - expand_
adam7_ ๐bytes - expand_
pass - Copies pixels from
interlaced_rowinto the right location inimg. - expand_
pass_ splat - Expand pass, but also ensure that after each pass the whole image has been initialized up to
the data available. In constrast to
expand_passthere are no holes left in the image. - subbyte_
values ๐