Lines Matching refs:cl_desc
243 CLImageDesc cl_desc; in prepare_parameters() local
244 cl_desc.format.image_channel_data_type = CL_UNORM_INT8; in prepare_parameters()
245 cl_desc.format.image_channel_order = CL_R; in prepare_parameters()
246 cl_desc.width = input_image_w; in prepare_parameters()
247 cl_desc.height = input_image_h; in prepare_parameters()
248 cl_desc.row_pitch = in_info.strides[NV12PlaneYIdx]; in prepare_parameters()
249 …_input[NV12PlaneYIdx] = convert_to_climage (context, input, cl_desc, in_info.offsets[NV12PlaneYIdx… in prepare_parameters()
251 cl_desc.format.image_channel_data_type = CL_UNORM_INT8; in prepare_parameters()
252 cl_desc.format.image_channel_order = CL_RG; in prepare_parameters()
253 cl_desc.width = input_image_w / 2; in prepare_parameters()
254 cl_desc.height = input_image_h / 2; in prepare_parameters()
255 cl_desc.row_pitch = in_info.strides[NV12PlaneUVIdx]; in prepare_parameters()
256 …_input[NV12PlaneUVIdx] = convert_to_climage (context, input, cl_desc, in_info.offsets[NV12PlaneUVI… in prepare_parameters()
259 cl_desc.format.image_channel_data_type = CL_UNSIGNED_INT16; in prepare_parameters()
260 cl_desc.format.image_channel_order = CL_RGBA; in prepare_parameters()
261 cl_desc.width = XCAM_ALIGN_DOWN (out_info.width, 8) / 8; //CL_RGBA * CL_UNSIGNED_INT16 = 8 in prepare_parameters()
262 cl_desc.height = XCAM_ALIGN_DOWN (out_info.height, 2); in prepare_parameters()
263 cl_desc.row_pitch = out_info.strides[NV12PlaneYIdx]; in prepare_parameters()
264 …_output[NV12PlaneYIdx] = convert_to_climage (context, output, cl_desc, out_info.offsets[NV12PlaneY… in prepare_parameters()
265 cl_desc.height /= 2; in prepare_parameters()
266 cl_desc.row_pitch = out_info.strides[NV12PlaneUVIdx]; in prepare_parameters()
267 …_output[NV12PlaneUVIdx] = convert_to_climage (context, output, cl_desc, out_info.offsets[NV12Plane… in prepare_parameters()
269 cl_desc.format.image_channel_data_type = CL_UNSIGNED_INT8; in prepare_parameters()
270 cl_desc.format.image_channel_order = CL_RGBA; in prepare_parameters()
271 cl_desc.width = XCAM_ALIGN_DOWN (out_info.width, 4) / 4; //CL_RGBA * CL_UNSIGNED_INT8 = 4 in prepare_parameters()
272 cl_desc.height = XCAM_ALIGN_DOWN (out_info.height, 2); in prepare_parameters()
273 cl_desc.row_pitch = out_info.strides[NV12PlaneYIdx]; in prepare_parameters()
274 …_output[NV12PlaneYIdx] = convert_to_climage (context, output, cl_desc, out_info.offsets[NV12PlaneY… in prepare_parameters()
275 cl_desc.height /= 2; in prepare_parameters()
276 cl_desc.row_pitch = out_info.strides[NV12PlaneUVIdx]; in prepare_parameters()
277 …_output[NV12PlaneUVIdx] = convert_to_climage (context, output, cl_desc, out_info.offsets[NV12Plane… in prepare_parameters()
300 CLImageDesc cl_desc; in create_cl_image() local
301 cl_desc.format.image_channel_data_type = type; in create_cl_image()
302 cl_desc.format.image_channel_order = order; in create_cl_image()
303 cl_desc.width = width; in create_cl_image()
304 cl_desc.height = height; in create_cl_image()
308 SmartPtr<CLImage> image = new CLImage2D (context, cl_desc); in create_cl_image()