Lines Matching defs:const
22 static int failmsg(const char *fmt, ...)
37 const char * name;
41 ArgInfo(const char * name_, bool outputarg_)
46 operator const char *() const { return name; }
79 catch (const cv::Exception &e) \
125 static PyObject* failmsgp(const char *fmt, ...)
144 UMatData* allocate(PyObject* o, int dims, const int* sizes, int type, size_t* step) const
157 UMatData* allocate(int dims0, const int* sizes, int type, void* data, size_t* step, int flags, UMatUsageFlags usageFlags) const
169 const int f = (int)(sizeof(size_t)/8);
186 bool allocate(UMatData* u, int accessFlags, UMatUsageFlags usageFlags) const
191 void deallocate(UMatData* u) const
202 const MatAllocator* stdAllocator;
209 bool pyopencv_to(PyObject* obj, T& p, const char* name = "<unknown>");
212 PyObject* pyopencv_from(const T& src);
217 static bool pyopencv_to(PyObject* o, Mat& m, const ArgInfo info)
295 const int CV_MAX_DIM = 32;
308 const npy_intp* _sizes = PyArray_DIMS(oarr);
309 const npy_intp* _strides = PyArray_STRIDES(oarr);
385 bool pyopencv_to(PyObject* o, Mat& m, const char* name)
391 PyObject* pyopencv_from(const Mat& m)
408 bool pyopencv_to(PyObject *o, Scalar& s, const char *name)
443 PyObject* pyopencv_from(const Scalar& src)
449 PyObject* pyopencv_from(const bool& value)
456 PyObject* pyopencv_from(const Status& value)
463 bool pyopencv_to(PyObject* obj, bool& value, const char* name)
476 PyObject* pyopencv_from(const size_t& value)
482 bool pyopencv_to(PyObject* obj, size_t& value, const char* name)
492 PyObject* pyopencv_from(const int& value)
499 PyObject* pyopencv_from(const cvflann_flann_algorithm_t& value)
505 PyObject* pyopencv_from(const cvflann_flann_distance_t& value)
512 bool pyopencv_to(PyObject* obj, int& value, const char* name)
527 PyObject* pyopencv_from(const uchar& value)
533 bool pyopencv_to(PyObject* obj, uchar& value, const char* name)
544 PyObject* pyopencv_from(const double& value)
550 bool pyopencv_to(PyObject* obj, double& value, const char* name)
563 PyObject* pyopencv_from(const float& value)
569 bool pyopencv_to(PyObject* obj, float& value, const char* name)
582 PyObject* pyopencv_from(const int64& value)
588 PyObject* pyopencv_from(const String& value)
594 bool pyopencv_to(PyObject* obj, String& value, const char* name)
607 bool pyopencv_to(PyObject* obj, Size& sz, const char* name)
616 PyObject* pyopencv_from(const Size& sz)
622 bool pyopencv_to(PyObject* obj, Rect& r, const char* name)
631 PyObject* pyopencv_from(const Rect& r)
637 bool pyopencv_to(PyObject* obj, Range& r, const char* name)
651 PyObject* pyopencv_from(const Range& r)
657 bool pyopencv_to(PyObject* obj, Point& p, const char* name)
673 bool pyopencv_to(PyObject* obj, Point2f& p, const char* name)
689 bool pyopencv_to(PyObject* obj, Point2d& p, const char* name)
706 PyObject* pyopencv_from(const Point& p)
712 PyObject* pyopencv_from(const Point2f& p)
718 bool pyopencv_to(PyObject* obj, Vec3d& v, const char* name)
727 PyObject* pyopencv_from(const Vec3d& v)
733 PyObject* pyopencv_from(const Vec2d& v)
739 PyObject* pyopencv_from(const Point2d& p)
746 static bool to(PyObject* obj, std::vector<_Tp>& value, const ArgInfo info)
844 static PyObject* from(const std::vector<_Tp>& value)
854 bool pyopencv_to(PyObject* obj, std::vector<_Tp>& value, const ArgInfo info)
860 PyObject* pyopencv_from(const std::vector<_Tp>& value)
865 template<typename _Tp> static inline bool pyopencv_to_generic_vec(PyObject* obj, std::vector<_Tp>& value, const ArgInfo info)
889 template<typename _Tp> static inline PyObject* pyopencv_from_generic_vec(const std::vector<_Tp>& value)
911 static bool to(PyObject* obj, std::vector<std::vector<_Tp> >& value, const ArgInfo info)
916 static PyObject* from(const std::vector<std::vector<_Tp> >& value)
924 static bool to(PyObject* obj, std::vector<Mat>& value, const ArgInfo info)
929 static PyObject* from(const std::vector<Mat>& value)
937 static bool to(PyObject* obj, std::vector<KeyPoint>& value, const ArgInfo info)
942 static PyObject* from(const std::vector<KeyPoint>& value)
950 static bool to(PyObject* obj, std::vector<DMatch>& value, const ArgInfo info)
955 static PyObject* from(const std::vector<DMatch>& value)
963 static bool to(PyObject* obj, std::vector<String>& value, const ArgInfo info)
968 static PyObject* from(const std::vector<String>& value)
975 bool pyopencv_to(PyObject *obj, TermCriteria& dst, const char *name)
984 PyObject* pyopencv_from(const TermCriteria& src)
990 bool pyopencv_to(PyObject *obj, RotatedRect& dst, const char *name)
999 PyObject* pyopencv_from(const RotatedRect& src)
1005 PyObject* pyopencv_from(const Moments& m)
1019 bool pyopencv_to(PyObject *o, cv::flann::IndexParams& p, const char *name)
1037 const char* value = PyString_AsString(item);
1067 bool pyopencv_to(PyObject* obj, cv::flann::SearchParams & value, const char * name)
1074 bool pyopencv_to(PyObject *o, Ptr<T>& p, const char *name)
1082 bool pyopencv_to(PyObject *o, cvflann::flann_distance_t& dist, const char *name)
1096 bool pyopencv_to(PyObject *obj, CvTermCriteria& dst, const char *name)
1105 bool pyopencv_to(PyObject* obj, CvSlice& r, const char* name)
1140 const char *keywords[] = { "window_name", "on_mouse", "param", NULL };
1195 static int convert_to_char(PyObject *o, char *dst, const char *name = "no_name")
1233 const
1237 static void init_submodule(PyObject * root, const char * name, PyMethodDef * methods, ConstDef * consts)