-
Notifications
You must be signed in to change notification settings - Fork 3
A big pile of imporovements #10
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
+1,812
−530
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
4e8ab3f
Update Python requirement to 3.10
tomba b2ae999
formats: Add 'libcamera_name' for pixel formats
tomba c69888e
formats: Rename 'packed' to 'csi2_packed'
tomba 520c4aa
formats: Add PixelFormat.raw_bpp()
tomba a1b92d3
Use csi2_packed and raw_bitspp properties
tomba 861eb98
utils/conv-perf-test: Support multiple formats
tomba 4b55b3f
utils/conv-perf-test: Improve perf testing
tomba 9f6c870
utils/conv-perf-test: Add --output
tomba f12ba8b
utils/conv-perf-test: Add peak iters
tomba 9ab1577
utils: Add conv-perf-compare.py
tomba 3502b59
utils: Add conv-perf-range.sh
tomba 043d0ed
conv: Accept strides-list and pass it around
tomba f276fe8
conv: Add stride extrapolation
tomba 089ee79
conv: Add strip_padding() helper
tomba 32e101b
conv: Use strip_padding() to fix the padded conversions
tomba 23a20c9
conv: numba: Use stride properly
tomba 64439b6
conv: Use as_strided() to handle stride
tomba 7a2ab9c
conv: Clean up opencv stride handling
tomba 4f8d8ef
conv: Clean up bytesperline == 0 checking
tomba 30391ef
utils/conv-perf-test: Support stride properly
tomba 3a344c6
tests: Add padded/strided tests
tomba 99e5f6e
tests: Add stride extrapolation tests
tomba ab46844
conv: opencv: Fix RGB conversions
tomba 9821ab5
conv: opencv: Fix YUV component ordering
tomba 0436418
tests: Add cross-backend consistency test
tomba 45076cf
conv: Ensure we return an independent buffer
tomba a8c8ee3
conv: numpy: rgb: Produce contiguous BGR888 output directly
tomba 4392445
conv: numpy: raw: Shift in-place before dtype cast
tomba 3ae175c
conv: numpy: yuv: Clip in-place in ycbcr_to_bgr888()
tomba 9f5bcde
conv: numpy: yuv: Use np.empty() in y8_to_bgr888()
tomba 5e152be
conv: raw: Clean up buffer reshaping
tomba 0b00b00
conv: Add NV16 support (numpy & numba)
tomba dea105a
conv: Add NV21 and NV61
tomba 6c9c13b
conv: numpy: Combine NVxx converters
tomba 24e715e
conv: numba: Combine NVxx converters
tomba 38bb721
conv: Add YUV420, YUV422, YVU420, YVU422 conversions
tomba a3474ab
tests: Change test frame width to be more divisible
tomba eb0cf84
conv: Add backward compatibility hack
tomba 64de771
conv: Reset the input array view
tomba f3ad327
conv: Improve conv docstrings
tomba f39781c
conv: Make numpy/numba converters return None for unsupported formats
tomba 9592c3d
conv: Raise NotImplemented exception for unsupported formats
tomba 69b43b5
tests: Catch only NotImplementedError when trying formats
tomba 4ff1f63
conv: qt: Make sure we provide a contiguous array to QImage
tomba 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
Oops, something went wrong.
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.