Re: [PATCH v2] venus: vdec: Handle DRC after drain

2020-12-02 Thread Fritz Koenig
On Tue, Dec 1, 2020 at 9:58 PM Alexandre Courbot wrote: > > On Wed, Dec 2, 2020 at 7:34 AM Stanimir Varbanov > wrote: > > > > Hi Fritz, > > > > On 12/1/20 6:23 AM, Fritz Koenig wrote: > > > If the DRC is near the end of the stream the client > > > may send a V4L2_DEC_CMD_STOP before the DRC

Re: [PATCH v2] venus: vdec: Handle DRC after drain

2020-12-01 Thread Alexandre Courbot
On Wed, Dec 2, 2020 at 7:34 AM Stanimir Varbanov wrote: > > Hi Fritz, > > On 12/1/20 6:23 AM, Fritz Koenig wrote: > > If the DRC is near the end of the stream the client > > may send a V4L2_DEC_CMD_STOP before the DRC occurs. > > V4L2_DEC_CMD_STOP puts the driver into the > >

Re: [PATCH v2] venus: vdec: Handle DRC after drain

2020-12-01 Thread Stanimir Varbanov
Hi Fritz, On 12/1/20 6:23 AM, Fritz Koenig wrote: > If the DRC is near the end of the stream the client > may send a V4L2_DEC_CMD_STOP before the DRC occurs. > V4L2_DEC_CMD_STOP puts the driver into the > VENUS_DEC_STATE_DRAIN state. DRC must be aware so > that after the DRC event the state can

[PATCH v2] venus: vdec: Handle DRC after drain

2020-11-30 Thread Fritz Koenig
If the DRC is near the end of the stream the client may send a V4L2_DEC_CMD_STOP before the DRC occurs. V4L2_DEC_CMD_STOP puts the driver into the VENUS_DEC_STATE_DRAIN state. DRC must be aware so that after the DRC event the state can be restored correctly. Signed-off-by: Fritz Koenig --- v2: