Commit graph

20 commits

Author SHA1 Message Date
David Schleef 88e8ec2e7e cog: Fix off-by-one in 444->420 conversion
Fixes #613160.
2010-03-17 11:31:58 -07:00
David Schleef 38d520e3e8 cog: disable code that causes an orcc crash
Revert this after orc release and version bump.
2010-03-15 12:18:19 -07:00
David Schleef 8379d20ec6 cog: implement chroma-site
Determine chroma site position from the caps and use it when
upsampling/downsampling chroma.
2010-03-15 01:39:52 -07:00
David Schleef 8272df7fb9 cogcolorspace: implement color-matrix handling 2010-03-15 01:39:52 -07:00
David Schleef 5d9d693caf cog: Add n_taps to chroma upsampling 2010-03-14 15:18:24 -07:00
David Schleef 788e94f835 cog: convert some params to consts in orc code 2009-11-20 20:59:33 +01:00
David Schleef 277699bd2a cog: Add color matrix to RGB->YCbCr conversion 2009-10-24 11:38:42 -07:00
David Schleef a4c24b9222 cog: Add color matrix selection to cogcolorspace
Eventually hook it up to caps via gstvideo
2009-10-24 11:38:42 -07:00
David Schleef 4ee3afc051 cog: Improve RGB<->YCbCr matrixing
YCbCr->RGB now has a 'bits' setting, which controls the number
of bits used for the matrix coefficients.  Choices are 6 or 8.
6 is low quality, but faster.
RGB->YCbCr now works.  Always works in 8 bit, since it's the same
speed as 6 bit.
2009-10-24 11:38:42 -07:00
David Schleef 26ab6d772a cog: Fix AYUV unpacking 2009-10-24 11:38:41 -07:00
David Schleef 907dc1b271 cog: hacking to improve matrix quality 2009-10-24 11:38:41 -07:00
David Schleef 75131a35d9 cog: hacking
Add RGB to YCbCr matrixing
Add tiny color management system (CMS) for video
Add quality level for colorspace
2009-10-02 22:07:03 -07:00
David Schleef 3c870a7a6c cog: reset cache instead of returning NULL
Returning NULL makes things crash.  Resetting the cache
makes things run slow.  Still an underlying bug somewhere,
but not critical.
2009-10-02 21:58:26 -07:00
David Schleef 960f418378 cog: Add quality setting to cogscale 2009-09-21 11:46:25 -07:00
David Schleef 06c3d2e93c cog: (re-)implement 1/2/4-tap scaling 2009-09-21 11:46:18 -07:00
David Schleef 213cc0b06d cog: Fix the virtual frame line cache 2009-09-21 10:03:44 -07:00
David Schleef e4a2eb1d6f cog: autogenerate code, colorspace improvements 2009-09-19 14:13:26 -07:00
David Schleef bc25896579 cog: remove // comments 2009-09-19 14:13:25 -07:00
David Schleef f367e5fbde cog: fixes to make cog work inside -bad 2009-09-18 19:11:40 -07:00
David Schleef 21aa38d13b Copy cog plugin and video library from cog project 2009-09-17 17:03:41 -07:00