staging: mmal-vchiq: Add support for event callbacks.
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Mon, 24 Sep 2018 17:15:38 +0000 (18:15 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:54 +0000 (16:03 +0000)
commitf36617af7067deb2c1f7c898aaef812582867b64
tree62a41667cf21fd49e3a89c58392a8b98de6d656b
parent361ed623d3ad8495db58c7c773673d3c7bbd9f70
staging: mmal-vchiq: Add support for event callbacks.

(Preparation for the codec driver).
The codec uses the event mechanism to report things such as
resolution changes. It is signalled by the cmd field of the buffer
being non-zero.

Add support for passing this information out to the client.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/staging/vc04_services/vchiq-mmal/mmal-common.h
drivers/staging/vc04_services/vchiq-mmal/mmal-msg.h
drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.h