Re: [PATCH v2 0/8] Venus stateful encoder compliance

2020-11-30 Thread Fritz Koenig
On Sun, Nov 29, 2020 at 11:55 PM Stanimir Varbanov wrote: > > Hi Fritz, > > On 11/29/20 9:17 PM, Fritz Koenig wrote: > > Since this patchset adds support for V4L2_ENC_CMD_STOP and > > VENUS_ENC_STATE_ENCODING it should also add support for > > VIDIOC_TRY_ENCODER_CMD so that those commands are disc

Re: [PATCH v2 0/8] Venus stateful encoder compliance

2020-11-29 Thread Stanimir Varbanov
Hi Fritz, On 11/29/20 9:17 PM, Fritz Koenig wrote: > Since this patchset adds support for V4L2_ENC_CMD_STOP and > VENUS_ENC_STATE_ENCODING it should also add support for > VIDIOC_TRY_ENCODER_CMD so that those commands are discoverable. I've 6/8 is adding it: + .vidioc_try_encoder_cmd = v4

Re: [PATCH v2 0/8] Venus stateful encoder compliance

2020-11-29 Thread Fritz Koenig
Since this patchset adds support for V4L2_ENC_CMD_STOP and VENUS_ENC_STATE_ENCODING it should also add support for VIDIOC_TRY_ENCODER_CMD so that those commands are discoverable. I've made an attempt at that here: https://www.spinics.net/lists/linux-media/msg182319.html On Wed, Nov 11, 2020 at 6:

[PATCH v2 0/8] Venus stateful encoder compliance

2020-11-11 Thread Stanimir Varbanov
Hello, Here is v2 of the subject patchset. The patchset starts with few small preparation and fix patches, 1/8 to 5/8. 6/8 is redesigned Dikshita's patch and 7/8 add Reset encoder state handling. The last 8/8 just delete not needed helper function. The major changes are: * An attempt to reuse