video: driver: restructure video state machine

Re-structure video driver statemachine to use
event handler. Added event handler support for
event states.

Added change to handle event depending on the
underlying state implementation.

Change-Id: Ib55c12c6cadc4d780797a5aee75d5ea61e95c94f
Signed-off-by: Govindaraj Rajagopal <quic_grajagop@quicinc.com>
This commit is contained in:
Govindaraj Rajagopal
2022-11-25 21:28:41 +05:30
parent 68df0645ec
commit 7c365bdb94
19 changed files with 1174 additions and 458 deletions

View File

@@ -377,7 +377,7 @@ enum msm_vidc_metadata_bits {
BUF_TYPE(INPUT_META) \
BUF_TYPE(OUTPUT_META) \
BUF_TYPE(READ_ONLY) \
BUF_TYPE(QUEUE) \
BUF_TYPE(INTERFACE_QUEUE) \
BUF_TYPE(BIN) \
BUF_TYPE(ARP) \
BUF_TYPE(COMV) \