Efficient use of BlackMagic devices with modern C++ API