AV videodecoder - Review Points #386
Replies: 2 comments
-
|
1. Decoder state change events after open/close This is already supported. Any client that needs to observe state changes registers via See:
2. Buffer underrun/overflow tracking The current metric properties cover decode-output quality: Buffer underrun/overflow is a pipeline-level concern that sits above the HAL — it depends on how the middleware manages the input feed rate relative to decode consumption. The decoder HAL already signals backpressure through Adding underrun/overflow counters to the HAL would conflate middleware scheduling behaviour with decoder capability. If there is a specific SoC-internal buffer condition you're seeing that isn't covered by the existing error/drop metrics, please describe the scenario and we can evaluate whether a new metric property is warranted. 3. PTS parameter on discontinuity
Adding a PTS to |
Beta Was this translation helpful? Give feedback.
-
|
For point 2, we have onAudioUnderflow and onVideoUnderflow at the sink level, which shall provide the data if there is any underflow. The overflow and underflow info at the decoder level can be just handled with logs (for debugging). Refer to IVideoSinkControllerListener.aidl and IAudioSinkControllerListener.aidl for the underflow events. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions