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
Joan Pau Beltran
32b356b2c5
bayer: fix _transform_caps method to preserve fields in given caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=758717
2016-10-14 09:45:15 -04:00
Vineeth TM
8cdfb13658
bad: use new gst_element_class_add_static_pad_template()
...
https://bugzilla.gnome.org/show_bug.cgi?id=763081
2016-03-24 14:56:51 +02:00
Nicolas Dufresne
ef7a074fa0
rgb2bayer: Use mapped frame stride
2015-08-06 18:12:07 -04:00
Nicolas Dufresne
97a0d9d72d
rgb2bayer: Protect against failing map
2015-08-06 18:11:53 -04:00
Tim-Philipp Müller
9e1b75fda3
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
32ba17cd0f
Use gst_element_class_set_static_metadata()
...
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Mark Nauwelaerts
578861abea
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:27:49 +02:00
Wim Taymans
dbf0b994f2
x-raw-bayer -> x-bayer
2012-03-05 12:43:42 +01:00
Olivier Crête
4878946130
bayer: Intersect transformed caps with filter
2012-01-25 18:04:55 +01:00
Wim Taymans
21073e98cf
port to new memory API
2012-01-25 14:51:25 +01:00
Wim Taymans
e14fbcc070
caps: update for new API
2011-11-02 09:08:23 +01:00
Wim Taymans
0806e5cbb9
bayer: port to 0.11
2011-10-16 16:28:58 +02:00
Tim-Philipp Müller
276a1390c5
bayer: fix unused-but-set-variable warnings with gcc 4.6
2011-04-15 00:24:47 +01:00
David Schleef
2db6d968d8
rgb2bayer: handle multiple bayer formats
2010-06-03 23:57:46 -07:00
David Schleef
5c1eb82b8a
bayer: Add rgb2bayer element
...
Mostly for testing/completeness.
2010-06-03 23:57:45 -07:00