Skip to main content

Module crop_scale

Module crop_scale 

Source
Expand description

Crop and scale pipeline for video transcoding.

Provides aspect ratio preservation, pillarbox/letterbox padding, and smart crop detection for video scaling operations.

Structs§

CropScaleConfig
Configuration for a crop-and-scale operation.
Rect
Describes a rectangular region in a frame.
SmartCropDetector
Smart crop detector that finds areas of interest in a frame.

Enums§

AspectMode
How to handle aspect ratio mismatches during scaling.
PadAlignment
Where to place the image when padding.
PadType
The type of padding being applied.