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.

§Notable features

This crate is a completely safe implementation of HEVC/H.265 SPS NALU decoding.

§Examples

use scuffle_h265::SpsNALUnit;

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

§Status

This crate is currently under development and is not yet stable.

Unit tests are not yet fully implemented. Use at your own risk.

§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

Structs§

AspectRatioIdc
Interpretation of sample aspect ratio indicator.
BitStreamRestriction
Directly part of VuiParameters.
ChromaLocInfo
Directly part of VuiParameters.
CommonInf
Directly part of HrdParameters.
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.
ConstantFrameRate
Represents all possible values of the constant_frame_rate field in the HEVCDecoderConfigurationRecord.
DefaultDisplayWindow
Directly part of VuiParameters.
HEVCDecoderConfigurationRecord
HEVC Decoder Configuration Record.
HrdParameters
HRD parameters.
HrdParametersSubLayer
Directly part of HrdParameters.
LongTermRefPics
Directly part of SPS RBSP.
NALUnitType
NAL (Network Abstraction Layer) unit types as defined by ISO/IEC 23008-2 Table 7-1.
NaluArray
Nalu Array Structure
NumTemporalLayers
The number of temporal layers in the stream.
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.
Pcm
Directly part of SPS RBSP.
Profile
Profile part of the Profile, tier and level structure.
ProfileCompatibilityFlags
Represents the profile compatibility flags.
ProfileTierLevel
Profile, tier and level.
ScalingListData
Scaling list data.
ShortTermRefPicSets
Short-term reference picture set syntax.
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.
SpsNALUnit
Sequence parameter set contained in a NAL unit.
SpsRangeExtension
Sequence parameter set range extension.
SpsRbsp
Sequence parameter set RBSP.
SpsSccExtension
Sequence parameter set screen content coding extension.
SpsSccExtensionPaletteMode
Directly part of SpsSccExtension.
SubLayerHrdParameters
Sub-layer HRD parameters.
SubLayerOrderingInfo
Info for each sub-layer in the SPS.
SubPicHrdParams
Directly part of HrdParameters.
VideoFormat
ISO/IEC 23008-2 - Table E.2
VideoSignalType
Directly part of VuiParameters.
VuiParameters
VUI parameters.
VuiTimingInfo
Directly part of VuiParameters.

Enums§

AspectRatioInfo
Specifies the value of the sample aspect ratio of the luma samples.
ProfileAdditionalFlags
Additional profile flags that can be present in the profile.