Yuv color gamut conversion and transformYuv420 using Risc-V Vector#334
Open
lhpqaq wants to merge 2 commits intogoogle:mainfrom
Open
Yuv color gamut conversion and transformYuv420 using Risc-V Vector#334lhpqaq wants to merge 2 commits intogoogle:mainfrom
lhpqaq wants to merge 2 commits intogoogle:mainfrom
Conversation
Contributor
|
considerable amount of code seems to be duplicated across archs. for instance weights used in conversion, they can be moved to common place and reused. Also, please wait on further development as we working on some refactoring which may effect some of the changes you are making. |
Contributor
Author
|
I have removed the redundant code related to weights and unit tests. I will also be working on this project long-term. |
Contributor
Author
|
@ram-mohan Hi, I am preparing to port other functions. Is my code structure suitable in the current situation? |
Contributor
yes changes look good to me |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR is a mirror relative to #124, with the same content implemented using RVV.

Testing under Riscv32 and Riscv64
Command:
!!!!!!
------------------------------------------------Note------------------------------------------------
It should be noted that in some cases, the error of y is 2:

So this is the only difference compared to #124 (only y)