Struct video_timecode::FrameRate2997 [] [src]

pub struct FrameRate2997;

Trait Implementations

impl Debug for FrameRate2997
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for FrameRate2997
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl FrameRate for FrameRate2997
[src]

FPS: u32 = 30

DROP_FRAME: bool = true

FPS_FLOAT: f32 = <Self>::FPS as f32 * 1000.0 / 1001.0

MAX_FRAMES: u32 = 86400 * <Self>::FPS - 144 * (18 * (<Self>::FPS / 30))

[src]

Given the elements of a timecode, calculate the frame offset from zero.

[src]

Given a frame number, calculate the fields for a time code.