本文整理汇总了C++中dt_control_job_init函数的典型用法代码示例。如果您正苦于以下问题:C++ dt_control_job_init函数的具体用法?C++ dt_control_job_init怎么用?C++ dt_control_job_init使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了dt_control_job_init函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: dt_dev_process_image_job_init
void dt_dev_process_image_job_init(dt_job_t *job, dt_develop_t *dev)
{
dt_control_job_init(job, "develop process image");
job->execute = &dt_dev_process_image_job_run;
dt_dev_process_t *t = (dt_dev_process_t *)job->param;
t->dev = dev;
}
示例2: dt_control_merge_hdr_job_init
void dt_control_merge_hdr_job_init(dt_job_t *job)
{
dt_control_job_init(job, "merge hdr image");
job->execute = &dt_control_merge_hdr_job_run;
dt_control_image_enumerator_t *t = (dt_control_image_enumerator_t *)job->param;
dt_control_image_enumerator_job_selected_init(t);
}
示例3: dt_control_export_job_init
void dt_control_export_job_init(dt_job_t *job)
{
dt_control_job_init(job, "export");
job->execute = &dt_control_export_job_run;
dt_control_image_enumerator_t *t = (dt_control_image_enumerator_t *)job->param;
dt_control_image_enumerator_job_init(t);
}
示例4: dt_control_write_sidecar_files_job_init
void dt_control_write_sidecar_files_job_init(dt_job_t *job)
{
dt_control_job_init(job, "write sidecar files");
job->execute = &dt_control_write_sidecar_files_job_run;
dt_control_image_enumerator_t *t = (dt_control_image_enumerator_t *)job->param;
dt_control_image_enumerator_job_selected_init(t);
}
示例5: dt_control_delete_images_job_init
void dt_control_delete_images_job_init(dt_job_t *job)
{
dt_control_job_init(job, "delete images");
job->execute = &dt_control_delete_images_job_run;
dt_control_image_enumerator_t *t = (dt_control_image_enumerator_t *)job->param;
dt_control_image_enumerator_job_init(t);
}
示例6: dt_control_copy_images_job_init
void dt_control_copy_images_job_init(dt_job_t *job)
{
dt_control_job_init(job, "copy images");
job->execute = &dt_control_copy_images_job_run;
dt_control_image_enumerator_t *t = (dt_control_image_enumerator_t *)job->param;
dt_control_image_enumerator_job_selected_init(t);
}
示例7: dt_captured_image_import_job_init
void dt_captured_image_import_job_init(dt_job_t *job,uint32_t filmid, const char *filename)
{
dt_control_job_init(job, "import tethered image");
job->execute = &dt_captured_image_import_job_run;
dt_captured_image_import_t *t = (dt_captured_image_import_t *)job->param;
t->filename = g_strdup(filename);
t->film_id = filmid;
}
示例8: dt_camera_import_backup_job_init
void dt_camera_import_backup_job_init(dt_job_t *job,const char *sourcefile, const char *destinationfile)
{
dt_control_job_init(job, "backup of imported image from camera");
job->execute = &dt_camera_import_backup_job_run;
dt_camera_import_backup_t *t = (dt_camera_import_backup_t *)job->param;
t->sourcefile=g_strdup(sourcefile);
t->destinationfile=g_strdup(destinationfile);
}
示例9: dt_control_flip_images_job_init
void dt_control_flip_images_job_init(dt_job_t *job, const int32_t cw)
{
dt_control_job_init(job, "flip images");
job->execute = &dt_control_flip_images_job_run;
dt_control_image_enumerator_t *t = (dt_control_image_enumerator_t *)job->param;
dt_control_image_enumerator_job_selected_init(t);
t->flag = cw;
}
示例10: dt_image_load_job_init
void dt_image_load_job_init(dt_job_t *job, int32_t id, dt_mipmap_size_t mip)
{
dt_control_job_init(job, "load image %d mip %d", id, mip);
job->execute = &dt_image_load_job_run;
dt_image_load_t *t = (dt_image_load_t *)job->param;
t->imgid = id;
t->mip = mip;
}
示例11: dt_control_match_similar_job_init
void dt_control_match_similar_job_init(dt_job_t *job, uint32_t imgid,dt_similarity_t *data)
{
dt_control_job_init(job, "match similar images");
job->execute = &dt_control_match_similar_job_run;
_control_match_similar_job_param_t *t = (_control_match_similar_job_param_t *)job->param;
t->imgid = imgid;
t->data = *data;
}
示例12: free_params_wrapper
static void free_params_wrapper (struct dt_imageio_module_storage_t *self, dt_imageio_module_data_t *data)
{
dt_job_t job;
dt_control_job_init(&job, "lua: destroy storage param");
job.execute = &free_param_wrapper_job;
free_param_wrapper_data *t = (free_param_wrapper_data*)job.param;
t->data = (lua_storage_t*)data;
dt_control_add_job(darktable.control, &job);
}
示例13: dt_film_import1_init
void dt_film_import1_init(dt_job_t *job, dt_film_t *film)
{
dt_control_job_init(job, "cache load raw images for preview");
job->execute = &dt_film_import1_run;
dt_film_import1_t *t = (dt_film_import1_t *)job->param;
t->film = film;
dt_pthread_mutex_lock(&film->images_mutex);
film->ref++;
dt_pthread_mutex_unlock(&film->images_mutex);
}
示例14: dt_camera_capture_job_init
void dt_camera_capture_job_init(dt_job_t *job,uint32_t filmid, uint32_t delay, uint32_t count, uint32_t brackets, uint32_t steps)
{
dt_control_job_init(job, "remote capture of image(s)");
job->execute = &dt_camera_capture_job_run;
dt_camera_capture_t *t = (dt_camera_capture_t *)job->param;
t->film_id=filmid;
t->delay=delay;
t->count=count;
t->brackets=brackets;
t->steps=steps;
}
示例15: dt_camera_get_previews_job_init
void dt_camera_get_previews_job_init(dt_job_t *job,dt_camera_t *camera,dt_camctl_listener_t *listener,uint32_t flags)
{
dt_control_job_init(job, "get camera previews job");
job->execute = &dt_camera_get_previews_job_run;
dt_camera_get_previews_t *t = (dt_camera_get_previews_t *)job->param;
t->listener=g_malloc(sizeof(dt_camctl_listener_t));
memcpy(t->listener,listener,sizeof(dt_camctl_listener_t));
t->camera=camera;
t->flags=flags;
}