Skip to content

Conversation

@vibhoothi
Copy link
Collaborator

This commit adds Reference Frame from the FrameData(Input) to the packets, so we could take this for calculation, for instance, Metrics calculations can be independent of API changes and will be cleaner to implement with fewer API breakages in favour of 1.0 Future Release.

src/api/util.rs Outdated
/// The reconstruction of the shown frame.
pub rec: Option<Arc<Frame<T>>>,
/// The Reference Frame
pub ref_f: Option<Arc<Frame<T>>>,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

input or source might be a better name in the end.

To be discussed if Option<(Arc<Frame<T>>, Arc<Frame<T>>) wouldn't be more future proof even if it would have the problem of documenting what is what.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you referring to putting rec and source in one element? I'm not sure that that would be cleaner/easier to reason about.

@vibhoothi vibhoothi merged commit a4435d8 into xiph:master Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants