-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the input to Hadamard functions in unit test
The input to Hadamard transform is the residual block, whose pixels can range from -((1 << BitDepth) - 1) to (1 << BitDepth) - 1. Earlier values from -(1 << BitDepth) to (1 << BitDepth) - 1 were being tested. As -(1 << BitDepth) is not a valid value, changed the input to take values in the range [-((1 << BitDepth) - 1), ((1 << BitDepth) - 1)]. The functions Rand9Signed() and Rand13Signed are deleted since they are not used by any other caller. Change-Id: I10b358a2ff7168ac595849d3c78a91cfa6b3b24d
- Loading branch information
1 parent
d2e0b70
commit 57dd20a
Showing
2 changed files
with
30 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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 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