A customer of us wants to use VPP for doing a color conversion from RGB to YUV. It works fine but the output is according to BT.601 where the Y range is [16,235] and UV is [16,240] in 8bit data depth. However, the customer wants to convert with a full swing [0, 255] on both Y, and U, V. He wants to run detection algorithms and therefore does not want to loose information depth.
Can we switch to full color depth conversion ?
Product used from us is APL , SW is Gordon Peak 1.04 (TSD). It would be good to know in the first place if the VPP HW can support this.
Hi Michael S,
Please look for mfxExtVPPVideoSignalInfo structure. It can be initialized with
TransferMatrix = MFX_TRANSFERMATRIX_UNKNOWN;
NominalRange = MFX_NOMINALRANGE_0_255;
and passed as extension buffer to VPP Init.
There’s example of its usage in sample_decode, but there it is passed as extension buffer to every surface, but I was told that it is sufficient to pass it only once to Init function.