diff options
-rw-r--r-- | patches/gst-plugins-bad-0.10.8/generic/bayer2rgb_configurable_first_line.diff | 8 | ||||
-rw-r--r-- | patches/gst-plugins-bad-0.10.8/generic/bayer2rgb_fix_24bpp.diff | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/patches/gst-plugins-bad-0.10.8/generic/bayer2rgb_configurable_first_line.diff b/patches/gst-plugins-bad-0.10.8/generic/bayer2rgb_configurable_first_line.diff index 9c786700a..89d7d7a6a 100644 --- a/patches/gst-plugins-bad-0.10.8/generic/bayer2rgb_configurable_first_line.diff +++ b/patches/gst-plugins-bad-0.10.8/generic/bayer2rgb_configurable_first_line.diff @@ -1,10 +1,14 @@ Subject: gst-plugins-bad bayer2rgb: Make first line configurable From: Sascha Hauer <s.hauer@pengutronix.de> -Since people can't agree whether the first line of a bayer pattern -is a blue/green line or a green/red line make it configurable. +Since people can't agree whether the first line of a bayer pattern is a +blue/green line or a green/red line make it configurable. We add a new +parameter "B/G first", with which the user declare the first line as +blue/green, which is default, or green/red. +Patch submitted to mainline, status pending. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> +Acked-by: Luotao Fu <l.fu@pengutronix.de> --- gst/bayer/gstbayer2rgb.c | 36 +++++++++++++++++++++++++++--------- diff --git a/patches/gst-plugins-bad-0.10.8/generic/bayer2rgb_fix_24bpp.diff b/patches/gst-plugins-bad-0.10.8/generic/bayer2rgb_fix_24bpp.diff index 0c7ee9f15..64e6481f3 100644 --- a/patches/gst-plugins-bad-0.10.8/generic/bayer2rgb_fix_24bpp.diff +++ b/patches/gst-plugins-bad-0.10.8/generic/bayer2rgb_fix_24bpp.diff @@ -4,9 +4,10 @@ From: Sascha Hauer <s.hauer@pengutronix.de> The code calculates the wrong color offsets for 24bpp packed pixel formats. Fix it. While at it, rename int offset to the more name 'mask' +Patch submitted to mainline, status pending. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> - +Acked-by: Luotao Fu <l.fu@pengutronix.de> --- gst/bayer/gstbayer2rgb.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) |