diff options
author | Darshana Patil <darshana@codeaurora.org> | 2019-10-09 10:05:18 -0700 |
---|---|---|
committer | Sanjay Singh <sisanj@codeaurora.org> | 2020-02-19 18:02:14 +0530 |
commit | 595722ac01a238b6ab096bf079ba08bce2e1419c (patch) | |
tree | 44f41bcc39a23fcac8337b405dc157c59de44062 /mm-core | |
parent | 2bdfc3ce88da5a7032a2ebe8fcb90cffd5cbab46 (diff) |
mm-video-v4l2: raise onConfigUpdate Event on FBD
For vp9 hdr10plus, upon receiving FBD, onConfigUpdate
needs to be raised which inturn calls getConfig. This
should fetch the hdr10plus metadata from the component
and return to framework.
Change-Id: Ibe6e05bf48a963bb52ce8b85d6313c19da70bdd2
Diffstat (limited to 'mm-core')
-rw-r--r-- | mm-core/inc/OMX_Core.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mm-core/inc/OMX_Core.h b/mm-core/inc/OMX_Core.h index 4a2f5db1..6fa88c20 100644 --- a/mm-core/inc/OMX_Core.h +++ b/mm-core/inc/OMX_Core.h @@ -534,6 +534,20 @@ typedef enum OMX_EVENTTYPE * fool-proof way to do that for video encoders. */ OMX_EventDataSpaceChanged, + + /** + * Event when a component has an updated configuration on output for the client to retrieve. + * |arg1| contains the port index (currently only output port is valid). |arg2| contains the + * index of the updated config. + * + * For config updates that's associated with one frame, the update should be applied to the + * next output frame that comes in EmptyBufferDone callback. + * + * Upon receiving this event, the client must call the corresponding OMX_GetConfig to retrieve + * the config update. + */ + OMX_EventConfigUpdate, + OMX_EventMax = 0x7FFFFFFF } OMX_EVENTTYPE; |