vc04_services: bcm2835-codec: Allow encoder_cmd on ISP and deinterlace
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 3 Oct 2022 13:23:15 +0000 (14:23 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Mon, 3 Oct 2022 13:49:02 +0000 (14:49 +0100)
commitaaab02909b3bcc07316da557d4d56fe43c2a17b1
tree2cdf47e7e9c0fcdae2621e147fd61438322aaa29
parent9b21516fe496ae646210c6a6ceac0347b36d5811
vc04_services: bcm2835-codec: Allow encoder_cmd on ISP and deinterlace

ISP and deinterlace also need a mechanism for passing effectively
an EOS through the pipeline to signal when all buffers have been
processed.

VIDIOC_ENCODER_CMD does exactly this for encoders, so reuse the same
function for ISP and deinterlace.
(VIDIOC_DECODER_CMD is slightly different in that it also passes
details of when and how to stop, so is not as relevant).

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c