summaryrefslogtreecommitdiff
path: root/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-03-25 07:27:45 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-11 11:33:44 -0400
commitd17589afa97061440c0a161775672a8a7bfa9d12 (patch)
tree14673982a41ac55f82fec664d04ebacbf30cfc46 /drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c
parent3b6813d6f52d18674e5bbfcf7ff4bcec15569144 (diff)
media: vicodec: improve handling of ENC_CMD_STOP/START
Correctly handle stopping and restarting the encoder, keeping track of the stop and drain states. In addition it adds correct handling of corner cases, allowing v4l2-compliance to pass. Unfortunately, the code is getting to be quite complicated, so we need to work on better codec support in v4l2-mem2mem.c to simplify drivers. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c')
0 files changed, 0 insertions, 0 deletions