Home
last modified time | relevance | path

Searched refs:image_format (Results 1 – 25 of 152) sorted by relevance

1234567

/third_party/boost/boost/compute/interop/qt/
Dqimage.hpp27 inline image_format qt_qimage_format_to_image_format(const QImage::Format &format) in qt_qimage_format_to_image_format()
30 return image_format(image_format::bgra, image_format::unorm_int8); in qt_qimage_format_to_image_format()
36 inline QImage::Format qt_image_format_to_qimage_format(const image_format &format) in qt_image_format_to_qimage_format()
38 if(format == image_format(image_format::bgra, image_format::unorm_int8)){ in qt_image_format_to_qimage_format()
45 inline image_format qt_qimage_get_format(const QImage &image) in qt_qimage_get_format()
/third_party/boost/libs/compute/include/boost/compute/interop/qt/
Dqimage.hpp27 inline image_format qt_qimage_format_to_image_format(const QImage::Format &format) in qt_qimage_format_to_image_format()
30 return image_format(image_format::bgra, image_format::unorm_int8); in qt_qimage_format_to_image_format()
36 inline QImage::Format qt_image_format_to_qimage_format(const image_format &format) in qt_image_format_to_qimage_format()
38 if(format == image_format(image_format::bgra, image_format::unorm_int8)){ in qt_image_format_to_qimage_format()
45 inline image_format qt_qimage_get_format(const QImage &image) in qt_qimage_get_format()
/third_party/boost/libs/compute/include/boost/compute/image/
Dimage_format.hpp38 class image_format class
73 explicit image_format(cl_channel_order order, cl_channel_type type) in image_format() function in boost::compute::image_format
80 explicit image_format(const cl_image_format &format) in image_format() function in boost::compute::image_format
87 image_format(const image_format &other) in image_format() function in boost::compute::image_format
93 image_format& operator=(const image_format &other) in operator =()
103 ~image_format() in ~image_format()
114 bool operator==(const image_format &other) const in operator ==()
123 bool operator!=(const image_format &other) const in operator !=()
Dimage_object.hpp89 image_format format() const in format()
91 return image_format(get_image_info<cl_image_format>(CL_IMAGE_FORMAT)); in format()
95 image_format get_format() const in get_format()
125 static std::vector<image_format>
136 std::vector<image_format> formats; in get_supported_formats()
140 formats.push_back(image_format(cl_formats[i])); in get_supported_formats()
148 static bool is_supported_format(const image_format &format, in is_supported_format()
153 const std::vector<image_format> formats = in is_supported_format()
Dimage1d.hpp49 const image_format &format, in image1d()
151 static std::vector<image_format>
157 return std::vector<image_format>(); in get_supported_formats()
163 static bool is_supported_format(const image_format &format, in is_supported_format()
Dimage2d.hpp54 const image_format &format, in image2d()
103 const image_format &format, in image2d()
217 static std::vector<image_format>
225 static bool is_supported_format(const image_format &format, in is_supported_format()
Dimage3d.hpp49 const image_format &format, in image3d()
101 const image_format &format, in image3d()
220 static std::vector<image_format>
228 static bool is_supported_format(const image_format &format, in is_supported_format()
/third_party/boost/boost/compute/image/
Dimage_format.hpp38 class image_format class
73 explicit image_format(cl_channel_order order, cl_channel_type type) in image_format() function in boost::compute::image_format
80 explicit image_format(const cl_image_format &format) in image_format() function in boost::compute::image_format
87 image_format(const image_format &other) in image_format() function in boost::compute::image_format
93 image_format& operator=(const image_format &other) in operator =()
103 ~image_format() in ~image_format()
114 bool operator==(const image_format &other) const in operator ==()
123 bool operator!=(const image_format &other) const in operator !=()
Dimage_object.hpp89 image_format format() const in format()
91 return image_format(get_image_info<cl_image_format>(CL_IMAGE_FORMAT)); in format()
95 image_format get_format() const in get_format()
125 static std::vector<image_format>
136 std::vector<image_format> formats; in get_supported_formats()
140 formats.push_back(image_format(cl_formats[i])); in get_supported_formats()
148 static bool is_supported_format(const image_format &format, in is_supported_format()
153 const std::vector<image_format> formats = in is_supported_format()
Dimage1d.hpp49 const image_format &format, in image1d()
151 static std::vector<image_format>
157 return std::vector<image_format>(); in get_supported_formats()
163 static bool is_supported_format(const image_format &format, in is_supported_format()
Dimage2d.hpp54 const image_format &format, in image2d()
103 const image_format &format, in image2d()
217 static std::vector<image_format>
225 static bool is_supported_format(const image_format &format, in is_supported_format()
Dimage3d.hpp49 const image_format &format, in image3d()
101 const image_format &format, in image3d()
220 static std::vector<image_format>
228 static bool is_supported_format(const image_format &format, in is_supported_format()
/third_party/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c893 uint32_t image_format; member
898 .image_format = __DRI_IMAGE_FORMAT_RGB565,
903 .image_format = __DRI_IMAGE_FORMAT_ARGB1555,
908 .image_format = __DRI_IMAGE_FORMAT_XRGB8888,
913 .image_format = __DRI_IMAGE_FORMAT_ABGR16161616F,
918 .image_format = __DRI_IMAGE_FORMAT_XBGR16161616F,
923 .image_format = __DRI_IMAGE_FORMAT_ARGB2101010,
928 .image_format = __DRI_IMAGE_FORMAT_XRGB2101010,
933 .image_format = __DRI_IMAGE_FORMAT_ABGR2101010,
938 .image_format = __DRI_IMAGE_FORMAT_XBGR2101010,
[all …]
/third_party/boost/libs/compute/include/boost/compute/interop/opencv/
Dcore.hpp72 inline image_format opencv_get_mat_image_format(const cv::Mat &mat) in opencv_get_mat_image_format()
76 return image_format(CL_BGRA, CL_UNORM_INT8); in opencv_get_mat_image_format()
78 return image_format(CL_BGRA, CL_UNORM_INT16); in opencv_get_mat_image_format()
80 return image_format(CL_INTENSITY, CL_FLOAT); in opencv_get_mat_image_format()
82 return image_format(CL_RGBA, CL_FLOAT); in opencv_get_mat_image_format()
84 return image_format(CL_INTENSITY, CL_UNORM_INT8); in opencv_get_mat_image_format()
96 image_format format = image.get_format(); in opencv_create_mat_with_image2d()
129 const image_format format = opencv_get_mat_image_format(mat); in opencv_create_image2d_with_mat()
/third_party/boost/boost/compute/interop/opencv/
Dcore.hpp72 inline image_format opencv_get_mat_image_format(const cv::Mat &mat) in opencv_get_mat_image_format()
76 return image_format(CL_BGRA, CL_UNORM_INT8); in opencv_get_mat_image_format()
78 return image_format(CL_BGRA, CL_UNORM_INT16); in opencv_get_mat_image_format()
80 return image_format(CL_INTENSITY, CL_FLOAT); in opencv_get_mat_image_format()
82 return image_format(CL_RGBA, CL_FLOAT); in opencv_get_mat_image_format()
84 return image_format(CL_INTENSITY, CL_UNORM_INT8); in opencv_get_mat_image_format()
96 image_format format = image.get_format(); in opencv_create_mat_with_image2d()
129 const image_format format = opencv_get_mat_image_format(mat); in opencv_create_image2d_with_mat()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvavideoformat.c271 gst_va_video_surface_format_from_image_format (GstVideoFormat image_format, in gst_va_video_surface_format_from_image_format() argument
277 if (image_format == GST_VIDEO_FORMAT_UNKNOWN) in gst_va_video_surface_format_from_image_format()
283 image_chroma = gst_va_chroma_from_video_format (image_format); in gst_va_video_surface_format_from_image_format()
290 if (surface_format == image_format) in gst_va_video_surface_format_from_image_format()
298 find_gst_video_format_in_rgb32_map (VAImageFormat * image_format) in find_gst_video_format_in_rgb32_map() argument
304 if (va_format_is_same (&rgb32_format_map[i].va_format[j], image_format)) in find_gst_video_format_in_rgb32_map()
323 VAImageFormat *image_format; in fix_map() local
330 image_format = &args->image_formats[i]; in fix_map()
331 if (!va_format_is_rgb (image_format)) in fix_map()
333 format = find_gst_video_format_in_rgb32_map (image_format); in fix_map()
[all …]
/third_party/boost/libs/compute/test/extra/
Dtest_interop_opencv.cpp53 bcl::image_format(CL_BGRA, CL_UNORM_INT8) in BOOST_AUTO_TEST_CASE()
59 bcl::image_format(CL_INTENSITY, CL_FLOAT) in BOOST_AUTO_TEST_CASE()
65 bcl::image_format(CL_RGBA, CL_FLOAT) in BOOST_AUTO_TEST_CASE()
71 bcl::image_format(CL_BGRA, CL_UNORM_INT16) in BOOST_AUTO_TEST_CASE()
77 bcl::image_format(CL_INTENSITY, CL_UNORM_INT8) in BOOST_AUTO_TEST_CASE()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dcl_utils.cpp53 size_t GetElementSize(const cl_image_format &image_format) in GetElementSize() argument
56 switch (image_format.image_channel_data_type) in GetElementSize()
62 size = GetChannelCount(image_format.image_channel_order); in GetElementSize()
69 size = 2u * GetChannelCount(image_format.image_channel_order); in GetElementSize()
74 size = 4u * GetChannelCount(image_format.image_channel_order); in GetElementSize()
/third_party/boost/libs/compute/test/
Dtest_image2d.cpp27 const std::vector<compute::image_format> formats = in BOOST_AUTO_TEST_CASE()
36 boost::compute::image_format rgba8(CL_RGBA, CL_UNSIGNED_INT8); in BOOST_AUTO_TEST_CASE()
61 compute::image_format format(CL_RGBA, CL_UNSIGNED_INT8); in BOOST_AUTO_TEST_CASE()
86 compute::image_format format(CL_RGBA, CL_UNORM_INT8); in BOOST_AUTO_TEST_CASE()
128 compute::image_format format(CL_RGBA, CL_UNSIGNED_INT8); in BOOST_AUTO_TEST_CASE()
168 compute::image_format format(CL_RGBA, CL_UNSIGNED_INT8); in BOOST_AUTO_TEST_CASE()
Dtest_image1d.cpp26 const std::vector<compute::image_format> formats = in BOOST_AUTO_TEST_CASE()
36 compute::image_format format(CL_R, CL_UNSIGNED_INT8); in BOOST_AUTO_TEST_CASE()
/third_party/opencl-headers/
DREADME_zh.md60 cl_image_format image_format;
61 image_format.image_channel_order = CL_RGBA;
62 image_format.image_channel_data_type = CL_UNORM_INT8;
64 cl_mem input_image = clCreateImage(context_, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, image_format,…
/third_party/gstreamer/gstplugins_bad/ext/zxing/
Dgstzxing.cpp176 ImageFormat image_format; member
259 zxing->image_format = ImageFormat::None; in gst_zxing_init()
333 zxing->image_format = ImageFormat::XRGB; in gst_zxing_set_info()
341 zxing->image_format = ImageFormat::Lum; in gst_zxing_set_info()
344 zxing->image_format = ImageFormat::None; in gst_zxing_set_info()
368 auto result = ReadBarcode ({(unsigned char *)data, width, height, zxing->image_format}, hints); in gst_zxing_transform_frame_ip()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table.cc42 image_format()); in GlyphInfo()
114 image_format()); in GlyphInfo()
222 int32_t image_format, in Builder() argument
229 image_format_(image_format), in Builder()
263 image_format()); in SerializeIndexSubHeader()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table.cc42 image_format()); in GlyphInfo()
114 image_format()); in GlyphInfo()
222 int32_t image_format, in Builder() argument
229 image_format_(image_format), in Builder()
263 image_format()); in SerializeIndexSubHeader()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color-cbdt-table.hh411 unsigned int image_offset = 0, image_length = 0, image_format = 0; in get_extents() local
412 … if (!subtable_record->get_image_data (glyph, base, &image_offset, &image_length, &image_format)) in get_extents()
420 switch (image_format) in get_extents()
464 unsigned int image_offset = 0, image_length = 0, image_format = 0; in reference_png() local
465 … if (!subtable_record->get_image_data (glyph, base, &image_offset, &image_length, &image_format)) in reference_png()
473 switch (image_format) in reference_png()

1234567