Lines Matching refs:image_desc_dest
46 cl_image_desc image_desc_dest; in create_image_2d() local
47 image_desc_dest.image_type = CL_MEM_OBJECT_IMAGE2D; in create_image_2d()
48 image_desc_dest.image_width = image_width; in create_image_2d()
49 image_desc_dest.image_height = image_height; in create_image_2d()
50 image_desc_dest.image_depth = 0; // not usedfor 2d in create_image_2d()
51 image_desc_dest.image_array_size = 0; // not used for 2d in create_image_2d()
52 image_desc_dest.image_row_pitch = image_row_pitch; in create_image_2d()
53 image_desc_dest.image_slice_pitch = 0; in create_image_2d()
54 image_desc_dest.num_mip_levels = 0; in create_image_2d()
55 image_desc_dest.num_samples = 0; in create_image_2d()
56 image_desc_dest.mem_object = in create_image_2d()
59 mImage = clCreateImage(context, flags, image_format, &image_desc_dest, in create_image_2d()
94 cl_image_desc image_desc_dest; in create_image_2d_buffer() local
95 image_desc_dest.image_type = CL_MEM_OBJECT_IMAGE2D; in create_image_2d_buffer()
96 image_desc_dest.image_width = image_width; in create_image_2d_buffer()
97 image_desc_dest.image_height = image_height; in create_image_2d_buffer()
98 image_desc_dest.image_depth = 0; // not usedfor 2d in create_image_2d_buffer()
99 image_desc_dest.image_array_size = 0; // not used for 2d in create_image_2d_buffer()
100 image_desc_dest.image_row_pitch = image_row_pitch; in create_image_2d_buffer()
101 image_desc_dest.image_slice_pitch = 0; in create_image_2d_buffer()
102 image_desc_dest.num_mip_levels = 0; in create_image_2d_buffer()
103 image_desc_dest.num_samples = 0; in create_image_2d_buffer()
104 image_desc_dest.mem_object = buffer; in create_image_2d_buffer()
105 mImage = clCreateImage(context, flags, image_format, &image_desc_dest, NULL, in create_image_2d_buffer()