Hey, I was recently looking into hw-based YUV -> RGB conversions for video (http://www.mdk.org.pl/2007/11/17/gl-colorspace-conversions) and what could be done to support it in Clutter. Some random thoughts about what needs to be done:
* Add ClutterFeatureFlags for multi-texturing and fragment programs + detection on the backend. Fairly obvious. * ClutterTexture needs to support 1-byte GL_LUMINANCE formats. clutter_texture_from_luminance_data ? * The hard part -- ClutterTexture should support rendering from many textures (multi-texturing). Does it make sense to add it to ClutterTexture or new actor should be created? Additionally the actor needs an attachable fragment shader. * ClutterGstVideoSink needs dynamic caps for the sink pad. Depending on the features available, we suport YUV (different formats) + RGB or just RGB if features not available. Easy. Comments? -- MDK -- To unsubscribe send a mail to [EMAIL PROTECTED]
