Skip to content
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

Add packet size functions and helpers #167

Merged
merged 20 commits into from
May 22, 2024
Merged

Add packet size functions and helpers #167

merged 20 commits into from
May 22, 2024

Conversation

LightArrowsEXE
Copy link
Member

No description provided.

Also adds a new helper function, `get_file_from_path_or_clip`, that reads the `idx_filepath` if `file=None`.

Furthermore, this also splits the function up into sub-functions for readability, and features some speed-ups.
The previous implementation would run two frameevals—once to set the packet sizes of the individual frame, and again to set scene-based ones. This is wasteful. Instead some code has been duplicated into the second frameeval and the first is skipped if Keyframes are passed.
get_packet_size: Docstring updates

get_packet_size: Rewrite `out_file`'s param's purpose in docstring
@LightArrowsEXE LightArrowsEXE merged commit a22e402 into master May 22, 2024
2 checks passed
@LightArrowsEXE LightArrowsEXE deleted the packets branch May 22, 2024 14:30
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.

None yet

1 participant