[Mesa-dev] [VDPAU] [PATCH] v3: Extend the public VDPAU API to support HEVC Decoding

José Hiram Soltren jsoltren at nvidia.com
Mon Jul 28 13:44:06 PDT 2014


Hi Rémi,

On 07/28/2014 03:37 PM, Rémi Denis-Courmont wrote:
> Le lundi 28 juillet 2014, 20:07:11 Stephen Warren a écrit :
>> I say this because once you expand VdpChromeType to support 10- and 12-bit
>> formats, you'll probably also want to expand VdpYCbCrFormat to allow
>> surface reads/write from 10- and 12-bit surfaces,
> 
> While high-depth YUV surface read/write would be nice, they do not seem 
> required for HEVC decoding.

We'll certainly need some change to VdpYCbCrFormat to handle the 10-bit luma
and chroma data that results from the decoding process. This won't fit into any
existing format without a pixel-packing hack.

We would also need new VdpRGBAFormat values for bit depths above 10.

>> and extend
>> VdpVideoMixerCreate() so it can be told which surface bit-depth it should
>> operate on (along with new associated query APIs).
> 
> With the proposed patch, VDP_VIDEO_MIXER_PARAMETER_CHROMA_TYPE parameter 
> already takes care of that issue, I think.

Yes. Though, as I proposed separately, it may be cleaner to introduce bit depth
as a separate value from subsampling.

Thanks,
--José

>> That probably requires a
>> bit more thought; perhaps not something you want to throw into the basic
>> HEVC support patch at the last minute?
> 
> 
-----------------------------------------------------------------------------------
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 mesa-dev mailing list