mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
Extensive wrapping of CUDA functionalities for Python
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#ifdef HAVE_OPENCV_CUDACODEC
|
||||
|
||||
#include "opencv2/cudacodec.hpp"
|
||||
|
||||
typedef cudacodec::EncoderCallBack::PicType EncoderCallBack_PicType;
|
||||
|
||||
CV_PY_TO_CLASS(cudacodec::EncoderParams);
|
||||
|
||||
CV_PY_TO_ENUM(cudacodec::EncoderCallBack::PicType);
|
||||
CV_PY_TO_ENUM(cudacodec::SurfaceFormat);
|
||||
|
||||
CV_PY_FROM_CLASS(cudacodec::EncoderParams);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user