]> git.baikalelectronics.ru Git - kernel.git/commit
media: meson: vdec: bring up to compliance
authorMaxime Jourdan <mjourdan@baylibre.com>
Tue, 3 Mar 2020 14:33:19 +0000 (15:33 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 5 Mar 2020 21:57:26 +0000 (22:57 +0100)
commit9d1bbdc96076dd751ad469899cdbad5245b35c4a
treeef2f91702cf533c94f978f51daf540b2ac764d12
parent43ed1d953b3f56633b4de7d18b4b13ad15e80c0c
media: meson: vdec: bring up to compliance

Add all the necessary bits to pass v4l2-compliance in stateful decoding
mode.

Mostly includes tracking the state of the decoder, allowing the OUTPUT
queue to stream while the CAPTURE queue is inactive, handling resolution
change events, draining with V4L2_DEC_CMD_STOP, copying more metadata
from the src buffers to the dst buffers, etc.

Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/meson/vdec/esparser.c
drivers/staging/media/meson/vdec/vdec.c
drivers/staging/media/meson/vdec/vdec.h
drivers/staging/media/meson/vdec/vdec_helpers.c
drivers/staging/media/meson/vdec/vdec_helpers.h
drivers/staging/media/meson/vdec/vdec_platform.c