Home
last modified time | relevance | path

Searched refs:img_format (Results 1 – 25 of 37) sorted by relevance

12

/external/OpenCL-CTS/test_conformance/basic/
Dtest_imagecopy.cpp111 cl_image_format img_format; in test_imagecopy() local
133 img_format.image_channel_order = CL_RGBA; in test_imagecopy()
134 img_format.image_channel_data_type = CL_UNORM_INT8; in test_imagecopy()
135 streams[0] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagecopy()
138 streams[1] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagecopy()
142 img_format.image_channel_order = CL_RGBA; in test_imagecopy()
143 img_format.image_channel_data_type = CL_UNORM_INT16; in test_imagecopy()
144 streams[2] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagecopy()
147 streams[3] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagecopy()
151 img_format.image_channel_order = CL_RGBA; in test_imagecopy()
[all …]
Dtest_imagecopy3d.cpp111 cl_image_format img_format; in test_imagecopy3d() local
136 img_format.image_channel_order = CL_RGBA; in test_imagecopy3d()
137 img_format.image_channel_data_type = CL_UNORM_INT8; in test_imagecopy3d()
138 …streams[0] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagecopy3d()
140 …streams[1] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagecopy3d()
143 img_format.image_channel_order = CL_RGBA; in test_imagecopy3d()
144 img_format.image_channel_data_type = CL_UNORM_INT16; in test_imagecopy3d()
145 …streams[2] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagecopy3d()
147 …streams[3] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagecopy3d()
150 img_format.image_channel_order = CL_RGBA; in test_imagecopy3d()
[all …]
Dtest_writeimage.cpp117 cl_image_format img_format; in test_writeimage() local
160 img_format.image_channel_order = CL_BGRA; in test_writeimage()
161 img_format.image_channel_data_type = CL_UNORM_INT8; in test_writeimage()
162 …streams[0] = clCreateImage2D(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_writeimage()
170 img_format.image_channel_order = CL_RGBA; in test_writeimage()
171 img_format.image_channel_data_type = CL_UNORM_INT8; in test_writeimage()
172 …streams[1] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_writeimage()
181 img_format.image_channel_order = CL_BGRA; in test_writeimage()
182 img_format.image_channel_data_type = CL_UNORM_INT8; in test_writeimage()
183 …streams[2] = clCreateImage2D(context, CL_MEM_WRITE_ONLY, &img_format, img_width, img_height, 0, NU… in test_writeimage()
[all …]
Dtest_imagerandomcopy.cpp123 cl_image_format img_format; in test_imagerandomcopy() local
147 img_format.image_channel_order = CL_RGBA; in test_imagerandomcopy()
148 img_format.image_channel_data_type = CL_UNORM_INT8; in test_imagerandomcopy()
149 streams[0] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagerandomcopy()
152 streams[1] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagerandomcopy()
156 img_format.image_channel_order = CL_RGBA; in test_imagerandomcopy()
157 img_format.image_channel_data_type = CL_UNORM_INT16; in test_imagerandomcopy()
158 streams[2] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagerandomcopy()
161 streams[3] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagerandomcopy()
165 img_format.image_channel_order = CL_RGBA; in test_imagerandomcopy()
[all …]
Dtest_hostptr.cpp104 cl_image_format img_format; in test_hostptr() local
152 img_format.image_channel_order = CL_RGBA; in test_hostptr()
153 img_format.image_channel_data_type = CL_UNORM_INT8; in test_hostptr()
155 create_image_2d(context, CL_MEM_USE_HOST_PTR, &img_format, in test_hostptr()
160 img_format.image_channel_order = CL_RGBA; in test_hostptr()
161 img_format.image_channel_data_type = CL_UNORM_INT8; in test_hostptr()
163 create_image_2d(context, CL_MEM_COPY_HOST_PTR, &img_format, in test_hostptr()
168 img_format.image_channel_order = CL_RGBA; in test_hostptr()
169 img_format.image_channel_data_type = CL_UNORM_INT8; in test_hostptr()
171 create_image_2d(context, CL_MEM_USE_HOST_PTR, &img_format, in test_hostptr()
[all …]
Dtest_multireadimagemultifmt.cpp117 cl_image_format img_format; in test_mri_multiple() local
137 img_format.image_channel_order = CL_RGBA; in test_mri_multiple()
138 img_format.image_channel_data_type = CL_UNORM_INT8; in test_mri_multiple()
139 streams[0] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_mri_multiple()
146 img_format.image_channel_order = CL_RGBA; in test_mri_multiple()
147 img_format.image_channel_data_type = CL_UNORM_INT16; in test_mri_multiple()
148 streams[1] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_mri_multiple()
155 img_format.image_channel_order = CL_RGBA; in test_mri_multiple()
156 img_format.image_channel_data_type = CL_FLOAT; in test_mri_multiple()
157 streams[2] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_mri_multiple()
Dtest_writeimage_int16.cpp82 cl_image_format img_format; in test_writeimage_int16() local
100 img_format.image_channel_order = CL_RGBA; in test_writeimage_int16()
101 img_format.image_channel_data_type = CL_UNORM_INT16; in test_writeimage_int16()
102 …streams[0] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_writeimage_int16()
109 img_format.image_channel_order = CL_RGBA; in test_writeimage_int16()
110 img_format.image_channel_data_type = CL_UNORM_INT16; in test_writeimage_int16()
111 …streams[1] = create_image_2d(context, CL_MEM_WRITE_ONLY, &img_format, img_width, img_height, 0, NU… in test_writeimage_int16()
Dtest_imagedim.cpp73 cl_image_format img_format; in test_imagedim_pow2() local
166 img_format.image_channel_order = CL_RGBA; in test_imagedim_pow2()
167 img_format.image_channel_data_type = CL_UNORM_INT8; in test_imagedim_pow2()
169 create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagedim_pow2()
179 img_format.image_channel_order = CL_RGBA; in test_imagedim_pow2()
180 img_format.image_channel_data_type = CL_UNORM_INT8; in test_imagedim_pow2()
182 create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagedim_pow2()
280 cl_image_format img_format; in test_imagedim_non_pow2() local
411 img_format.image_channel_order = CL_RGBA; in test_imagedim_non_pow2()
412 img_format.image_channel_data_type = CL_UNORM_INT8; in test_imagedim_non_pow2()
[all …]
Dtest_imagenpot.cpp81 cl_image_format img_format; in test_imagenpot() local
111 img_format.image_channel_order = CL_RGBA; in test_imagenpot()
112 img_format.image_channel_data_type = CL_UNORM_INT8; in test_imagenpot()
113 streams[0] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagenpot()
121 img_format.image_channel_order = CL_RGBA; in test_imagenpot()
122 img_format.image_channel_data_type = CL_UNORM_INT8; in test_imagenpot()
123 streams[1] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagenpot()
Dtest_readimage.cpp111 cl_image_format img_format; in test_readimage() local
159 img_format.image_channel_order = CL_BGRA; in test_readimage()
160 img_format.image_channel_data_type = CL_UNORM_INT8; in test_readimage()
161 …streams[0] = clCreateImage2D(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_readimage()
169 img_format.image_channel_order = CL_RGBA; in test_readimage()
170 img_format.image_channel_data_type = CL_UNORM_INT8; in test_readimage()
171 …streams[1] = clCreateImage2D(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_readimage()
Dtest_image_r8.cpp75 cl_image_format img_format; in test_image_r8() local
87 img_format.image_channel_order = CL_R; in test_image_r8()
88 img_format.image_channel_data_type = CL_UNSIGNED_INT8; in test_image_r8()
92 CL_MEM_OBJECT_IMAGE2D, &img_format)) in test_image_r8()
103 streams[0] = create_image_2d(context, CL_MEM_READ_ONLY, &img_format, in test_image_r8()
Dtest_image_multipass.cpp151 cl_image_format img_format; in test_image_multipass_integer_coord() local
163 img_format.image_channel_order = CL_RGBA; in test_image_multipass_integer_coord()
164 img_format.image_channel_data_type = CL_UNORM_INT8; in test_image_multipass_integer_coord()
177 …accum_streams[0] = create_image_2d(context, flags, &img_format, img_width, img_height, 0, NULL, NU… in test_image_multipass_integer_coord()
198 …accum_streams[1] = create_image_2d(context, flags, &img_format, img_width, img_height, 0, NULL, NU… in test_image_multipass_integer_coord()
234 …input_streams[i] = create_image_2d(context, flags, &img_format, img_width, img_height, 0, NULL, NU… in test_image_multipass_integer_coord()
405 cl_image_format img_format; in test_image_multipass_float_coord() local
417 img_format.image_channel_order = CL_RGBA; in test_image_multipass_float_coord()
418 img_format.image_channel_data_type = CL_UNORM_INT8; in test_image_multipass_float_coord()
430 …accum_streams[0] = create_image_2d(context, flags, &img_format, img_width, img_height, 0, NULL, NU… in test_image_multipass_float_coord()
[all …]
Dtest_writeimage_fp32.cpp78 cl_image_format img_format; in test_writeimage_fp32() local
97 img_format.image_channel_order = CL_RGBA; in test_writeimage_fp32()
98 img_format.image_channel_data_type = CL_FLOAT; in test_writeimage_fp32()
99 …streams[0] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_writeimage_fp32()
105 …streams[1] = create_image_2d(context, CL_MEM_WRITE_ONLY, &img_format, img_width, img_height, 0, NU… in test_writeimage_fp32()
Dtest_imagereadwrite.cpp194 cl_image_format img_format; in test_imagereadwrite() local
216 img_format.image_channel_order = CL_RGBA; in test_imagereadwrite()
217 img_format.image_channel_data_type = CL_UNORM_INT8; in test_imagereadwrite()
218 streams[0] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagereadwrite()
222 img_format.image_channel_order = CL_RGBA; in test_imagereadwrite()
223 img_format.image_channel_data_type = CL_UNORM_INT16; in test_imagereadwrite()
224 streams[1] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagereadwrite()
228 img_format.image_channel_order = CL_RGBA; in test_imagereadwrite()
229 img_format.image_channel_data_type = CL_FLOAT; in test_imagereadwrite()
230 streams[2] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagereadwrite()
Dtest_readimage3d.cpp121 const cl_image_format img_format; in test_readimage3d() member
154 …if (!is_image_format_required(formatsToTest[i].img_format, CL_MEM_READ_ONLY, CL_MEM_OBJECT_IMAGE3D… in test_readimage3d()
162 …streams[0] = create_image_3d(context, CL_MEM_READ_ONLY, &formatsToTest[i].img_format, img_width, i… in test_readimage3d()
196 GetChannelTypeName(formatsToTest[i].img_format.image_channel_data_type), in test_readimage3d()
197 GetChannelOrderName(formatsToTest[i].img_format.image_channel_order)); in test_readimage3d()
Dtest_readimage_fp32.cpp81 cl_image_format img_format; in test_readimage_fp32() local
100 img_format.image_channel_order = CL_RGBA; in test_readimage_fp32()
101 img_format.image_channel_data_type = CL_FLOAT; in test_readimage_fp32()
102 …streams[0] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_readimage_fp32()
Dtest_imagereadwrite3d.cpp202 cl_image_format img_format; in test_imagereadwrite3d() local
226 img_format.image_channel_order = CL_RGBA; in test_imagereadwrite3d()
227 img_format.image_channel_data_type = CL_UNORM_INT8; in test_imagereadwrite3d()
228 …streams[0] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagereadwrite3d()
231 img_format.image_channel_order = CL_RGBA; in test_imagereadwrite3d()
232 img_format.image_channel_data_type = CL_UNORM_INT16; in test_imagereadwrite3d()
233 …streams[1] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagereadwrite3d()
236 img_format.image_channel_order = CL_RGBA; in test_imagereadwrite3d()
237 img_format.image_channel_data_type = CL_FLOAT; in test_imagereadwrite3d()
238 …streams[2] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_imagereadwrite3d()
Dtest_readimage3d_fp32.cpp83 cl_image_format img_format; in test_readimage3d_fp32() local
102 img_format.image_channel_order = CL_RGBA; in test_readimage3d_fp32()
103 img_format.image_channel_data_type = CL_FLOAT; in test_readimage3d_fp32()
104 …streams[0] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_readimage3d_fp32()
Dtest_readimage3d_int16.cpp82 cl_image_format img_format; in test_readimage3d_int16() local
101 img_format.image_channel_order = CL_RGBA; in test_readimage3d_int16()
102 img_format.image_channel_data_type = CL_UNORM_INT16; in test_readimage3d_int16()
103 …streams[0] = create_image_3d(context, CL_MEM_READ_ONLY, &img_format, img_width, img_height, img_de… in test_readimage3d_int16()
Dtest_readimage_int16.cpp80 cl_image_format img_format; in test_readimage_int16() local
99 img_format.image_channel_order = CL_RGBA; in test_readimage_int16()
100 img_format.image_channel_data_type = CL_UNORM_INT16; in test_readimage_int16()
101 …streams[0] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_readimage_int16()
Dtest_multireadimageonefmt.cpp99 cl_image_format img_format; in test_mri_one() local
120 img_format.image_channel_order = CL_RGBA; in test_mri_one()
121 img_format.image_channel_data_type = CL_UNORM_INT8; in test_mri_one()
122 …streams[i] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_mri_one()
/external/mesa3d/src/amd/common/
Dgfx10_format_table.py47 return Object(img_format=hw_enum, flags=[])
133 self.img_format = enum_entry.name[11:]
136 code = self.img_format.split('_')
248 img_format=gfx10_fmt.img_format,
273 args = obj.img_format
Dgfx10_format_table.h35 unsigned img_format : 9; member
/external/mesa3d/src/mapi/glapi/gen/
DglX_proto_send.py574 … %s, %s, %s, %s, %s, %s, %s);' % (dim_str, width, height, depth, param.img_format, param.img_type,…
579 … %s, %s, %s, %s, %s, %s, %s);' % (dim_str, width, height, depth, param.img_format, param.img_type,…
614 if p.is_image() and (p.img_format != "GL_COLOR_INDEX" or p.img_type != "GL_BITMAP"):
696 if p.img_format != "GL_COLOR_INDEX" or p.img_type != "GL_BITMAP":
729 …ge(gc, 3, %s, %s, %s, %s, %s, %s_data(reply), %s);' % (w, h, d, output.img_format, output.img_type…
768 if img.img_format != "GL_COLOR_INDEX" or img.img_type != "GL_BITMAP":
789 …XReadPixelReply(dpy, gc, %u, 0, 0, 0, %s, %s, %s, GL_TRUE);" % (dim, p.img_format, p.img_type, p.n…
791 …ly(dpy, gc, %u, %s, %s, %s, %s, %s, %s, GL_FALSE);" % (dim, w, h, d, p.img_format, p.img_type, p.n…
/external/OpenCL-CTS/test_conformance/api/
Dtest_clone_kernel.cpp112 cl_image_format img_format; in test_image_arg_shallow_clone() local
114 img_format.image_channel_order = CL_RGBA; in test_image_arg_shallow_clone()
115 img_format.image_channel_data_type = CL_UNSIGNED_INT8; in test_image_arg_shallow_clone()
147 img = clCreateImage(context, CL_MEM_READ_WRITE, &img_format, &imageDesc, NULL, &error); in test_image_arg_shallow_clone()

12