public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Kim, HeungJun" <riverful.kim@samsung.com>
To: "linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	"kyungmin.park@samsung.com" <kyungmin.park@samsung.com>
Subject: [RFC] API for controlling Scenemode Preset
Date: Thu, 31 Mar 2011 14:39:09 +0900	[thread overview]
Message-ID: <4D94137D.9020309@samsung.com> (raw)

Hello everyone,

This is a suggestion about the preset for the scenemode of camera. It's just
one API, and its role determines which current scenemode preset of camera is.

The kinds of scenemode are various at each camera. But, as you look around 
camera, the each scenemode has common name and the specific scenemode just
exist or not. So, I started to collect the scenemode common set of Fujitsu
M-5MOLS and NEC CE147. And, I found these modes are perfetly matched, althogh
the names are a little different.

I introduce these scenemode preset.

	Fujitsu M5MO		NEC CE147

	Portrait		Portrait
	Landscape		Landscape
	Sports			Sports
	Party & Indoor		Indoor & Party
	Beach & Snow		Beach & Snow
	Sunset			Sunset
	Dawn & Dusk		Dawn
	Fall			FallColor
	Night			Night
	Against Light		Against
	Fire			Fireworks
	Text			Text
	Candle			Candlelight

The camera just one scememode at one time, so these can be express by menu type
like this.

CID name
	: V4L2_CID_SCENEMODE

CID enumeration
	: enum v4l2_scenemode {
		V4L2_SCENEMODE_PORTRAIT	=	0,
		V4L2_SCENEMODE_LANDSCAPE	=	1,
		V4L2_SCENEMODE_SPORTS	=	2,
		V4L2_SCENEMODE_PARTY_INDOOR	=	3,
		V4L2_SCENEMODE_BEACH_SNOW	=	4,
		V4L2_SCENEMODE_SUNSET	=	5,
		V4L2_SCENEMODE_DAWN_DUSK	=	6,
		V4L2_SCENEMODE_FALLCOLOR	=	7,
		V4L2_SCENEMODE_NIGHT	=	8,
		V4L2_SCENEMODE_AGAINST_LIGHT	=	9,
		V4L2_SCENEMODE_FIREWORKS	=	10,
		V4L2_SCENEMODE_TEXT	=	11,
		V4L2_SCENEMODE_CANDLELIGHT	=	12,
	};

Thanks for reading, and welcome always any comments & opinions & any other cases.
I want to know any other case very much. :)

Ragards,
Heungjun Kim





             reply	other threads:[~2011-03-31  5:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-31  5:39 Kim, HeungJun [this message]
2011-03-31 14:12 ` [RFC] API for controlling Scenemode Preset Laurent Pinchart
2011-03-31 20:24   ` Kim HeungJun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D94137D.9020309@samsung.com \
    --to=riverful.kim@samsung.com \
    --cc=hverkuil@xs4all.nl \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox