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()):
reconstruct_planar_to_bufallocates a tightly packed interleavedPixelBufwith caller-chosenSampleLayout, deriving outputColorSpaceand propagatinghdr(),origin(), andorientation().reconstruct_planar_intowrites directly into a caller-provided stridedPixelViewMutwith zero heap allocation, validating that the destination’sColorSpacematches the source’s derived color interpretation (no silent color conversion) and propagatingsrc.orientation()ontodst.reconstruct_planar_f32allocates a full-rangeRGBF32/RGBAF32PixelBufwith caller-chosenPlanarReconstructionOptions.
Structs§
- Planar
Reconstruction Options - Configuration for planar reconstruction (
reconstruct_planar_to_buf,reconstruct_planar_into).
Enums§
- Chroma
Upsample - Chroma upsampling kernel for subsampled YCbCr planes (
4:2:0,4:2:2,4:4:0,4:1:1).
Traits§
- Planar
Convert Ext - 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(passNonewhen 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(passNonewhen 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(passNonewhen not needed).