directx - Hardware Accelerated Image Scaling in windows using C++ -


i have scale bitmap image (e.g 1280 x 720 1920 x 180 , vice versa).

i using scaling in video capturing screen. software based scaling consumes lots of cpu scaling , slower well.

is there hardware accelerated api or library perform scaling?

some methods discussed in thread how use hardware video scalers?. buts no final conclusion.

support needed : windows 7 onwards

if have a idirect3dtexture9 of image scaled, can use stretchrect.

there no equivalent function in d3d11, however, if have id3d11texture2d of image scaled, can create render target of desired destination size, fullscreen quad, , render target simple shader samples original texture. resulting render target scaled image of input. note: fullscreen quad method work in d3d9.


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -