]> git.karo-electronics.de Git - linux-beck.git/commit
[media] solo6x10: expose encoder quantization setting as V4L2 control
authorAndrey Utkin <andrey.utkin@corp.bluecherry.net>
Tue, 8 Jul 2014 15:23:32 +0000 (12:23 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 23:04:20 +0000 (20:04 -0300)
commit569811160561225d05b945d829ab831b87a044b1
tree534ea7c719618e6b4a1442f85b88d8cec9f2e3b6
parent3ffd7166e41de75faf6fd908c63feffa45596ea4
[media] solo6x10: expose encoder quantization setting as V4L2 control

solo6*10 boards have configurable quantization parameter which takes
values from 0 to 31, inclusively.

This change enables setting it with ioctl VIDIOC_S_CTRL with id
V4L2_CID_MPEG_VIDEO_H264_MIN_QP.

Signed-off-by: Andrey Utkin <andrey.utkin@corp.bluecherry.net>
Signed-off-by: Ismael Luceno <ismael.luceno@corp.bluecherry.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c