Repository navigation
feat(macos): deliver the decoded CVPixelBuffer instead of copying it to RAM #53
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
Open
ShawnLiann
wants to merge
18
commits into
rustdesk-org:master
Choose a base branch
from
ShawnLiann:pr/macos-pixelbuffer-v2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
11ba7ad
feat(macos): deliver the decoded CVPixelBuffer instead of transferrin…
17774af
feat(macos): add Decoder::last_frames()
06178e7
test(macos): pin the per-call output ordering of the GPU-frame path
95b7489
fix(ffmpeg_ram): let the app refuse GPU frames before decode drops th…
4aaed9f
fix(ffmpeg_ram): make GPU-frame delivery opt-in and reject by default
cdae54c
fix(ffmpeg_ram): keep no `&mut DecodeOutput` alive across the FFI call
d7db609
fix(ffmpeg_ram): declare the pixel-buffer callback as a function poin…
7140e16
fix(ffmpeg_ram): validate the planes before the decode callback reads…
94d44e6
fix(ffmpeg_ram): declare the pixel-buffer callback type on every plat…
6e56e91
test(ffmpeg_ram): move the transaction tests out of decode.rs
ShawnLiann 4d55fc3
refactor(ffmpeg_ram)!: decide GPU delivery per call and return one De…
ShawnLiann 7a22ccc
refactor(ffmpeg_ram): keep decode() as it was and make the GPU decisi…
ShawnLiann b02ccaa
fix(ffmpeg_ram): drop a GPU frame that a failed call had already acce…
ShawnLiann bd6f339
fix(ffmpeg_ram): keep decode() returning the mutable frame vector
ShawnLiann a8782a3
fix(ffmpeg_ram): reject an unknown pixel format before building the f…
ShawnLiann c360325
style(ffmpeg_ram): satisfy rustfmt and correct two comments
ShawnLiann eb7920b
test(ffmpeg_ram): pin that an unknown software pixfmt produces no frame
ShawnLiann 3b3589e
refactor(ffmpeg_ram): narrow the pixel-format helpers to crate scope
ShawnLiann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.