OSDN Git Service

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)
commit876f123b8956b455a89a172b905f9ecbb6fc5b67
treeef2f91702cf533c94f978f51daf540b2ac764d12
parentd4d137de5f31d318ed9acdcdf359b9bd3920808b
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