Encoding Desktop Duplication ID3D11Texture2D frame using NvPipe

I’m trying to capture the desktop frames using Desktop Duplication API, and encode them right away with NvPipe without going through CPU conversion of pixels. Is there any way to have the ID3D11Texture2D data as an input for NvPipe, or some other efficient way of doing it? I’m working on a VR solution that requires as low latency as possible, so even a 1ms saved is a big deal.