Crate scuffle_h265

Source
Expand description

A pure Rust implementation of the HEVC/H.265 decoder.

This crate is designed to provide a simple and safe interface to decode HEVC/H.265 SPS NALUs.

See the changelog for a full release history.

§Feature flags

  • docs — Enables changelog and documentation of feature flags

§Examples

use scuffle_h265::SpsNALUnit;

let nalu = SpsNALUnit::parse(reader)?;
println!("Parsed SPS NALU: {:?}", nalu);

§License

This project is licensed under the MIT or Apache-2.0 license. You can choose between one of them if you use this work.

SPDX-License-Identifier: MIT OR Apache-2.0

Modules§

changelog
Changelogs generated by [scuffle_changelog]

Structs§

HEVCDecoderConfigurationRecord
HEVC Decoder Configuration Record.
NaluArray
Nalu Array Structure
AspectRatioIdc
Interpretation of sample aspect ratio indicator.
NALUnitType
NAL (Network Abstraction Layer) unit types as defined by ISO/IEC 23008-2 Table 7-1.
VideoFormat
ISO/IEC 23008-2 - Table E.2
ParallelismType
Indicates the type of parallelism that is used to meet the restrictions imposed by min_spatial_segmentation_idc when the value of min_spatial_segmentation_idc is greater than 0.
ConstantFrameRate
Represents all possible values of the constant_frame_rate field in the HEVCDecoderConfigurationRecord.
NumTemporalLayers
The number of temporal layers in the stream.
ProfileCompatibilityFlags
Represents the profile compatibility flags.
ConformanceWindow
Specifies the samples of the pictures in the CVS that are output from the decoding process, in terms of a rectangular region specified in picture coordinates for output.
LongTermRefPics
Directly part of SPS RBSP.
Pcm
Directly part of SPS RBSP.
ProfileTierLevel
Profile, tier and level.
Profile
Profile part of the Profile, tier and level structure.

Enums§

ProfileAdditionalFlags
Additional profile flags that can be present in the profile.

Structs§

ScalingListData
Scaling list data.
Sps3dExtension
Sequence parameter set 3D extension.
Sps3dExtensionD0
Directly part of SPS 3D extension.
Sps3dExtensionD1
Directly part of SPS 3D extension.
SpsMultilayerExtension
Sequence parameter set multilayer extension.
SpsRangeExtension
Sequence parameter set range extension.
SpsSccExtension
Sequence parameter set screen content coding extension.
SpsSccExtensionPaletteMode
Directly part of SpsSccExtension.
ShortTermRefPicSets
Short-term reference picture set syntax.
SubLayerOrderingInfo
Info for each sub-layer in the SPS.
HrdParameters
HRD parameters.
CommonInf
Directly part of HrdParameters.
SubPicHrdParams
Directly part of HrdParameters.
HrdParametersSubLayer
Directly part of HrdParameters.
SubLayerHrdParameters
Sub-layer HRD parameters.
VuiParameters
VUI parameters.

Enums§

AspectRatioInfo
Specifies the value of the sample aspect ratio of the luma samples.

Structs§

VideoSignalType
Directly part of VuiParameters.
ChromaLocInfo
Directly part of VuiParameters.
DefaultDisplayWindow
Directly part of VuiParameters.
VuiTimingInfo
Directly part of VuiParameters.
BitStreamRestriction
Directly part of VuiParameters.
SpsNALUnit
Sequence parameter set contained in a NAL unit.
SpsRbsp
Sequence parameter set RBSP.