Skip to main content

Module tile_plan

Module tile_plan 

Source
Expand description

SR1 — plan overlapping tiles for bounded SR (VRAM/RAM-aware).

Structs§

TilePolicy
Tiling policy for classical and learned SR backends.
TileRect
Axis-aligned tile on the input image (pre-scale).

Constants§

DEFAULT_OVERLAP
Default overlap (pixels on input side).
DEFAULT_TILE
Default edge-friendly tile size (pixels on input side).

Functions§

estimate_tile_count
How many tiles would be planned.
plan_tiles
Plan a grid of overlapping tiles covering [0,width) × [0,height).