-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There is no way to guess width and height from the length of the buffer, except for very specific cases (e.g. a 6x4 image, where the length of the U and V planes matches the width by accidence). There was another bug where the i (row) and j (column) iterators were zipped, which lead to them increasing in lockstep. Instead, we want a nested loop. Signed-off-by: Christopher N. Hesse <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters