Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ec7936f6
authored
Aug 15, 2022
by
andrewlewis
Committed by
Marc Baechinger
Oct 19, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Increase pixel difference threshold
PiperOrigin-RevId: 467610621
parent
80f9ad9b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
google3/third_party/java_src/android_libs/media/libraries/effect/src/androidTest/java/androidx/media3/effect/BitmapTestUtil.java
google3/third_party/java_src/android_libs/media/libraries/effect/src/androidTest/java/androidx/media3/effect/BitmapTestUtil.java
View file @
ec7936f6
...
@@ -55,13 +55,13 @@ public class BitmapTestUtil {
...
@@ -55,13 +55,13 @@ public class BitmapTestUtil {
* SingleFrameGlTextureProcessors} will cause the test to fail.
* SingleFrameGlTextureProcessors} will cause the test to fail.
*
*
* <p>To run pixel difference-based tests on physical devices, please use a value of 5f, rather
* <p>To run pixel difference-based tests on physical devices, please use a value of 5f, rather
* than 0.
1
f. This higher value will ignore some very small errors, but will allow for some
* than 0.
5
f. This higher value will ignore some very small errors, but will allow for some
* differences caused by graphics implementations to be ignored. When the difference is close to
* differences caused by graphics implementations to be ignored. When the difference is close to
* the threshold, manually inspect expected/actual bitmaps to confirm failure, as it's possible
* the threshold, manually inspect expected/actual bitmaps to confirm failure, as it's possible
* this is caused by a difference in the codec or graphics implementation as opposed to a {@link
* this is caused by a difference in the codec or graphics implementation as opposed to a {@link
* SingleFrameGlTextureProcessor} issue.
* SingleFrameGlTextureProcessor} issue.
*/
*/
public
static
final
float
MAXIMUM_AVERAGE_PIXEL_ABSOLUTE_DIFFERENCE
=
0.
1
f
;
public
static
final
float
MAXIMUM_AVERAGE_PIXEL_ABSOLUTE_DIFFERENCE
=
0.
5
f
;
/**
/**
* Reads a bitmap from the specified asset location.
* Reads a bitmap from the specified asset location.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment