Just as the “\jetson_multimedia_api\argus\samples\cudaHistogram”,after cuGraphicsResourceGetMappedEglFrame,i will get CUeglFrame,the PIXEL_FMT_YCbCr_420_888 nv12 data is on gpu,how can i get it to memory? copy it ? just like cv::Mat ,or GpuMat
The buffer pointer can be found at
The you can create a GpuMat by wrapping over it.
cv::cuda::GpuMat::GpuMat ( int rows,
void * data,
size_t step = Mat::AUTO_STEP
constructor for GpuMat headers pointing to user-allocated data
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.