![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Go to the source code of this file.
Macros | |
| #define | omp_get_max_threads() |
| #define | omp_get_thread_num() |
| #define | dt_omp_in_parallel() |
| #define | __OMP_PARALLEL__(...) |
| #define | __OMP_PARALLEL_FOR__(...) |
| #define | __OMP_PARALLEL_FOR_SIMD__(...) |
| #define | __OMP_FOR_SIMD__(...) |
| #define | __OMP_FOR__(...) |
| #define | __OMP_SIMD__(...) |
| #define | __OMP_DECLARE_SIMD__(...) |
| #define | __OMP_PARALLEL_FOR_CPP__(...) |
| #define | dt_omploop_sfence() |
Functions | |
| int | dt_get_num_openmp_threads (void) |
| Number of OpenMP threads the application decided to use. | |
| static int | dt_get_thread_num () |
| Index of the calling thread within its parallel region, 0 outside one. | |
| static void | dt_sfence () |
| #define __OMP_FOR__ | ( | ... | ) |
Definition at line 98 of file openmp.h.
Referenced by color_picker_helper_4ch_converted_parallel(), color_picker_helper_4ch_parallel(), color_picker_helper_bayer_parallel(), color_picker_helper_xtrans_parallel(), dt_colorprofiles_srgb_to_display_strided(), dt_develop_blendif_lab_make_mask(), dt_develop_blendif_rgb_hsl_make_mask(), dt_develop_blendif_rgb_jzczhz_make_mask(), modify_roi_in(), process(), process(), and process_random().
| #define __OMP_FOR_SIMD__ | ( | ... | ) |
Definition at line 97 of file openmp.h.
Referenced by _bin_pixels_waveform(), _bin_vectorscope(), _combine_masks_union(), _create_waveform_image(), _develop_blend_combine_masks(), _develop_blend_init_raster_mask(), _overlay_patch_row_rgba(), _uint8_to_float(), amaze_demosaic_RT(), compute_lut_correction(), dt_develop_blendif_lab_blend(), dt_develop_blendif_lab_make_mask(), dt_develop_blendif_raw_make_mask(), dt_develop_blendif_rgb_hsl_make_mask(), dt_develop_blendif_rgb_jzczhz_make_mask(), dt_image_distance_transform(), dt_masks_blur_9x9(), dt_masks_calc_detail_mask(), dt_masks_calc_rawdetail_mask(), dt_masks_extend_border(), dual_demosaic(), process(), process(), and process_visualize().
| #define __OMP_PARALLEL__ | ( | ... | ) |
Definition at line 94 of file openmp.h.
Referenced by color_picker_helper_4ch_converted_parallel(), color_picker_helper_4ch_parallel(), color_picker_helper_bayer_parallel(), color_picker_helper_xtrans_parallel(), dt_colorprofiles_srgb_to_display_strided(), dt_develop_blendif_lab_make_mask(), dt_develop_blendif_rgb_hsl_make_mask(), dt_develop_blendif_rgb_jzczhz_make_mask(), process(), and process_random().
| #define __OMP_PARALLEL_FOR__ | ( | ... | ) |
Definition at line 95 of file openmp.h.
Referenced by _aniso_chroma(), _aniso_iterate_obs(), _aniso_tensor(), _apply_lcms2(), _apply_matrix(), _apply_mono_grain_kernel(), _apply_target_curves(), _apply_tonecurves(), _biharmonic_dome(), _bin_pixels_histogram_in_roi(), _bin_pixels_waveform_in_roi(), _blend_layer_over_input(), _blend_layer_over_input_cl(), _brush_bounding_box_raw(), _brush_get_mask_roi(), _build_xtrans_bilinear_lookup(), _channel_display_false_color(), _circle_get_mask(), _circle_get_mask_roi(), _clamp_float_to_uint8(), _color_picker_convert_buffer(), _compute_laplacian_normalization(), _create_vectorscope_image(), _default_process_tiling_ptp(), _default_process_tiling_roi(), _develop_blend_process_copy_region(), _downsample_bayer_half_size(), _downsample_guided_laplacian_apply(), _downsample_guided_laplacian_fit(), _downsample_guided_laplacian_postfilter(), _downsample_xtrans_half_size(), _draw_graph_background(), _dt_focus_cdf22_wtf(), _ellipse_get_mask(), _ellipse_get_mask_roi(), _export_convert_output(), _export_final_buffer_to_uint16(), _extract_luminance_kernel(), _extract_rgb_kernels(), _fill_current_layer(), _finalize_color_grain_kernel(), _gradient_get_mask(), _gradient_get_mask_roi(), _gradient_get_points(), _group_get_mask(), _harmonic_reconstruct_cl(), _harmonic_reconstruct_regions(), _heal_add(), _heal_laplace_iteration(), _heal_sub(), _hl_count_clipped(), _import_get_thumbnail(), _interpolate_and_mask(), _interpolate_and_mask_passthrough(), _interpolate_and_mask_xtrans(), _interpolation_resample_1c_plain(), _interpolation_resample_plain(), _inverse_mask(), _joint_core(), _k_assemble(), _k_bilerp_add(), _k_bin16_mdv(), _k_bin_planes(), _k_blend_crop(), _k_residual(), _lap5(), _liquify_warp_points(), _polygon_get_mask(), _polygon_get_mask_roi(), _process(), _region_pde_solve(), _remosaic_and_replace(), _remosaic_and_replace_passthrough(), _remosaic_and_replace_xtrans(), _retouch_fill(), _selfdome(), _sp_pde_solve(), _swap_byteorder_float_to_uint8(), _transform_lab_to_rgb_matrix(), _transform_matrix_rgb(), _transform_rgba8_to_bgra8(), ambient_light(), apply_correction(), apply_curve(), apply_legacy_curve(), apply_toneequalizer(), auto_detect_WB(), autoset(), autoset(), backtransform(), backtransform_v2(), backtransform_Y0U0V0(), PermutohedralLattice< D, VD >::blur(), blur_2D_Bspline(), blur_2D_Bspline(), blur_horizontal_1ch(), blur_horizontal_2ch(), blur_horizontal_4ch(), blur_line(), blur_line(), blur_line_z(), blur_vertical_1ch(), box_max_1ch(), box_mean_vert_1ch_Kahan(), box_min_1ch(), build_round_stamp(), cairo_surface_create_from_xyz_data(), CCT_reverse_lookup(), color_smoothing(), commit_params(), commit_params(), compute_features(), compute_log_histogram_and_stats(), compute_ratios(), copy_image_with_border(), dark_channel(), decompose_2D_Bspline(), demosaic_ppg(), detail_enhance(), display_luminance_mask(), display_mask(), distort_backtransform(), distort_backtransform(), distort_mask(), distort_transform(), distort_transform(), dt_apply_printer_profile(), dt_bilateral_slice(), dt_bilateral_slice_to_output(), dt_bilateral_splat(), dt_box_mean_4ch_Kahan(), dt_cairo_sharpen_surface_rgb24(), dt_colorrings_fill_lut_local_field(), dt_colorrings_fill_lut_sparse_local_field(), dt_colorspaces_cygm_apply_coeffs_to_rgb(), dt_colorspaces_cygm_to_rgb(), dt_colorspaces_rgb_to_cygm(), dt_colorspaces_transform_rgba_float_image(), dt_control_merge_hdr_job_run(), dt_control_merge_hdr_process(), dt_develop_blendif_lab_blend(), dt_develop_blendif_raw_blend(), dt_develop_blendif_rgb_hsl_blend(), dt_develop_blendif_rgb_jzczhz_blend(), dt_focuspeaking(), dt_gaussian_blur(), dt_histogram_helper(), dt_histogram_worker(), dt_imageio_flip_buffers(), dt_imageio_flip_buffers_ui8_to_float(), dt_imageio_open_webp(), dt_iop_clip_and_zoom_demosaic_half_size_f(), dt_iop_clip_and_zoom_demosaic_passthrough_monochrome_f(), dt_iop_clip_and_zoom_demosaic_third_size_xtrans_f(), dt_iop_clip_and_zoom_mosaic_half_size(), dt_iop_clip_and_zoom_mosaic_half_size_f(), dt_iop_clip_and_zoom_mosaic_third_size_xtrans(), dt_iop_clip_and_zoom_mosaic_third_size_xtrans_f(), dt_iop_colorreconstruct_bilateral_slice(), dt_iop_colorreconstruct_bilateral_splat(), dt_iop_equalizer_iwtf(), dt_iop_equalizer_wtf(), dt_iop_flip_and_zoom_8(), dt_iop_tonecurve_draw(), dt_lut3d_pyramid_interp(), dt_lut3d_tetrahedral_interp(), dt_lut3d_trilinear_interp(), dt_masks_sample_grid_backtransform(), dt_masks_sample_grid_interpolate(), dwt_decompose_horiz(), dwt_decompose_vert(), dwt_denoise_horiz_1ch(), dwt_denoise_vert_1ch(), eaw_decompose(), eaw_dn_decompose(), eaw_synthesize(), edge_enhance(), edge_enhance_1d(), eigf_variance_analysis(), eigf_variance_analysis_no_mask(), expand_2D_Bspline(), filmic_agx(), filmic_chroma_v1(), filmic_chroma_v2_v3(), filmic_chroma_v4(), filmic_split_v1(), filmic_split_v2_v3(), filmic_split_v4(), filmic_v5(), gamma_correct(), gauss_blur(), gauss_expand(), gauss_expand(), get_manifolds(), get_xyz_sample_from_image(), green_equilibration_favg(), green_equilibration_lavg(), guide_laplacians(), guided_filter_tiling(), heat_PDE_diffusion(), heat_PDE_diffusion(), image_lab2rgb(), image_lab_to_xyz(), image_rgb2lab(), init_reconstruct(), inpaint_mask(), inpaint_noise(), interpolate_bilinear(), kmeans(), lin_interpolate(), ll_pad_input(), loop_switch(), main(), nlmeans_denoise(), normalize_manifolds(), pad_by_replication(), passthrough_color(), passthrough_monochrome(), pre_median_b(), precondition(), precondition_v2(), precondition_Y0U0V0(), process(), process(), process(), process(), process(), process(), process_bayer(), process_common_cleanup(), process_display(), process_drago(), process_filmic(), process_fusion(), process_gray(), process_hsl_v1(), process_hsl_v2(), process_inpaint_bayer(), process_inpaint_xtrans(), process_lch_bayer(), process_lch_xtrans(), process_reinhard(), process_rgb(), process_v1(), process_v3(), process_xtrans(), rcd_ppg_border(), reduce_2D_Bspline(), reduce_artifacts(), restore_ratios(), rgb2grey256(), rt_adjust_levels(), rt_copy_image_masked(), rt_copy_in_to_out(), rt_copy_mask_to_alpha(), rt_fill_scaled_mask(), rt_process_stats(), transition_map(), variance_analyse(), vng_interpolate(), wavelet_denoise(), wavelet_denoise_xtrans(), wavelets_reconstruct_ratios(), wavelets_reconstruct_RGB(), xtrans_fdc_interpolate(), and xtrans_markesteijn_interpolate().
| #define __OMP_PARALLEL_FOR_CPP__ | ( | ... | ) |
Definition at line 102 of file openmp.h.
Referenced by dt_imageio_open_rawspeed_sraw(), and process().
| #define __OMP_PARALLEL_FOR_SIMD__ | ( | ... | ) |
Definition at line 96 of file openmp.h.
Referenced by _apply_matrix(), _brush_outline_transform(), _channel_display_false_color(), _channel_display_monochrome(), _circle_get_mask(), _copy_output(), _develop_blend_process_mask_tone_curve(), _fill_mask(), _find_max_histogram(), _gradient_get_mask(), _gradient_get_mask_roi(), _group_get_mask_roi(), _hl_count_clipped(), _mask_display(), _points_to_transform(), _points_to_transform(), _polygon_get_pts_border(), _refine_with_detail_mask(), _refine_with_detail_mask_cl(), _transform_rgb_to_lab_matrix(), apply_linear_blending(), apply_linear_blending_w_geomean(), build_gui_kernel(), build_mask(), commit_params(), compute_channels_factors(), compute_curve_lut(), compute_norm(), create_gauss_kernel(), create_lens_kernel(), create_motion_kernel(), distort_backtransform(), distort_backtransform(), distort_transform(), dt_develop_blendif_lab_make_mask(), dt_develop_blendif_rgb_hsl_make_mask(), dt_develop_blendif_rgb_jzczhz_make_mask(), dt_draw_curve_smaple_values(), dt_focuspeaking(), dt_imageio_open_avif(), dt_imageio_open_heif(), dt_iop_tonecurve_draw(), dt_masks_calc_rawdetail_mask(), dt_masks_extend_border(), dt_masks_points_shift_to_source(), dt_simd_memcpy(), eigf_blending(), eigf_blending_no_mask(), eigf_variance_analysis(), eigf_variance_analysis_no_mask(), get_manifolds(), init_kernel(), init_reconstruct(), make_noise(), mask_clipped_pixels(), normalize(), pixelpipe_process_on_CPU(), process(), process(), process(), process(), process_cl(), process_clip(), quantize(), wavelets_detail_level(), and write_image().
| #define __OMP_SIMD__ | ( | ... | ) |
Definition at line 99 of file openmp.h.
Referenced by __OMP_DECLARE_SIMD__(), _apply_lcms2(), _circle_get_mask(), _clamp_display_rgb_array_simd(), _diffuse_error(), apply_toneequalizer(), build_interpolation_matrix(), clipnan_pixel(), copy_pixels(), dt_bilateral_splat(), dt_fast_expf_4wide(), dwt_denoise_horiz_1ch(), dwt_denoise_vert_1ch(), eaw_synthesize(), get_channels_factors(), load_add_16wide(), load_add_16wide_Kahan(), load_add_Nwide_Kahan(), load_update_max_16wide(), load_update_min_16wide(), nearest_color(), pixel_correction(), process(), process(), process_floyd_steinberg(), process_random(), process_wavelets(), process_wavelets(), set_16wide(), set_pixels(), store_16wide(), store_scaled_16wide(), store_scaled_Nwide(), sub_16wide(), sub_16wide_Kahan(), sub_Nwide_Kahan(), update_max_16wide(), update_min_16wide(), wavelets_reconstruct_ratios(), wavelets_reconstruct_RGB(), window_max(), and window_min().
| #define dt_omp_in_parallel | ( | ) |
| #define dt_omploop_sfence | ( | ) |
Definition at line 164 of file openmp.h.
Referenced by _apply_matrix(), _downsample_guided_laplacian_postfilter(), _interpolation_resample_plain(), _transform_lab_to_rgb_matrix(), _transform_matrix_rgb(), apply_toneequalizer(), compute_ratios(), display_luminance_mask(), display_mask(), filmic_agx(), filmic_chroma_v4(), filmic_split_v4(), filmic_v5(), heat_PDE_diffusion(), loop_switch(), process(), process(), process(), and restore_ratios().
| #define omp_get_max_threads | ( | ) |
Definition at line 90 of file openmp.h.
Referenced by _worker_batch_min_size(), color_picker_helper_4ch_parallel(), color_picker_helper_xtrans_parallel(), dt_histogram_worker(), dt_init(), process(), and test_batch_is_thread_count_independent().
| #define omp_get_thread_num | ( | ) |
Definition at line 91 of file openmp.h.
Referenced by dt_get_thread_num(), dt_histogram_worker(), and process().
| int dt_get_num_openmp_threads | ( | void | ) |
Number of OpenMP threads the application decided to use.
This is the APPLICATION's budget, not omp_get_max_threads(): it is seeded from that value and then overridden by the -t command-line option (clamped to 1..100), so the two disagree whenever the user asked for a specific count. Size per-thread buffers with this one, index them with dt_get_thread_num().
Number of OpenMP threads the application decided to use. DECLARED here so low-level compute code can size per-thread buffers without importing darktable.h; BOUND by the orchestrator (darktable.c).
Definition at line 521 of file darktable.c.
References darktable.
Referenced by _circle_get_mask(), _circle_get_mask_roi(), _gradient_get_points(), color_picker_helper_4ch_converted_parallel(), color_picker_helper_bayer_parallel(), dt_bilateral_init(), dt_bilateral_memory_use(), dt_bilateral_singlebuffer_size(), dt_bilateral_splat(), dt_colorprofiles_srgb_to_display_strided(), dt_control_work(), dt_control_work_res(), dt_imageio_open_exr(), dt_imageio_open_j2k(), dt_iop_alloc_image_buffers(), dt_iop_image_fill(), dt_pixelpipe_cache_alloc_perthread_impl(), dt_pixelpipe_cache_calloc_perthread_impl(), dwt_wavelet_decompose(), nlmeans_denoise(), process(), process_random(), reconstruct_highlights(), tiling_callback(), wavelet_denoise_xtrans(), write_image(), and write_image().
|
inlinestatic |
Index of the calling thread within its parallel region, 0 outside one.
Definition at line 129 of file openmp.h.
References omp_get_thread_num.
Referenced by blur_2D_Bspline(), color_picker_helper_bayer_parallel(), color_picker_helper_xtrans_parallel(), dt_colorprofiles_srgb_to_display_strided(), dt_points_get(), dwt_decompose_horiz(), process(), and process_random().