Lines Matching refs:cl_desc
329 CLImageDesc cl_desc; in bind_buf_to_layer0() local
330 cl_desc.format.image_channel_data_type = CL_UNSIGNED_INT16; in bind_buf_to_layer0()
331 cl_desc.format.image_channel_order = CL_RGBA; in bind_buf_to_layer0()
334 cl_desc.width = in0_info.width / 8; in bind_buf_to_layer0()
335 cl_desc.height = in0_info.height / divider_vert[i_plane]; in bind_buf_to_layer0()
336 cl_desc.row_pitch = in0_info.strides[i_plane]; in bind_buf_to_layer0()
337 …this->gauss_image[i_plane][0] = convert_to_climage (context, input0, cl_desc, in0_info.offsets[i_p… in bind_buf_to_layer0()
340 cl_desc.width = in1_info.width / 8; in bind_buf_to_layer0()
341 cl_desc.height = in1_info.height / divider_vert[i_plane]; in bind_buf_to_layer0()
342 cl_desc.row_pitch = in1_info.strides[i_plane]; in bind_buf_to_layer0()
343 …this->gauss_image[i_plane][1] = convert_to_climage (context, input1, cl_desc, in1_info.offsets[i_p… in bind_buf_to_layer0()
346 cl_desc.width = out_info.width / 8; in bind_buf_to_layer0()
347 cl_desc.height = out_info.height / divider_vert[i_plane]; in bind_buf_to_layer0()
348 cl_desc.row_pitch = out_info.strides[i_plane]; in bind_buf_to_layer0()
351 …this->scale_image[i_plane] = convert_to_climage (context, output, cl_desc, out_info.offsets[i_plan… in bind_buf_to_layer0()
353 cl_desc.width = XCAM_ALIGN_UP (this->blend_width, XCAM_CL_BLENDER_ALIGNMENT_X) / 8; in bind_buf_to_layer0()
354 …cl_desc.height = XCAM_ALIGN_UP (this->blend_height, divider_vert[i_plane]) / divider_vert[i_plane]; in bind_buf_to_layer0()
355 uint32_t row_pitch = CLImage::calculate_pixel_bytes (cl_desc.format) * in bind_buf_to_layer0()
356 XCAM_ALIGN_UP (cl_desc.width, XCAM_CL_IMAGE_ALIGNMENT_X); in bind_buf_to_layer0()
357 uint32_t size = row_pitch * cl_desc.height; in bind_buf_to_layer0()
360 cl_desc.row_pitch = row_pitch; in bind_buf_to_layer0()
361 … this->blend_image[i_plane][ReconstructImageIndex] = new CLImage2D (context, cl_desc, 0, cl_buf); in bind_buf_to_layer0()
364 convert_to_climage (context, output, cl_desc, out_info.offsets[i_plane]); in bind_buf_to_layer0()
404 CLImageDesc cl_desc; in init_layer0() local
405 cl_desc.format.image_channel_data_type = CL_UNSIGNED_INT16; in init_layer0()
406 cl_desc.format.image_channel_order = CL_RGBA; in init_layer0()
408 cl_desc.width = this->blend_width / 8; in init_layer0()
409 …cl_desc.height = XCAM_ALIGN_UP (this->blend_height, divider_vert[i_plane]) / divider_vert[i_plane]; in init_layer0()
411 this->blend_image[i_plane][BlendImageIndex] = new CLImage2D (context, cl_desc); in init_layer0()
412 this->lap_image[i_plane][0] = new CLImage2D (context, cl_desc); in init_layer0()
413 this->lap_image[i_plane][1] = new CLImage2D (context, cl_desc); in init_layer0()
417 this->dump_gauss_resize[i_plane] = new CLImage2D (context, cl_desc); in init_layer0()
418 this->dump_original[i_plane][0] = new CLImage2D (context, cl_desc); in init_layer0()
419 this->dump_original[i_plane][1] = new CLImage2D (context, cl_desc); in init_layer0()
420 this->dump_final[i_plane] = new CLImage2D (context, cl_desc); in init_layer0()
650 CLImageDesc cl_desc; in init_seam_buffers() local
664 cl_desc.format.image_channel_data_type = CL_UNSIGNED_INT16; in init_seam_buffers()
665 cl_desc.format.image_channel_order = CL_RGBA; in init_seam_buffers()
666 cl_desc.width = _seam_width / 8; in init_seam_buffers()
667 cl_desc.height = _seam_height; in init_seam_buffers()
668 cl_desc.row_pitch = CLImage::calculate_pixel_bytes (cl_desc.format) * in init_seam_buffers()
669 XCAM_ALIGN_UP (cl_desc.width, XCAM_CL_IMAGE_ALIGNMENT_X); in init_seam_buffers()
671 uint32_t image_diff_size = cl_desc.row_pitch * _seam_height; in init_seam_buffers()
679 _image_diff = new CLImage2D (context, cl_desc, 0, cl_diff_buf); in init_seam_buffers()
700 cl_desc.format.image_channel_data_type = CL_UNSIGNED_INT16; in init_seam_buffers()
701 cl_desc.format.image_channel_order = CL_RGBA; in init_seam_buffers()
702 cl_desc.width = mask_width / 8; in init_seam_buffers()
703 cl_desc.height = mask_height; in init_seam_buffers()
704 cl_desc.row_pitch = CLImage::calculate_pixel_bytes (cl_desc.format) * in init_seam_buffers()
705 XCAM_ALIGN_UP (cl_desc.width, XCAM_CL_IMAGE_ALIGNMENT_X); in init_seam_buffers()
707 uint32_t mask_size = cl_desc.row_pitch * mask_height; in init_seam_buffers()
712 _pyramid_layers[i].seam_mask[CLSeamMaskTmp] = new CLImage2D (context, cl_desc, 0, cl_buf0); in init_seam_buffers()
713 … _pyramid_layers[i].seam_mask[CLSeamMaskCoeff] = new CLImage2D (context, cl_desc, 0, cl_buf1); in init_seam_buffers()