Commit graph

10 commits

Author SHA1 Message Date
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
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
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
960f418378 cog: Add quality setting to cogscale 2009-09-21 11:46: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