[VDPAU] Support H264 Hi10 via vdpau

Stephen Warren swarren at nvidia.com
Mon Oct 28 20:00:23 CET 2013


Peter Frühberger wrote at Monday, October 28, 2013 12:41 PM:
> Thx for your reply,
> 
> > ... although actually looking at the new fields you're adding, won't the
> > values *always* be "10" if the new profile is in use? I think you only
> > need to do one of adding a new profile value, or adding new fields to the
> > picture info struct, not both?
> 
> this would be a an even more minimal approach to get those two fields
> shipped. But as we have to decide if the target decoder can actually
> do hi10p an new profile with a new extended struct would perhaps be
> the better idea. So the actual vdpau decoder can tell itself if it
> supports hi10p or not.

Wouldn't the VDPAU implementation only indicate that it supports the new
profile if it can decode Hi10 streams? If a client wanted to decode regular
H.264, it would continue to use the existing decoder profile. If a client
wanted to decode Hi10 streams, it would query for and use the new profile
if the driver supported it. I don't see a need for a client to both request
a new profile *and* fill in new fields in the structure, since the new
fields would always contain the same value.

-- 
nvpublic



More information about the VDPAU mailing list