Home
last modified time | relevance | path

Searched refs:cv_type (Results 1 – 7 of 7) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst-libs/gst/opencv/
Dgstopencvutils.cpp80 (GstCaps * caps, gint * width, gint * height, int *cv_type, GError ** err) in gst_opencv_parse_cv_mat_params_from_caps() argument
95 cv_type, err); in gst_opencv_parse_cv_mat_params_from_caps()
99 (GstVideoInfo * info, gint * width, gint * height, int *cv_type, in gst_opencv_cv_mat_params_from_video_info() argument
105 if (!gst_opencv_cv_image_type_from_video_format (format, cv_type, err)) { in gst_opencv_cv_mat_params_from_video_info()
117 int *cv_type, GError ** err) in gst_opencv_cv_image_type_from_video_format() argument
123 *cv_type = CV_8UC1; in gst_opencv_cv_image_type_from_video_format()
127 *cv_type = CV_8UC3; in gst_opencv_cv_image_type_from_video_format()
137 *cv_type = CV_8UC4; in gst_opencv_cv_image_type_from_video_format()
141 *cv_type = CV_16UC1; in gst_opencv_cv_image_type_from_video_format()
154 gst_opencv_caps_from_cv_image_type (int cv_type) in gst_opencv_caps_from_cv_image_type() argument
[all …]
Dgstopencvutils.h38 (GstCaps * caps, gint * width, gint * height, int * cv_type,
43 (GstVideoInfo * info, gint * width, gint * height, int *cv_type,
48 int * cv_type, GError ** err);
51 GstCaps * gst_opencv_caps_from_cv_image_type (int cv_type);
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dcv_tensor.cc78 int cv_type = CV_MAKETYPE(type.AsCVType(), ch); in IsValidImage() local
79 return std::make_pair(size, cv_type); in IsValidImage()
106 uint8_t cv_type = type.AsCVType(); in MatInit() local
107 if (cv_type == kCVInvalidType) { in MatInit()
110 *mat = cv::Mat(static_cast<int>(shape.Rank()), &sizes32[0], cv_type, data); in MatInit()
Ddata_type.cc66 DataType DataType::FromCVType(int cv_type) { in FromCVType() argument
67 auto depth = static_cast<uchar>(cv_type) & static_cast<uchar>(CV_MAT_DEPTH_MASK); in FromCVType()
Ddata_type.h165 static DataType FromCVType(int cv_type);
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstdisparity.cpp596 int cv_type = CV_8UC3; in initialise_disparity() local
603 cv_type = CV_8UC1; in initialise_disparity()
605 cv_type = CV_8UC2; in initialise_disparity()
608 fs->cvRGB_right.create (fs->imgSize, cv_type); in initialise_disparity()
609 fs->cvRGB_left.create (fs->imgSize, cv_type); in initialise_disparity()
/third_party/mindspore/tests/ut/cpp/dataset/
Ddatatype_test.cc79 void FromDT(DataType d, uint8_t cv_type, std::string str) { in FromDT() argument
83 ASSERT_EQ(d.AsCVType(), cv_type); in FromDT()