Re: [RESEND PATCH 0/2] media: uapi: Expose VP8 probability lengths as defines
From: Ezequiel Garcia
Date: Tue Nov 10 2020 - 20:08:40 EST
Hi Emmanuel,
Thanks for the patch.
On Mon, 9 Nov 2020 at 15:37, Emmanuel Gil Peyrot <linkmauve@xxxxxxxxxxxx> wrote:
>
> These values will be used by various drivers implementing the VP8
> stateless API.
>
> This had been suggested by Ezequiel Garcia for the Cedrus VP8 driver.
>
> The only driver using this API (until now) has also been updated to use
> these new defines.
>
> This is a resend because I forgot to include most maintainers, sorry for
> that. It’s my very first patch to the kernel, I didn’t know about
> scripts/get_maintainers.pl
>
I haven't validated these two patches, but on a first look,
it seems it's a low-hanging fruit nice cleanup. Thanks for that!
Since it seems you are looking for interesting things to contribute,
note that the vp8-ctrls.h header is lacking some nice documentation
on each structure.
This should be done by looking at the VP8 syntax spec and documenting
things appropriately. See how it's done for H.264 and VP9:
https://patchwork.linuxtv.org/project/linux-media/patch/20200928201433.327068-1-ezequiel@xxxxxxxxxxxxx/
https://patchwork.kernel.org/project/linux-rockchip/patch/20201102190551.1223389-3-adrian.ratiu@xxxxxxxxxxxxx/
Thanks,
Ezequiel
> Emmanuel Gil Peyrot (2):
> media: uapi: Expose probability lengths as defines
> media: hantro: Use VP8 lengths defined in uapi
>
> drivers/staging/media/hantro/hantro_vp8.c | 4 ++--
> include/media/vp8-ctrls.h | 6 ++++--
> 2 files changed, 6 insertions(+), 4 deletions(-)
>
> --
> 2.29.2
>