Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACodec: Handle HDR10+ metadata at OutputPortSettingsChangedState
[Description] handle kWhatSetParameters message in OutputPortSettingsChangedState handle OMX_EventConfigUpdate event in OutputPortSettingsChangedState In HDR10+ test, we have to associate each HDR10+ metadata to a particular frame. If receive a kWhatSetParameters message with "hdr10-plus-info" buffer, it should not be deferred in OutputPortSettingsChangedState and adopt OMX_SetConfig to associates this config with the next input buffer sent in OMX_EmptyThisBuffer. The OMX_EventConfigUpdate event report from component should be handled also in OutputPortSettingsChangedState, where is to associate updated "hdr10-plus-info" metadata with the next output buffer sent via FillBufferDone callback. Bug: 157213958 Bug: 157435393 Change-Id: I27e4614487414063831fa760b9e9ca96b1c3712c (cherry picked from commit c111aa4)
- Loading branch information