Hardware Accelerated Image Scaling in windows using C++
问题 I have to scale a bitmap image (e.g 1280 x 720 to 1920 X 180 and vice versa). I am using this scaling in video capturing from screen. Software based scaling consumes lots of CPU scaling and slower as well. Is there any hardware accelerated API or library to perform scaling? Some methods are discussed in thread How to use hardware video scalers?. Buts no final conclusion. Support Needed : Windows 7 onwards 回答1: If you have a a IDirect3DTexture9 of the image to be scaled, you can use