Tim-Philipp Müller d42177c89e bayer: fix stride inconsistencies for odd widths
Consistently use GST_ROUND_UP_4(width) as stride for
bayer buffers. Bayer data will usually come in widths
that are multiples of 4 anyway, so hopefully this
should not have any adverse impact on anyone in
practice.

Before, bayer2rgb required input buffers to are sized
accordingly, but then didn't actually round up when
calculating row offsets. rgb2bayer didn't use a rounded
stride nor buffer size.

https://bugzilla.gnome.org/show_bug.cgi?id=752014
2016-11-01 19:35:47 +02:00
..
2012-11-04 00:09:59 +00:00
2015-06-22 13:30:58 +02:00
2013-06-05 18:29:49 +02:00
2014-05-20 11:42:35 +02:00
2012-11-04 00:09:59 +00:00