[VDPAU] [PATCH] Enable Lossless Decode Capabilities via VDPAU API
José Hiram Soltren
jsoltren at nvidia.com
Thu Dec 4 13:51:37 PST 2014
Hello,
On 11/25/2014 10:33 AM, Rémi Denis-Courmont wrote:
> Hello,
[...]
>
>> 5. Scope. If this change really adds
>> VDP_DECODER_PROFILE_H264_HIGH_444_PREDICTIVE, it will also need to add
>> anything else related to Hi444PP, not just lossless decode. Namely it
>> would need to introduce separate color plane coding, 4:4:4 chroma
>> subsampling (a misnomer; not subsampling at all), and bit depths up to
>> 14 bits per sample. If we choose to make VdpPictureInfoH264Extended
>> versioned we can add those in a follow-on change. If not, we need to
>> add those now.
>
> 4:4:4 surface chroma sampling is already defined by the API. Only high depths
> are missing. So I think the patch is self-sufficient if it sticks to 8-bits.
>
> It would be nice to mention which surface format are supported for
> PutBits/GetBits, if any... presumably NV12 and YV12, as YUYV and UYVY would not
> make sense.
Yes. YUYV and UYVY only make sense for 4:2:2 and 4:4:0 subsampling. VDPAU does
not presently support the latter. I think it would be good to call out a
restriction in documentation: the YUYV and UYVY formats only work with 4:2:2
subsampling (VDP_CHROMA_TYPE_422).
--José
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
More information about the VDPAU
mailing list