Skip to content
  • Nathan E. Egge's avatar
    Encapsulate the padding to 8x8 inside Frame::new(). · 18129cdc
    Nathan E. Egge authored and Nathan Egge's avatar Nathan Egge committed
    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().
    18129cdc