Open 1515guo opened 2 years ago
sample_encode.exe h264 -i 1080.yuv -hw -async 1 -vbr -b 2000 -w 1920 -h 1080 -o out.h264 -d3d
sample_encode.exe h264 -i 1080.yuv -hw -async 1 -vbr -b 2000 -w 1920 -h 1080 -o out.h264 -d3d11
I find use SYSTEM_MEMORY is performance and GPU 、CPU 、running times fast D3D11_MEMORY、 D3D9_MEMORY
@dmitryermilov look forward to your reply
why set default D3D11_MEMORY
look forward to your reply @nagos @uartie @diablodale @ph0b
system CPU:Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.19 GHz SYStem GPU: Intel(R) UHD Graphics 630 I read https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/tutorials/mediasdk-tutorials-readme.md say By moving from system to video memory implicit copies are eliminated, thus improving GPU load and overall performance. CPU utilization should also decrease slightly.
I build sample_encode.exe test D3D11_MEMORY、 D3D9_MEMORY 、SYSTEM_MEMORY difference
I use sample_encode.exe h264 -i 1080.yuv -hw -async 1 -vbr -b 2000 -w 1920 -h 1080 -o out.h264 -sys