bvibber / yuv-canvas

JS class to draw YUV image frame buffers to an HTML5 canvas
MIT License
273 stars 60 forks source link

webgl path assumes same stride on u and v #3

Closed bvibber closed 6 years ago

bvibber commented 8 years ago

same stride on u and v planes is not guaranteed by the YUVBuffer api contract, though it is common. Should probably supply both coordinate systems to be sure.

bvibber commented 8 years ago

Or else throw an error if isn't matching

bvibber commented 6 years ago

7d9d07a2cd2793785e7d831dff832c3362d0839f fixed this