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§
- Aspect
Ratio Idc - Interpretation of sample aspect ratio indicator.
- BitStream
Restriction - Directly part of
VuiParameters. - Chroma
LocInfo - Directly part of
VuiParameters. - Common
Inf - Directly part of
HrdParameters. - Conformance
Window - 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.
- Constant
Frame Rate - Represents all possible values of the
constant_frame_ratefield in theHEVCDecoderConfigurationRecord. - Default
Display Window - Directly part of
VuiParameters. - HEVC
Decoder Configuration Record - HEVC Decoder Configuration Record.
- HrdParameters
- HRD parameters.
- HrdParameters
SubLayer - Directly part of
HrdParameters. - Long
Term RefPics - Directly part of SPS RBSP.
- NALUnit
Type - NAL (Network Abstraction Layer) unit types as defined by ISO/IEC 23008-2 Table 7-1.
- Nalu
Array - Nalu Array Structure
- NumTemporal
Layers - The number of temporal layers in the stream.
- Parallelism
Type - Indicates the type of parallelism that is used to meet the restrictions imposed
by
min_spatial_segmentation_idcwhen the value ofmin_spatial_segmentation_idcis greater than 0. - Pcm
- Directly part of SPS RBSP.
- Profile
- Profile part of the Profile, tier and level structure.
- Profile
Compatibility Flags - Represents the profile compatibility flags.
- Profile
Tier Level - Profile, tier and level.
- Scaling
List Data - Scaling list data.
- Short
Term RefPic Sets - Short-term reference picture set syntax.
- Sps3d
Extension - Sequence parameter set 3D extension.
- Sps3d
Extension D0 - Directly part of SPS 3D extension.
- Sps3d
Extension D1 - Directly part of SPS 3D extension.
- SpsMultilayer
Extension - Sequence parameter set multilayer extension.
- SpsNAL
Unit - Sequence parameter set contained in a NAL unit.
- SpsRange
Extension - Sequence parameter set range extension.
- SpsRbsp
- Sequence parameter set RBSP.
- SpsScc
Extension - Sequence parameter set screen content coding extension.
- SpsScc
Extension Palette Mode - Directly part of
SpsSccExtension. - SubLayer
HrdParameters - Sub-layer HRD parameters.
- SubLayer
Ordering Info - Info for each sub-layer in the SPS.
- SubPic
HrdParams - Directly part of
HrdParameters. - Video
Format - ISO/IEC 23008-2 - Table E.2
- Video
Signal Type - Directly part of
VuiParameters. - VuiParameters
- VUI parameters.
- VuiTiming
Info - Directly part of
VuiParameters.
Enums§
- Aspect
Ratio Info - Specifies the value of the sample aspect ratio of the luma samples.
- Profile
Additional Flags - Additional profile flags that can be present in the profile.