Re: [PATCH 3/6] hantro: Rework how encoder and decoder are identified

2020-06-26 Thread Ezequiel Garcia
On Fri, 2020-06-26 at 10:52 +0100, Robin Murphy wrote: > Hi Ezequiel, > > On 2020-06-25 17:35, Ezequiel Garcia wrote: > > So far we've been using the .buf_finish hook to distinguish > > decoder from encoder. This is unnecessarily obfuscated. > > > > Moreover, we want to move the buf_finish, so

Re: [PATCH 3/6] hantro: Rework how encoder and decoder are identified

2020-06-26 Thread Ezequiel Garcia
On Fri, 2020-06-26 at 09:58 +0200, Philipp Zabel wrote: > Hi Ezequiel, > > On Thu, 2020-06-25 at 13:35 -0300, Ezequiel Garcia wrote: > > So far we've been using the .buf_finish hook to distinguish > > decoder from encoder. This is unnecessarily obfuscated. > > > > Moreover, we want to move the

Re: [PATCH 3/6] hantro: Rework how encoder and decoder are identified

2020-06-26 Thread Robin Murphy
Hi Ezequiel, On 2020-06-25 17:35, Ezequiel Garcia wrote: So far we've been using the .buf_finish hook to distinguish decoder from encoder. This is unnecessarily obfuscated. Moreover, we want to move the buf_finish, so use a cleaner scheme to distinguish the driver decoder/encoder type.

Re: [PATCH 3/6] hantro: Rework how encoder and decoder are identified

2020-06-26 Thread Philipp Zabel
Hi Ezequiel, On Thu, 2020-06-25 at 13:35 -0300, Ezequiel Garcia wrote: > So far we've been using the .buf_finish hook to distinguish > decoder from encoder. This is unnecessarily obfuscated. > > Moreover, we want to move the buf_finish, so use a cleaner > scheme to distinguish the driver

[PATCH 3/6] hantro: Rework how encoder and decoder are identified

2020-06-25 Thread Ezequiel Garcia
So far we've been using the .buf_finish hook to distinguish decoder from encoder. This is unnecessarily obfuscated. Moreover, we want to move the buf_finish, so use a cleaner scheme to distinguish the driver decoder/encoder type. Signed-off-by: Ezequiel Garcia ---