Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
main_wrapper.h File Reference
#include <glib.h>
+ Include dependency graph for main_wrapper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 
int wmain (int argc, wchar_t *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)
Todo:
: test if file with replaced ext exists
Todo:
: add a callback to set the bpp without going through the config
Todo:
: have a parameter in command line to get the export presets

Definition at line 1904 of file ansel-chart/main.c.

References __OMP_PARALLEL_FOR__, _a_cpu_node_publishes_its_producer_and_no_further(), _a_cpu_node_still_makes_its_producer_publish(), _a_device_scaled_surface_is_painted_in_its_pixels(), _a_failed_flush_returns_1_and_writes_nothing(), _a_gpu_node_does_not_relay_its_consumers_requirement(), _a_gpu_node_nothing_reads_from_ram_caches_nothing(), _a_horizontal_line_paints_a_band_of_its_width(), _a_null_attr_mutex_is_recursive(), _a_path_in_a_pushed_group_lands_where_cairo_puts_it(), _a_pure_gpu_chain_nobody_reads_caches_nothing(), _a_relative_xdg_is_ignored(), _a_shape_with_no_geometry_rasterises_empty(), _a_shape_with_no_rasteriser_is_an_error(), _a_shared_group_is_cloned_before_its_opacity_changes(), _a_shed_lowers_the_budget_to_what_is_left(), _a_slash_in_the_feature_stays_one_level(), _a_snapshot_references_every_item_and_releases_them(), _a_surface_it_cannot_write_is_refused_and_the_path_kept(), _a_user_binding_wins_over_the_default(), _a_zero_default_cannot_tell_absent_from_cleared(), _an_absent_path_takes_the_app_default(), _an_emptied_entry_stays_cleared(), _an_empty_cache_is_not_the_cause(), _an_empty_xdg_is_ignored(), _an_explicit_attribute_is_honoured(), _an_rwlock_writer_may_re_enter(), _an_unbuildable_outline_is_never_reported_as_built(), _area_and_mask_always_write_their_out_parameters(), _borrowed_value_survives_being_replaced(), _brush_1074, _brush_1074b, _brush_1313, _brush_1352, _brush_1360, _brush_concave_tbl, _brush_cusp_tbl, _brush_hairpin_tbl, _brush_selfcross_tbl, _brush_zigzag_tbl, _budget_spent_by_a_line_in_use_is_counted_once(), _cleanup_nodes_releases_the_masks(), _copy_members_preserves_order_and_reports_the_total(), _copy_members_refuses_anything_that_is_not_a_group(), _cow_touch_clones_an_item_a_snapshot_is_holding(), _cow_touch_ignores_a_marker_naming_a_different_item(), _cow_touch_leaves_an_exclusively_owned_item_alone(), _cow_touch_repoints_the_pipe_marker_and_balances_every_reference(), _cpu_only_node_needs_its_input_on_host(), _dashes_leave_gaps_along_the_line(), _detail_output_with_its_mask_stands(), _detail_output_without_its_mask_goes(), _directory_failure_cases, _directory_failure_setup(), _directory_failure_teardown(), _each_own_input_reason_raises_upstream(), _each_own_output_reason_raises_own(), _every_call_answers_the_same(), _every_displaced_value_stays_readable(), _file_setup(), _file_teardown(), _find_holder_names_the_group_that_references_a_shape(), _flagged_line_goes_with_its_last_holder(), _flagged_line_goes_with_its_release(), _flat_caps_stop_at_the_ends(), _flush_replaces_the_file_rather_than_rewriting_it(), _flush_writes_what_was_set(), _form_info_describes_a_shape(), _form_info_leaves_out_untouched_on_failure(), _from_status_maps_zero_to_ok_and_everything_else_to_error(), _get_member_reads_a_row_by_identity(), _gpu_node_requires_nothing_on_its_own(), _granted_allocation_is_not_counted(), _held_line_survives_the_flush(), _history_end_is_clamped_to_the_list_at_snapshot_time(), _integration_cache, _integration_config, _integration_datadir, _integration_tmp, _inverse_toggles_and_leaves_the_operator_alone(), _nested_levels_are_built_one_at_a_time(), _null_upstream_pointer_is_allowed(), _only_the_displayed_output_is_cached_in_a_gpu_chain(), _other_output_stands(), _outline_step_override, _polygon_1788045925, _polygon_node(), _polygon_node_state(), _prepare_test_datadir(), _recovery_reaches_the_plan_without_a_jump(), _recovery_waits_under_the_mark(), _refusal_on_another_thread_is_not_counted_here(), _rekeyed_line_publishes_no_host_pixels(), _released_line_goes_with_the_flush(), _released_masks_go_with_the_flush(), _remove_tree(), _reported_budget_never_underflows_its_readers(), _request_larger_than_the_cache_is_counted_once(), _rewriting_the_same_value_retires_nothing(), _rewritten_line_publishes_its_host_pixels(), _run_brush_case(), _run_brush_case11_at(), _run_brush_case_at(), _run_case(), _run_polygon_form_at(), _saving_marks_defaults_as_comments_and_changes_as_lines(), _set_opacity_clamps_and_reports_what_it_stored(), _set_opacity_refuses_a_nan_rather_than_clamping_it(), _set_operation_rejects_what_it_cannot_do(), _set_operation_replaces_the_combine_op(), _setting_the_state_it_already_has_is_unchanged(), _setup(), _setup(), _setup(), _setup(), _setup(), _setup(), _setup(), _setup(), _setup(), _setup(), _setup(), _setup(), _sheds_a_share_of_what_is_held(), _starts_at_the_plan(), _teardown(), _teardown(), _teardown(), _teardown(), _teardown(), _teardown(), _teardown(), _teardown(), _teardown(), _teardown(), _teardown(), _teardown(), _test_copy_directory_failure_reports_only_its_cause(), _test_extension_contract(), _test_extension_utility_rejections(), _test_image_import_extension_boundaries(), _test_pattern_expansion_rejects_missing_patterns(), _test_public_copy_failure_reservation_forces_sibling_fallback(), _test_public_database_failure_reservation_forces_sibling_fallback(), _test_public_delete_source_requires_successful_copy(), _test_public_failures_consume_sequences_and_complete_once(), _test_public_fixed_destination_follows_all_policies(), _test_public_in_place_import_preserves_source(), _test_public_reserved_fallback_reaches_policy_without_third_expansion(), _test_public_sibling_collision_reexpands_once(), _test_public_siblings_keep_sequence_for_distinct_destinations(), _test_public_unrelated_collision_has_no_sibling_fallback(), _test_stream_comparison_boundaries(), _the_blocking_lock_also_re_enters(), _the_bright_pass_paints_over_the_dark_one(), _the_budget_never_falls_under_the_floor(), _the_default_is_not_a_shell_managed_temporary_folder(), _the_generation_advances_on_a_change_and_not_otherwise(), _the_matrix_scales_widths_and_positions(), _the_scope_keeps_its_levels(), _the_touched_record_resets(), _time_overlay_all(), _transient_params_serial_advances_with_every_publication(), _type_tokens_are_the_persisted_conf_key_spellings(), _typed_setters_retire_too(), _unflagged_line_outlives_its_release(), _without_rekey_the_previous_output_stays(), _xdg_cache_home_wins(), alloc_dummy(), ANSEL_TEST_BINARY_DIR, ANSEL_TEST_SOURCE_DIR, baseline_dir, baseline_missing, baseline_update, dt_masks_node_ellipse_t::border, bpp, cache_setup(), cache_teardown(), dt_masks_node_ellipse_t::center, dt_masks_anchor_gradient_t::center, dt_lut_t::chart, check_model_hash(), clamp(), dt_lut_t::colorchecker_encoded, compare_llhh(), darktable_t::control, d, darktable, darktable_last_commit_year, darktable_package_string, darktable_package_version, directory, dt_cache_cleanup(), dt_cache_contains(), dt_cache_init(), dt_cache_set_allocate_callback(), dt_cleanup(), DT_COLORSPACE_LAST, DT_COLORSPACE_NONE, dt_conf_get_bool(), DT_DATETIME_EXIF_LENGTH, dt_datetime_now_to_exif(), dt_dev_geometry_init(), dt_dev_geometry_set_processed_size(), dt_dev_geometry_set_raw_size(), DT_DEV_PIXELPIPE_EXPORT, dt_exif_xmp_read(), dt_film_get_image_ids(), dt_film_import(), dt_film_new(), dt_free, dt_free_gpointer(), dt_geometry_chain_authoritative(), dt_geometry_chain_new(), dt_geometry_chain_rebuild(), dt_gui_get_global(), dt_gui_gtk_run(), dt_history_get_items_as_string(), dt_image_cache_get(), dt_image_cache_read_release(), DT_IMAGE_CACHE_RELAXED, dt_image_cache_write_release(), dt_image_import(), dt_imageio_get_format_by_name(), dt_imageio_get_storage_by_name(), dt_init(), DT_INTENT_LAST, dt_l10n_disable_setlocale_early(), dt_lib_export_metadata_default_flags(), dt_loc_configdir(), dt_loc_datadir(), dt_loc_default_user_cache_dir(), dt_loc_init_datadir(), dt_loc_init_user_config_dir(), dt_loc_resolve_localedir(), DT_MASKS_CIRCLE, DT_MASKS_ELLIPSE, DT_MASKS_ELLIPSE_EQUIDISTANT, dt_masks_functions_circle, dt_masks_functions_ellipse, dt_masks_functions_gradient, dt_masks_functions_polygon, DT_MASKS_GRADIENT, DT_MASKS_GRADIENT_STATE_SIGMOIDAL, DT_MASKS_POLYGON, DT_MAX_OUTPUT_EXT_LENGTH, DT_MAX_PATH_FOR_PARAMS, DT_MAX_STYLE_NAME_LENGTH, DT_MIPMAP_0, DT_MIPMAP_2, DT_MIPMAP_7, dt_nn_bin_planes(), dt_nn_cl_create(), dt_nn_cl_destroy(), dt_nn_model_alignment(), dt_nn_model_bin(), dt_nn_model_coarse_in_channels(), dt_nn_model_coarse_out_channels(), dt_nn_model_free(), dt_nn_model_in_channels(), dt_nn_model_load(), dt_nn_model_out_channels(), dt_nn_unet_apply(), dt_nn_unet_apply_stage(), dt_nn_unet_apply_stage_cl(), dt_nn_unet_scratch_bytes(), dt_nn_upsample_nearest(), dt_opencl_alloc_device_buffer(), dt_opencl_read_buffer_from_device(), dt_opencl_release_device(), dt_opencl_release_mem_object(), dt_opencl_reserve_device_for_pipe(), dt_opencl_write_buffer_to_device(), dt_osx_prepare_environment(), DT_PATH_MAX, dt_pthread_mutex_destroy(), dt_pthread_mutex_init(), dt_pthread_rwlock_destroy(), dt_pthread_rwlock_init(), E, f, failures, FALSE, dt_export_metadata_t::flags, dt_masks_node_ellipse_t::flags, dt_masks_form_t::formid, free_chart(), free_image(), dt_masks_form_t::functions, g, generate_thumbnail_cache(), dt_develop_t::geometry_chain, get_icc_intent(), get_icc_type(), GETTEXT_PACKAGE, height, dt_develop_t::history_mutex, i, icc_intents(), icc_types(), dt_image_t::id, IMG_H, IMG_W, invert_histogram(), IS_NULL_PTR, k, dt_export_metadata_t::list, main_csv(), main_gui(), dt_develop_t::masks_mutex, max, MAX, max_abs_diff(), max_abs_diff(), dt_imageio_module_data_t::max_height, dt_imageio_module_data_t::max_width, median, MIN, dt_lut_t::model, model, dt_control_t::mutex, n, N, dt_masks_form_t::name, NN_PROGRAM, o, out, dt_lut_t::picked_source_patches, dt_masks_form_t::points, prepare_test_datadir(), dt_control_t::progress_system, r, dt_masks_node_ellipse_t::radius, read_f32(), read_f32(), read_histogram(), read_meta(), read_pfm(), dt_lut_t::reference, res, rgb, dt_masks_node_ellipse_t::rotation, run_style_scenarios(), show_usage(), size, dt_lut_t::source, dt_imageio_module_data_t::style, TEST, test_batch_is_thread_count_independent(), test_batch_matches_serial_erase(), test_batch_matches_serial_paint_capped(), test_batch_matches_serial_paint_dense(), test_batch_matches_serial_paint_sparse(), test_batch_matches_serial_sprinkles(), test_broken_variables, test_cached_entry_overwrites_a_row_written_behind_it(), directory_failure_fixture_t::test_case, test_change_representative_moves_an_unreadable_member(), test_channels_are_independent(), test_clamp_simd(), test_clear_drops_the_snapshot(), test_count_distinct_fields(), test_crawl_corrects_an_entry_the_row_already_agrees_with(), test_crawl_keeps_a_cached_entry_in_step(), test_crawl_reads_a_miscased_name_as_the_filesystem_does(), test_crawl_waits_for_a_held_entry(), test_default_group(), test_editing_the_entry_survives_the_next_rating(), test_escapes, test_field_by_field_read_crosses_publications(), test_film_roll_comes_back_with_its_last_image(), test_filmic_desaturate_v1(), test_filmic_spline(), test_find_version_for_params(), test_flag_among_multi_image(), test_foreach_active_module(), test_foreach_with_path_stops_when_asked(), test_full_paths(), test_gate_refuses_non_uniform(), test_get_pixel_norm(), test_group_leader_restores_membership(), test_group_member_rows(), test_handler_can_be_removed(), test_history_item_cycle(), test_id_range(), test_image_dir, test_kinds_stay_distinct(), test_linear_saturation(), test_list_all_carries_the_tree_row(), test_list_editable_excludes_shipped(), test_list_for_upgrade_returns_all_versions(), test_load_failure_leaves_the_image_untouched(), test_load_marks_an_absent_image_invalid(), test_log_tonemapping(), test_metadata_foreach_selected(), test_module_order_absent_vs_zero(), test_name(), test_no_handler_is_silent(), test_partial_undo_repoints_a_departed_leader(), test_pixel_rgb_norm_power(), test_real_paths, test_recursive_substitutions, test_refresh_exposes_new_hierarchical_tag(), test_remove_from_group_names_the_group_after_a_readable_member(), test_rename_leaves_an_unreadable_duplicate_behind(), test_report_batch_speedup(), test_round_trip_restores_every_table(), test_sample(), test_selection_lowest_id(), test_set_flags_masked_leaves_other_bits(), test_set_module_version_leaves_params_alone(), test_setters_leave_an_unreadable_image_alone(), test_simple_substitutions, test_single_field_setter_is_a_publication(), test_snapshot_never_crosses_publications(), test_successive_snapshots_do_not_collide(), test_tag_agreement(), test_tags_changed_fires_each_time(), test_testget_does_not_create_an_entry(), test_variables, test_whole_group_removed_and_fully_undone_keeps_one_group(), test_write_timestamp_is_64bit(), testdb_setup(), testdb_teardown(), time_overlay, time_overlay_frames, dt_lut_t::tonecurve_encoded, TR_DEBUG, TRUE, dt_masks_form_t::type, UNKNOWN_IMAGE, usage(), usage(), usage(), dt_masks_form_t::version, w1, w2, w3, width, write_pfm(), and x.

◆ wmain()

int wmain ( int  argc,
wchar_t *  argv[] 
)

Definition at line 29 of file main_wrapper.h.

References i, main(), and res.