-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[camerax] Re-land SurfaceProducer migration with fix for camera preview rotation #6856
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
200ac7f
Test 1 changes
camsim99 8fe3230
Check transformation info
camsim99 4fb6f74
Pixel fix
camsim99 b2fbc7d
change sensor orientation impl -- no change
camsim99 754e0fd
Working state
camsim99 cf7c4e6
Corrections pt 1
camsim99 61b9631
Possible landscape tablet fix + working state for pixel, samsung
camsim99 dfcfe32
Self-review, add tests, bump version
camsim99 77ebbfa
Clean up plugin code
camsim99 9e72c49
Fix current tests
camsim99 ee6dbe9
Add docs
camsim99 2b1637e
Add most test coverage
camsim99 0c8b230
Fix tests
camsim99 c85942f
Final review
camsim99 673344d
Add landscape fix guess
camsim99 0de02e8
Update changelog with hopes and dreams
camsim99 989eea6
Merge remote-tracking branch 'upstream/main' into camx_preview_fix
camsim99 08fd90d
Rename var and change landscape guess
camsim99 b70bc89
address review
camsim99 40793f9
Merge remote-tracking branch 'upstream/main' into camx_preview_fix
camsim99 876ee43
Remove todos
camsim99 65554f6
Name change
camsim99 58c1646
Merge remote-tracking branch 'upstream/main' into camx_preview_fix
camsim99 5e72187
Merge remote-tracking branch 'upstream/main' into camx_preview_fix
camsim99 5c510a7
Merge remote-tracking branch 'upstream/main' into camx_preview_fix
camsim99 c91984e
Add surface producer callback
camsim99 a05fda8
version bump
camsim99 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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My 2c, and I'd love the thoughts by the other reviewers as well, as I could be wrong - I'd wish for this to say something about the property of the preview, instead of the technology. For example,
isPreviewTexturePreRotated(or whatever best describes the situation).If we agree, this change made elsewhere in the PR as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still open to making this change, just let me know!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make the change, there is no reason to expose the implementation details here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed to
isPreviewPreTransformed