[Bug 761851] New: Add UYVY422 to GRAY8 conversion function
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Feb 11 09:02:14 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=761851
Bug ID: 761851
Summary: Add UYVY422 to GRAY8 conversion function
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: goran.jonsson at axis.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 320855
--> https://bugzilla.gnome.org/attachment.cgi?id=320855&action=edit
gst-plugins-base patch
This is the same as in ticket 569655 but now for video-converter.
!!Obs
I put in this little change in
gst-plugins-base/gst-libs/gst/video/video-orc.orc
.function video_orc_convert_UYVY_GRAY8
.flags 2d
.dest 1 d guint8
.source 1 s guint8
ldresnearb d, s, 0x10000, 0x20000
Then I do
orcc --implementation video-orc.orc -o video-orc-dist.c
orcc --implementation video-orc.orc -o tmp-orc.c
orcc --header video-orc.orc -o video-orc-dist.h
orcc --header video-orc.orc -o video-orc.h
I use orc that I clone some days ago.
commit e0d39f67ca8c22af3923ed886a313c0052708f8f
Author: Sebastian Dröge <sebastian at centricular.com>
Date: Wed Dec 30 20:52:58 2015 +0200
,,,,
This causes that all the files
video-orc-dist.c
tmp-orc.c
video-orc-dist.h
video-orc.h
Loses the line
#include <glib.h>
So this causes build errors when building gst-plugins-base with make.
( I added the include again as seen in attached patch )
Also massive (1000:s of lines ) code changes in video-orc-dist.c take place as
you can see in patch.
I suppose I have done something wrong but I don't know what can you tell me
what I do wrong ?
My guess is I using wrong version of orc or I should use some options to orcc.
Regards
Göran Jönsson
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list