Re: [PATCH v3 2/3] media: uapi: Add VP9 stateless decoder controls
From: Nicolas Dufresne
Date: Mon May 11 2020 - 08:17:15 EST
Le vendredi 08 mai 2020 Ã 15:16 +0200, Hans Verkuil a Ãcrit :
> > I think this comes directly from the spec. The Rockchip VDEC doesn't
> > seem to use it.
> > Do you think we can drop it from here, and rely on the V4L2 colorspace
> > passed in the format negotiation?
>
>
> That would be preferred, yes. Otherwise you would have two places where you can
> define colorspaces, and that's confusing.
This is indeed redundant with the color information in the format. In
VP8/9 there is only 1 header for everything, so it's harder to figure-
out what to filter. While in H.264/HEVC this information is usually set
an an extension header.
Though this do re-open the discussion about SPS in H.264/HEVC. In there
you will find the coded size and the crop window and the sub-sampling.
I don't remember exactly what was the conclusion, but I think it was
kept to allow allow bitstream reconstruction. But it will effectively
overlap directly (or indirectly) with some V4L2 generic API.
regards,
Nicolas
Attachment:
signature.asc
Description: This is a digitally signed message part