Skip to content

fix(toxav): remove extra copy of video frame on encode #2900

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Green-Sky
Copy link
Member

@Green-Sky Green-Sky commented Mar 28, 2025

Tested and works, but there might be alignment issues and other stuff.

I think we don't have alignment issues. I took a quick look at libvpx and arm neon loads and stores are unaligned, the avx code uses unaligned loads and store


Profiling flame graph of tomato sending 1080p@30hz with the removed section circled:
tomato_Image_2025-03-28_10-19-48 630


This change is Reviewable

@github-actions github-actions bot added the bug Bug fix for the user, not a fix to a build script label Mar 28, 2025
@zoff99 zoff99 added the toxav Audio/video label Mar 30, 2025
@iphydf iphydf added this to the v0.2.22 milestone Apr 2, 2025
Tested and works, but there might be alignment issues and other stuff.
@Green-Sky Green-Sky force-pushed the toxav_remove_img_copy_encode branch from fa015c7 to 6cc2b37 Compare May 16, 2025 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug fix for the user, not a fix to a build script toxav Audio/video
Development

Successfully merging this pull request may close these issues.

3 participants