Commit 18129cdc authored by Committed by Nathan Egge
Encapsulate the padding to 8x8 inside Frame::new().
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().
Showing with 12 additions and 14 deletions