• Nathan E. Egge's avatar
    Encapsulate the padding to 8x8 inside Frame::new(). · 18129cdc
    Nathan E. Egge authored
    This commit does not require the caller of Frame::new() to know to pad
     the width and height to multiples of 8x8 so that the internal buffers
     are allocated properly.
    When filling the allocated buffers, callers should use the
     PlaneConfig.stride variable which is set by Frame::new().
api.rs 19.4 KB