Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/allenk/GeminiWatermarkTool
/ functions
Functions
250 in github.com/allenk/GeminiWatermarkTool
⨍
Functions
250
◇
Types & classes
50
↓ 21 callers
Method
clear
src/gui/app/app_state.hpp:195
↓ 18 callers
Method
has_image
src/gui/app/app_state.hpp:192
↓ 16 callers
Method
reset
* Reset to initial state */
src/gui/app/app_state.hpp:390
↓ 14 callers
Function
filename_utf8
* Convert path filename to UTF-8 encoded std::string * Convenience function for common use case */
src/utils/path_formatter.hpp:67
↓ 12 callers
Method
is_batch_mode
src/gui/app/app_state.hpp:335
↓ 12 callers
Method
valid
src/gui/backend/render_backend.hpp:62
↓ 9 callers
Method
get_position
Get top-left position for a given image size
src/core/watermark_engine.hpp:73
↓ 9 callers
Function
get_watermark_config
src/core/watermark_engine.cpp:65
↓ 8 callers
Method
destroy_texture
src/gui/backend/d3d11_backend.cpp:630
↓ 7 callers
Method
has_processed
src/gui/app/app_state.hpp:193
↓ 6 callers
Method
can_save
* Check if can save */
src/gui/app/app_state.hpp:421
↓ 6 callers
Function
run_command_dialog
Run a shell command and capture its stdout as a file path
src/gui/widgets/main_window.cpp:66
↓ 6 callers
Function
to_utf8
* Convert filesystem path to UTF-8 encoded std::string * * This handles the C++20 char8_t issue where u8string() returns std::u8string * instead of
src/utils/path_formatter.hpp:55
↓ 6 callers
Method
variant
src/gui/app/app_state.hpp:238
↓ 5 callers
Method
detect_watermark
src/core/watermark_engine.cpp:331
↓ 5 callers
Function
remove_watermark_alpha_blend
src/core/blend_modes.cpp:33
↓ 5 callers
Method
total
src/gui/app/app_state.hpp:334
↓ 5 callers
Method
type
src/gui/backend/d3d11_backend.hpp:89
↓ 4 callers
Function
add_watermark_alpha_blend
src/core/blend_modes.cpp:110
↓ 4 callers
Function
calculate_alpha_map
src/core/blend_modes.cpp:6
↓ 4 callers
Method
exit_batch_mode
src/gui/app/app_controller.cpp:602
↓ 4 callers
Function
get_watermark_size
src/core/watermark_engine.cpp:96
↓ 4 callers
Method
is_complete
src/gui/app/app_state.hpp:336
↓ 4 callers
Method
remove_watermark
src/core/watermark_engine.cpp:229
↓ 4 callers
Method
set_size_mode
src/gui/app/app_controller.cpp:357
↓ 3 callers
Method
add_watermark
src/core/watermark_engine.cpp:273
↓ 3 callers
Method
can_process
* Check if ready to process */
src/gui/app/app_state.hpp:411
↓ 3 callers
Method
clear_snap
src/gui/app/app_state.hpp:129
↓ 3 callers
Method
denoise
src/core/ai_denoise.cpp:381
↓ 3 callers
Function
detect_dialog_tool
Detect available dialog tool (cached on first call)
src/gui/widgets/main_window.cpp:53
↓ 3 callers
Method
guided_detect
src/core/watermark_engine.cpp:640
↓ 3 callers
Method
inpaint_residual
src/core/watermark_engine.cpp:891
↓ 3 callers
Method
load_image
src/gui/app/app_controller.cpp:69
↓ 3 callers
Function
process_single
* Process a single file using the basic pipeline (backward-compatible). * No region/snap/denoise support — identical to original behavior. * * When
src/cli/cli_app.cpp:262
↓ 3 callers
Method
render
src/gui/widgets/main_window.cpp:270
↓ 3 callers
Method
set_custom_region
src/gui/app/app_controller.cpp:402
↓ 3 callers
Method
snap_to_watermark
src/gui/app/app_controller.cpp:470
↓ 3 callers
Function
to_string
src/gui/app/app_state.hpp:41
↓ 3 callers
Function
write_png
src/utils/image_io.cpp:28
↓ 2 callers
Method
begin_frame
src/gui/backend/d3d11_backend.cpp:381
↓ 2 callers
Method
create_texture
src/gui/backend/d3d11_backend.cpp:478
↓ 2 callers
Method
detect_custom_watermark
src/gui/app/app_controller.cpp:422
↓ 2 callers
Method
device_name
src/core/ai_denoise.cpp:377
↓ 2 callers
Method
effective_rect
* Get the effective rect for processing. * Uses snap result if available, otherwise uses user's region. */
src/gui/app/app_state.hpp:138
↓ 2 callers
Method
end_frame
src/gui/backend/d3d11_backend.cpp:401
↓ 2 callers
Method
get_imgui_texture_id
src/gui/backend/d3d11_backend.cpp:640
↓ 2 callers
Method
height
src/gui/app/app_state.hpp:169
↓ 2 callers
Method
imgui_new_frame
src/gui/backend/d3d11_backend.cpp:368
↓ 2 callers
Method
imgui_render
src/gui/backend/d3d11_backend.cpp:373
↓ 2 callers
Method
initialize
src/core/ai_denoise.cpp:325
↓ 2 callers
Function
is_backend_available
src/gui/backend/render_backend.cpp:71
↓ 2 callers
Method
is_ready
src/core/ai_denoise.cpp:369
↓ 2 callers
Method
last_error
* Get last error that occurred */
src/gui/backend/render_backend.hpp:246
↓ 2 callers
Method
on_resize
src/gui/backend/d3d11_backend.cpp:413
↓ 2 callers
Function
parse_banner_flag
* Parse --banner / --no-banner from argv before CLI11 parsing. * Returns: std::nullopt (use auto), true (force show), false (force hide) */
src/cli/cli_app.cpp:629
↓ 2 callers
Function
parse_region
* Parse a region string into a cv::Rect, resolving relative coordinates. * * Supported formats: * "x,y,w,h" Absolute coordinates * "
src/cli/cli_app.cpp:111
↓ 2 callers
Method
present
src/gui/backend/d3d11_backend.cpp:405
↓ 2 callers
Method
print
src/cli/cli_app.cpp:236
↓ 2 callers
Function
print_banner
src/cli/cli_app.cpp:84
↓ 2 callers
Function
process_image
src/core/watermark_engine.cpp:1113
↓ 2 callers
Function
process_single_advanced
* Process a single file with advanced pipeline (region/snap/denoise). * * Flow: * 1. Standard 3-stage detection * 2a. Detected → remove at sta
src/cli/cli_app.cpp:325
↓ 2 callers
Method
remove_watermark_custom
src/core/watermark_engine.cpp:543
↓ 2 callers
Method
reset_view
src/gui/app/app_state.hpp:259
↓ 2 callers
Function
run
src/cli/cli_app.cpp:801
↓ 2 callers
Method
save_image
src/gui/app/app_controller.cpp:119
↓ 2 callers
Method
set_remove_mode
src/gui/app/app_controller.cpp:329
↓ 2 callers
Function
shell_escape
Escape single quotes for safe shell argument interpolation
src/gui/widgets/main_window.cpp:42
↓ 2 callers
Function
should_show_banner
* Determine if banner should be shown. * Priority: --banner/--no-banner flag > TTY auto-detection */
src/cli/cli_app.cpp:642
↓ 2 callers
Method
width
src/gui/app/app_state.hpp:163
↓ 1 callers
Method
add_watermark_custom
src/core/watermark_engine.cpp:596
↓ 1 callers
Method
ai_denoise_device
* Get AI denoiser device description (e.g., "NVIDIA GeForce RTX 4090") */
src/gui/app/app_controller.hpp:231
↓ 1 callers
Method
ai_denoise_gpu
* Check if AI denoiser is using GPU */
src/gui/app/app_controller.hpp:238
↓ 1 callers
Function
apply_style
* Apply the application's custom ImGui style */
src/gui/resources/style.hpp:21
↓ 1 callers
Function
bin_data
src/core/ai_denoise_model.cpp:36
↓ 1 callers
Method
cancel_batch
src/gui/app/app_controller.cpp:688
↓ 1 callers
Method
close_image
src/gui/app/app_controller.cpp:161
↓ 1 callers
Function
create_backend
src/gui/backend/render_backend.cpp:23
↓ 1 callers
Function
detect_watermark_region
src/core/watermark_detector.cpp:52
↓ 1 callers
Function
encode_png
src/utils/image_io.cpp:16
↓ 1 callers
Method
enter_batch_mode
src/gui/app/app_controller.cpp:557
↓ 1 callers
Function
fallback_open_file_dialog
src/gui/widgets/main_window.cpp:88
↓ 1 callers
Function
fallback_pick_folder_dialog
src/gui/widgets/main_window.cpp:143
↓ 1 callers
Function
fallback_save_file_dialog
src/gui/widgets/main_window.cpp:112
↓ 1 callers
Function
filter_gui_flags
* Remove GUI-specific flags from argv for CLI processing */
src/main.cpp:114
↓ 1 callers
Method
get_batch_thumbnail_texture_id
src/gui/app/app_controller.cpp:934
↓ 1 callers
Function
get_fallback_watermark_region
src/core/watermark_detector.cpp:82
↓ 1 callers
Method
get_preview_texture_id
src/gui/app/app_controller.cpp:930
↓ 1 callers
Method
handle_event
src/gui/widgets/main_window.cpp:343
↓ 1 callers
Function
has_advanced_options
* Check if any advanced CLI options are present. * When true, use process_single_advanced instead of process_single. */
src/cli/cli_app.cpp:654
↓ 1 callers
Method
has_ai_denoise
* Check if AI denoiser is available and ready */
src/gui/app/app_controller.hpp:226
↓ 1 callers
Method
imgui_init
src/gui/backend/d3d11_backend.cpp:354
↓ 1 callers
Method
imgui_shutdown
src/gui/backend/d3d11_backend.cpp:363
↓ 1 callers
Method
init
src/gui/backend/d3d11_backend.cpp:98
↓ 1 callers
Method
init_cpu
src/core/ai_denoise.cpp:132
↓ 1 callers
Method
init_gpu
src/core/ai_denoise.cpp:115
↓ 1 callers
Method
invalidate_texture
src/gui/app/app_controller.cpp:926
↓ 1 callers
Method
is_gpu_enabled
src/core/ai_denoise.cpp:373
↓ 1 callers
Function
is_simple_mode
src/cli/cli_app.cpp:672
↓ 1 callers
Function
is_terminal
* Check if stdout is connected to a terminal (TTY). * Returns false when output is piped or redirected (e.g., AI agent calls). */
src/cli/cli_app.cpp:69
↓ 1 callers
Method
load_model
src/core/ai_denoise.cpp:95
next →
1–100 of 250, ranked by callers