OSDN Git Service

media: v4l2-mem2mem: add try_en/decoder_cmd ioctl helpers
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 29 May 2019 06:45:59 +0000 (02:45 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 5 Jun 2019 12:50:13 +0000 (08:50 -0400)
commitef732d5e2813ff5ef30cdb280b2d133e74213555
treef264fc4a5ba5d4b1ec51e2da9d78a2c2991692ab
parentad2220aa4591f3a25705b2d44f8a518d19346433
media: v4l2-mem2mem: add try_en/decoder_cmd ioctl helpers

Most if not all codecs will need to implement these ioctls and
it is expected to be the same for all codecs. So add this to
the core v4l2-mem2mem framework so that this code can easily be
reused.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-mem2mem.c
include/media/v4l2-mem2mem.h