Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

how to config the evr to process d3d surface directly when using a custom presenter

$
0
0

Hi all,

Does anyone know how to configure the evr's mixer when using a custorm presenter to directly process the d3d surface which come from the dxva decoder? 

I am writing a custom evr presenter by making use of the Windows SDK sample "EVRPresenter" and I have succeed in using the custom evr presenter to render the video. However, When I have compared the custom evr with the default evr, I found that the custom evr presenter can not work efficiently with the hardware DXVA-enabled decoder. The custom evr presenter do not directly process the d3d surface coming from the dxva decoder and there are only logs on DXVA2_ProcessDeviceCreated, DXVA2_ProcessBlt and DXVA2_ProcessDeviceDestroyed can be traced using DXVA Checker. However, when using default evr presenter, the DXVA Checker can trace all of the logs, including the DXVA2 decoding api and DXVA2 process api.

It seem that there are some more work to configure the evr's mixer when using the custom evr presenter. So Does anyone can give me some adivce? 


Viewing all articles
Browse latest Browse all 1079


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>