[RFC] support more color effects by extending the V4L2_CID_COLORFX user contorl ID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi linux-media, 
 
Current V4l2 support a limited image effects (black white and sepia) and this is a RFC to support more color effects by extending the V4L2_CID_COLORFX user control ID, these effects are not platform specific and are available in mainstream digital camera devices, and will be supported by the ISP on Intel Atom platforms.

The image effects are listed as in below, we are proposing to extend V4L2_CID_COLORFX to support them:

V4L2_COLORFX_NEGATIVE - negative image effect.
V4L2_COLORFX_EMBOSS - emboss image effect
V4L2_COLORFX_SKETECH - sketch image effect
V4L2_COLORFX_SKY_BLUE - sky blue image effect
V4L2_COLORFX_GRASS_GREEN - grass green image effect
V4L2_COLORFX_SKIN_WHITEN - skin whiten image effect 
V4L2_COLORFX_VIVID - vivid image effect

The v4l2_colorfx also needs to contain more enum items (as in below) to support them, welcome any comment and suggest. 

enum v4l2_colorfx {
	V4L2_COLORFX_DEFAULT	= 0,
	V4L2_COLORFX_BW		= 1,
	V4L2_COLORFX_SEPIA	= 2,
	V4L2_COLORFX_NEGATIVE = 3, 
	V4L2_COLORFX_EMBOSS =4,
	V4L2_COLORFX_SKETECH =5, 
	V4L2_COLORFX_SKY_BLUE =6, 
	V4L2_COLORFX_GRASS_GREEN =7,
	V4L2_COLORFX_SKIN_WHITEN = 8, 
	V4L2_COLORFX_VIVID = 9,
};

BRs
Xiaolin
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux