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

Stephen Warren swarren at nvidia.com
Mon Jul 28 13:07:11 PDT 2014


José Hiram Soltren wrote at Monday, July 28, 2014 1:08 PM:
> This is version three of this patch, incorporating a suggestion from Rémi
> Denis-Courmont to add VdpChromaType values for 10- and 12-bit formats.

I might be tempted to leave out any support of 10- or 12-bit formats for now,
and do that separately from HEVC decoding support. (Including the related
VDP_DECODER_PROFILE_HEVC_MAIN_* values.)

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, and extend VdpVideoMixerCreate()
so it can be told which surface bit-depth it should operate on (along with
new associated query APIs). That probably requires a bit more thought;
perhaps not something you want to throw into the basic HEVC support patch
at the last minute?

-- 
nvpublic



More information about the mesa-dev mailing list