Skip to main content

Crate hpvca

Crate hpvca 

Source

Structs§

Cicp
ColorMetadata
How the output color space is described in the file.
ContentLightLevel
HDR content light level (CTA-861.3 / ISOBMFF clli): the maximum content light level (MaxCLL) and maximum frame-average light level (MaxFALL), both in cd/m² (nits). Written as the ContentLightLevelBox.
EncodeConfig
Encoder configuration shared by all entry points.
Metadata
All optional metadata passed to the encoder, threaded through crate::EncodeConfig.
Yuv
Planar YCbCr image

Enums§

BitDepth
ChromaFormat
Chroma subsampling mode.
EncodeError
MatrixCoefficients
CICP matrix coefficients for RGB→YCbCr (ISO/IEC 23091-2 Table 4).
Orientation
Primaries
CICP color primaries (ISO/IEC 23091-2 Table 2).
TransferFunction
CICP transfer characteristics (ISO/IEC 23091-2 Table 3).

Functions§

encode_gray
Encode a packed 8-bit grayscale image to HEIC (monochrome, no chroma).
encode_gray10
Encode a 10-bit grayscale image to HEIC.
encode_gray12
Encode a 12-bit grayscale image to HEIC.
encode_gray_alpha
Encode a packed 8-bit grayscale + alpha image to HEIC. Alpha is discarded. Use encode_gray_alpha_with_alpha to preserve it.
encode_gray_alpha10
Encode a 10-bit grayscale + alpha image to HEIC. Alpha is discarded.
encode_gray_alpha12
Encode a 12-bit grayscale + alpha image to HEIC. Alpha is discarded.
encode_gray_alpha10_with_alpha
Encode a 10-bit grayscale + alpha image to HEIC with a separate alpha auxiliary image.
encode_gray_alpha12_with_alpha
Encode a 12-bit grayscale + alpha image to HEIC with a separate alpha auxiliary image.
encode_gray_alpha_with_alpha
Encode a packed 8-bit grayscale + alpha image to HEIC with a separate alpha auxiliary image per ISO/IEC 23008-12.
encode_rgb
Encode a packed 8-bit RGB image to HEIC.
encode_rgb10
Encode a 10-bit RGB image to HEIC.
encode_rgb12
Encode a 12-bit RGB image to HEIC.
encode_rgba
Encode a packed 8-bit RGBA image to HEIC. Alpha is discarded. Use encode_rgba_with_alpha to preserve it.
encode_rgba10
Encode a 10-bit RGBA image to HEIC. Alpha is discarded.
encode_rgba12
Encode a 12-bit RGBA image to HEIC. Alpha is discarded.
encode_rgba10_with_alpha
Encode a 10-bit RGBA image to HEIC with a separate alpha auxiliary image.
encode_rgba12_with_alpha
Encode a 12-bit RGBA image to HEIC with a separate alpha auxiliary image.
encode_rgba_with_alpha
Encode a packed 8-bit RGBA image to HEIC, writing alpha as a separate monochrome auxiliary image per ISO/IEC 23008-12.
encode_yuv
Encode pre-converted planar YCbCr directly, skipping the RGB→YCbCr step.
encode_yuv_with_alpha