]> git.baikalelectronics.ru Git - kernel.git/commit
media: rockchip/vpu: Prepare things to support decoders
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 28 May 2019 17:02:26 +0000 (13:02 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 29 May 2019 15:03:08 +0000 (11:03 -0400)
commit3c1f0996a6bea3565fe5078f8d0d90d2283d9aff
tree173469e43f7ccadcb9c74fd83f04a03d55c20d79
parentee1ea38c69e8fe9af5f72228bc85cc7090f57742
media: rockchip/vpu: Prepare things to support decoders

The code in rockchip_vpu_v4l2 was hardcoded for encoder support.
Modify it more generic to support the decoder case so that we can
re-use the same vb2/v4l2 ops for both devices.

Co-developed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/rockchip/vpu/rockchip_vpu.h
drivers/staging/media/rockchip/vpu/rockchip_vpu_v4l2.c