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