]> git.sesse.net Git - nageru/commit
Use vaCreateImage + vaPutImage instead of vaDeriveImage.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 18 Mar 2019 18:29:38 +0000 (19:29 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 18 Mar 2019 18:30:57 +0000 (19:30 +0100)
commit575f6eb1b052bb1291987753b1a8cccc7f1e3ab3
tree50db63b79e76b1e8a1a4f98444759aa09c51e0ec
parenta839022c035b3d9387feabc02843c166ac78b469
Use vaCreateImage + vaPutImage instead of vaDeriveImage.

Seemingly, this largely fixes the L3 issues I've been seeing, taking
CPU usage down from ~2.1–2.2 to ~1.4 cores.

A test run with eight full 1080p59.94 inputs demonstrates that it can
be done without the GPU keeling over, although there are some issues with
VA-API threading.
nageru/mjpeg_encoder.cpp
nageru/mjpeg_encoder.h
nageru/pbo_frame_allocator.cpp
nageru/pbo_frame_allocator.h