OpenCV_4.2.0/opencv_contrib-4.2.0/modules/cudacodec/misc/python/pyopencv_cudacodec.hpp

11 lines
228 B
C++
Raw Normal View History

2024-07-25 16:47:56 +08:00
#ifdef HAVE_OPENCV_CUDACODEC
#include "opencv2/cudacodec.hpp"
typedef cudacodec::EncoderCallBack::PicType EncoderCallBack_PicType;
CV_PY_TO_CLASS(cudacodec::EncoderParams);
CV_PY_FROM_CLASS(cudacodec::EncoderParams);
#endif