[gst-devel] [RFC] Photography Interface Extension for Color Effect

Hu, Gang A gang.a.hu at intel.com
Fri Apr 23 13:22:25 CEST 2010


Hi,
Current gstreamer photography interface supports a limited image effects setting and this is a RFC to extend the "GstColourToneMode " structure to support sky blue, grass green, skin whiten, emboss image effect and sketch image effect in the photography interface when do the image capture through gstreamer. These effects are available in some digital camera device and will be supported by the ISP on Intel Atom platforms.

The color effects are listed as in below, we are proposing to extend "GstColourToneMode" to support them.
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SKY_BLUE: make sky looks more blue
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_GRASS_GREEN : make grass looks more green
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SKIN_ WHITEN: make skin looks more whiten.
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_ EMBOSS: emboss image effect
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_ SKETECH: sketch image effect

So the final "GstColourToneMode" will be

typedef enum
{
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NORMAL = 0,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SEPIA,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NEGATIVE,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_GRAYSCALE,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NATURAL,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_VIVID,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_COLORSWAP,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SOLARIZE,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_OUT_OF_FOCUS,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SKY_BLUE,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_GRASS_GREEN,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SKIN_WHETEN,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_ EMBOSS,
  GST_PHOTOGRAPHY_COLOUR_TONE_MODE_ SKETECH
} GstColourToneMode;

Best Regards!
Hu Gang



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100423/e9eecbac/attachment.htm>


More information about the gstreamer-devel mailing list