After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 613332 - [cog] generate_tables generates invalid tables for YUV->RGB
[cog] generate_tables generates invalid tables for YUV->RGB
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.19
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-19 15:46 UTC by Sebastian Dröge (slomo)
Modified: 2010-03-25 09:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
cog: Generate correct YUV->RGB tables (1.66 KB, patch)
2010-03-19 15:47 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Sebastian Dröge (slomo) 2010-03-19 15:46:22 UTC
Hi,
attached patch fixes this. For some reason the fields >255 are lowered by 255, probably to make them work with cog's orc code.

The attached patch generates correct tables without the orc offsetting ;)
Comment 1 Sebastian Dröge (slomo) 2010-03-19 15:47:46 UTC
Created attachment 156562 [details] [review]
cog: Generate correct YUV->RGB tables
Comment 2 David Schleef 2010-03-19 22:10:41 UTC
Applied.  That tool wasn't really meant to build the tables in cogvirtframe.c directly, but I suppose it should be fixed to do that.