Hwaro::Content::Processors::WebpEncoder::VP8
Constants
Quantizer bias (1/256 of a step) for [dc, ac] of luma, the Y2 block (the luma DCs of an intra 16x16 macroblock) and chroma.
Work-buffer stride and the index of a macroblock's top-left pixel in it: one row above and room on the left for the edge samples, the layout the libwebp decoder predicts in.
Sub-block modes fully evaluated per 4x4 block (of 10).
Rate of each sub-block mode in each (above, left) context, plus the shared cost of nothing else: [(above * 10 + left) * 10 + mode].
Rate-distortion weight: lambda = K * (AC step)^2, distortion in squared error, rate in bits.
Per macroblock: block 0 = Y2, 1-16 = Y, 17-20 = U, 21-24 = V.
Partition 0 length is a 19-bit field of the frame tag.
Coefficient table types.
Chroma DC quantizer offset libwebp writes at its default settings.
Constructors
Class methods
Instance methods
The VP8 frame (the "VP8 " chunk payload), or nil when partition 0 outgrows its size field.