nvcodec: No way to crop cuda memory without device transfer
I have a gstreamer pipeline where I am trying to keep all operations on GPU to improve throughput and ideally reduce latency. In broad strokes this pipeline fetches some segment of h264 video, crops, resizes and finally encodes back to h264. I have hit a roadblock at the moment where it does not seem possible to crop the video without a transfer back to host memory where I can use the videocrop
element. I noticed in the gst-plugins-bad nvenc plugin directory, the cuda-converter.c
file implements most of the kernel functions for the plugin. This file has a list of TODO's including cropping, is there any ETA to such functionality becoming available?