pub struct SegmentResult {
pub start: Duration,
pub end: Duration,
pub crf: i32,
pub bitrate: f64,
pub vmaf: f64,
pub complexity: f64,
pub iterations: i32,
}Expand description
Adaptation result for a single segment.
Fields§
§start: DurationStart timestamp of the segment within the source.
end: DurationEnd timestamp of the segment within the source.
crf: i32Final CRF selected for the segment.
bitrate: f64Measured bitrate at the selected CRF.
vmaf: f64Measured VMAF at the selected CRF.
complexity: f64Complexity score of the segment from the complexity analysis.
iterations: i32Number of search iterations performed for the segment.
Trait Implementations§
Source§impl Clone for SegmentResult
impl Clone for SegmentResult
Source§fn clone(&self) -> SegmentResult
fn clone(&self) -> SegmentResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SegmentResult
impl Debug for SegmentResult
Source§impl<'de> Deserialize<'de> for SegmentResult
impl<'de> Deserialize<'de> for SegmentResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SegmentResult
impl RefUnwindSafe for SegmentResult
impl Send for SegmentResult
impl Sync for SegmentResult
impl Unpin for SegmentResult
impl UnsafeUnpin for SegmentResult
impl UnwindSafe for SegmentResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more