Hi Hendrik,
Regarding (1). RGB4 -> NV12 color space conversion should not present any issues. Can you please provide more specific information of what you are observing? What do you mean with no visual changes. Conversion to alternate color space will not result in any visual changes.
Please also check out the "sample_vpp" for details on this topic.
Regarding (2). As far as I know the D3D surfaces used with the Media SDK components must be allocated using the DXVA service and also requiring copy if you for instance need the surface to be associated with separate D3D texture.
You may have more flexibility using DX11 surfaces. At the moment I do not have any specific recommendations on how to perform this. But if you find a better approach please share your finding on this forum.
Regards,
Petter




Two questions regarding Intel Media SDK VPP
I have two questions regarding Intel Media SDK VPP.
First one is the VPP not working when input format is set to RGB4
I write a program to test the Intel Media SDK R3 VPP, It's work well when my input format is set to YUY2 or NV12.
When I set the input format into RGB4 , all of the VPP steps(including RunFrameVPPAsync and SyncOperation) return MFX_ERR_NONE.
But the VPP effects is not applied to the input data ( No matter how I set the VPP paramaters , I dont see any visual changes).
Second
The VPP surfaces pool is created using IDirectXVideoAccelerationService::CreateSurface
Is there any techniques to feed the DirectX surfaces as the VPP Input surfaces
or take the VPP Output surfaces as the input for other features I write using d3d system ?
As now I plainly copy the the surfaces from/to VPP surfaces, which is very slow because I need to lock the surfaces before copying it.
My system :
Many Thanks,
Hendrik