Home | History | Annotate | Download | only in ocl

Lines Matching refs:cl_desc

545     CLImageDesc cl_desc;
547 if (!video_info_2_cl_image_desc (video_info, cl_desc)) {
552 init_image_2d (context, cl_desc, flags);
557 const CLImageDesc &cl_desc,
563 init_image_2d (context, cl_desc, flags);
572 cl_image_desc cl_desc;
574 xcam_mem_clear (cl_desc);
575 cl_desc.image_type = CL_MEM_OBJECT_IMAGE2D;
576 cl_desc.image_width = desc.width;
577 cl_desc.image_height = desc.height;
578 cl_desc.image_depth = 1;
579 cl_desc.image_array_size = 0;
580 cl_desc.image_row_pitch = 0;
581 cl_desc.image_slice_pitch = 0;
582 cl_desc.num_mip_levels = 0;
583 cl_desc.num_samples = 0;
584 cl_desc.buffer = NULL;
587 cl_desc
589 cl_desc.image_row_pitch = calculate_pixel_bytes(desc.format) * desc.width;
591 XCAM_ASSERT (cl_desc.image_row_pitch);
592 cl_desc.buffer = _bind_buf->get_mem_id ();
593 XCAM_ASSERT (cl_desc.buffer);
596 mem_id = context->create_image (flags, desc.format, cl_desc);
613 CLImageDesc cl_desc;
617 if (!video_info_2_cl_image_desc (video_info, cl_desc)) {
621 XCAM_ASSERT (cl_desc.array_size >= 2);
625 cl_desc.height = XCAM_ALIGN_UP (cl_desc.height, 16);
627 cl_desc.array_size += extra_array_size;
629 init_image_2d_array (context, cl_desc, flags);
638 cl_image_desc cl_desc;
640 xcam_mem_clear (cl_desc);
641 cl_desc.image_type = CL_MEM_OBJECT_IMAGE2D_ARRAY;
642 cl_desc.image_width = desc.width;
643 cl_desc.image_height = desc.height;
644 cl_desc.image_depth = 1;
645 cl_desc.image_array_size = desc.array_size;
646 cl_desc.image_row_pitch = 0;
647 cl_desc.image_slice_pitch = 0;
648 cl_desc.num_mip_levels = 0;
649 cl_desc.num_samples = 0;
650 cl_desc.buffer = NULL;
652 mem_id = context->create_image (flags, desc.format, cl_desc);