Commit graph

27 commits

Author SHA1 Message Date
Olivier Crête
27b8c96391 cog: Fix set-but-unused warnings 2011-07-12 18:16:54 -04:00
Sebastian Dröge
c28c480eb9 cog: Allow compilation without orc
Also don't ignore --disable-orc. Fixes bug .
2010-09-17 08:43:48 +02:00
Jonathan Rosser
62ae33d3d6 cog: Fix cog_virt_frame_new_convert_u8()
Conversion was using uninitialized data instead of source frame.
Fixes .
2010-09-05 15:37:17 -07:00
David Schleef
05992323b6 cog: Improvements in colorspace and scaler
Add fast paths for YUV->YUV conversions and Orc code for all.
Use Orc for horizontal resampling.
2010-09-04 11:22:23 -07:00
Robert Swain
960deb823f cog: Use g_malloc() instead of malloc()
malloc() needs stdlib.h, which isn't included here and the
memory is freed later with g_free() anyway.
2010-06-27 17:48:50 +02:00
David Schleef
6961d82039 cog: use common/orc.mak 2010-06-02 00:01:14 -07:00
Benjamin Otte
23b435d858 orc: Fix warnings 2010-03-21 23:10:08 +01:00
David Schleef
88e8ec2e7e cog: Fix off-by-one in 444->420 conversion
Fixes .
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