summaryrefslogtreecommitdiff
path: root/drivers/media/platform/blackfin
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@mns.spb.ru>2012-10-23 09:56:59 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-12-26 10:16:47 -0200
commitfe0e990b22c24d53793c8cf246f0e535f31a4406 (patch)
tree7ed485ce2e3874654ae7290bb4b694401b7d4d62 /drivers/media/platform/blackfin
parentcb412a8da82233af001d13c28fc54f25a2001aef (diff)
[media] vivi: Teach it to tune FPS
I was testing my video-over-ethernet subsystem recently, and vivi seemed to be perfect video source for testing when one don't have lots of capture boards and cameras. Only its framerate was hardcoded to NTSC's 30fps, while in my country we usually use PAL (25 fps) and I needed that to precisely simulate bandwidth. That's why here is this patch with ->enum_frameintervals() and ->{g,s}_parm() implemented as suggested by Hans Verkuil which passes v4l2-compliance and manual testing through v4l2-ctl -P / -p <fps>. Regarding newly introduced __get_format(u32 pixelformat) I decided not to convert original get_format() to operate on fourcc codes, since >= 3 places in driver need to deal with v4l2_format and otherwise it won't be handy. [mchehab@redhat.com: Some CodingStyle fixes] Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/blackfin')
0 files changed, 0 insertions, 0 deletions