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

Scaling with DXVA2.0

$
0
0

Hi,

 

I’m currently studying the DXVA2.0 device management and video processing and I wonder if you could help me with the following trouble:

 

I’m want to build a MFT who doe’s video processing on video source, one of the features I want to offer is the ability to use the hardware scaling capabilities instead of my software algorithms. Therefore, I came up with some basic questions:

 

1. When setting the video position by the IMFVideoDisplayControl interface to a larger destination rectangle then the source rectangle – how can I ensure that the resizing is done by the hardware and not software?

 

2. Is there a way to implement scaling using the IDirectXVideoProcessor::Video ProcessBlt in my MFT so I could actually continue performing other processing on my video sample? As I understand it, the result is written to the target IDirect3DSurface9 object and I didn’t find a way to “pull” the video sample from it.

 

I believe that answers to those questions would really help me.

Thanks in advance,

 

Uri


Viewing all articles
Browse latest Browse all 1079

Trending Articles



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