Re: [FFmpeg-devel] [PATCH] avcodec/mmaldec: use decoupled dataflow

2021-09-23 Thread Ming Shun Ho
On Fri, Sep 24, 2021 at 3:40 AM Andreas Rheinhardt wrote: > > Ho Ming Shun: > > MMAL is an fundamentally an asynchronous decoder, which was a bad fit > > for the legacy dataflow API. Often multiple packets are enqueued before > > a flood of frames are returned from MMAL. > > > > The previous locks

Re: [FFmpeg-devel] [PATCH] avcodec/mmaldec: use decoupled dataflow

2021-09-23 Thread Andreas Rheinhardt
Ho Ming Shun: > MMAL is an fundamentally an asynchronous decoder, which was a bad fit > for the legacy dataflow API. Often multiple packets are enqueued before > a flood of frames are returned from MMAL. > > The previous lockstep dataflow meant that any delay in returning packets > from the VPU wo

[FFmpeg-devel] [PATCH] avcodec/mmaldec: use decoupled dataflow

2021-09-23 Thread Ho Ming Shun
MMAL is an fundamentally an asynchronous decoder, which was a bad fit for the legacy dataflow API. Often multiple packets are enqueued before a flood of frames are returned from MMAL. The previous lockstep dataflow meant that any delay in returning packets from the VPU would cause ctx->queue_decod