-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
h265 add docs and tests #371
base: main
Are you sure you want to change the base?
Conversation
Deploying scuffle-docrs with
|
Latest commit: |
e22a17e
|
Status: | ✅ Deploy successful! |
Preview URL: | https://4d079428.scuffle-docrs.pages.dev |
Branch Preview URL: | https://pr-371.scuffle-docrs.pages.dev |
/// 2 means the stream supports tile based parallel decoding. | ||
/// | ||
/// 3 means the stream supports entropy coding sync based parallel decoding. | ||
pub parallelism_type: u8, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we should create a nutype-enum for this field which has the fields u are talking about but also supports unknowns.
/// | ||
/// 3 means the stream supports entropy coding sync based parallel decoding. | ||
pub parallelism_type: u8, | ||
/// The `avg_frame_rate` as a u16. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how does this field work for non-integer framerates
/// | ||
/// 1 means the stream has a constant framerate. | ||
/// | ||
/// 2 means the representation of each temporal layer in the stream has a constant framerate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Likewise with the nutype-enum
pub nalus: Vec<Bytes>, | ||
} | ||
|
||
#[derive(Debug, Clone, PartialEq, Copy)] | ||
/// Nalu Type | ||
/// The Nalu Type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a nutype enum
pub constant_frame_rate: u8, | ||
/// The `num_temporal_layers` as a u8. This is the count of tepmoral layers or `sub-layer`s as defined in ISO/IEC 23008-2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should make nutype enums
a7127b6
to
2bab62b
Compare
2bab62b
to
262b697
Compare
Adds docs and updates tests to h265.
CLOUD-30