Skip to main content

Module planar

Module planar 

Source
Expand description

Native multi-plane YCbCr / GBR / planar RGB / monochrome (PlanarView / PlanarBuf, including 8/10/12-bit BitPacking::P010 and U10_LSB, 4:4:4 / 4:2:2 / 4:2:0 / 4:4:0 / 4:1:1) → strided interleaved U8 / U16 / F32 (RGB, RGBA, BGR, BGRA, RGBX, BGRX, Gray, GrayAlpha).

All three entry points read source color interpretation identically from the PlanarView (color(), effective_range(), matrix_coefficients(), effective_alpha(), chroma_siting(), crop_origin(), hdr(), origin(), and orientation()):

Structs§

PlanarReconstructionOptions
Configuration for planar reconstruction (reconstruct_planar_to_buf, reconstruct_planar_into).

Enums§

ChromaUpsample
Chroma upsampling kernel for subsampled YCbCr planes (4:2:0, 4:2:2, 4:4:0, 4:1:1).

Traits§

PlanarConvertExt
Reconstruct interleaved pixels from a tagged PlanarView.

Functions§

reconstruct_planar_f32
Reconstruct an RGB or RGBA float buffer. See PlanarConvertExt::reconstruct_f32.
reconstruct_planar_f32_with_pulse
Reconstruct an RGB or RGBA float buffer with optional cooperative cancellation and row progress via pulse (pass None when not needed).
reconstruct_planar_into
Reconstruct into an existing view. See PlanarConvertExt::reconstruct_into.
reconstruct_planar_into_with_pulse
Reconstruct into an existing view with optional cooperative cancellation and row progress via pulse (pass None when not needed).
reconstruct_planar_to_buf
Reconstruct into a new interleaved buffer. See PlanarConvertExt::reconstruct_to_buf.
reconstruct_planar_to_buf_with_pulse
Reconstruct into a new interleaved buffer with optional cooperative cancellation and row progress via pulse (pass None when not needed).