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
77e651ad
authored
Feb 13, 2023
by
andrewlewis
Committed by
christosts
Feb 13, 2023
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Update overlay test bitmap based on emulator output
PiperOrigin-RevId: 509210836
parent
711fa44d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
library/effect/src/androidTest/java/com/google/android/exoplayer2/effect/GlEffectsFrameProcessorPixelTest.java
testdata/src/test/assets/media/bitmap/sample_mp4_first_frame/electrical_colors/overlay_bitmap_FrameProcessor.png
library/effect/src/androidTest/java/com/google/android/exoplayer2/effect/GlEffectsFrameProcessorPixelTest.java
View file @
77e651ad
...
...
@@ -36,7 +36,6 @@ import com.google.android.exoplayer2.util.Size;
import
com.google.common.collect.ImmutableList
;
import
org.checkerframework.checker.nullness.qual.MonotonicNonNull
;
import
org.junit.After
;
import
org.junit.Ignore
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
...
...
@@ -57,7 +56,6 @@ public final class GlEffectsFrameProcessorPixelTest {
"media/bitmap/sample_mp4_first_frame/electrical_colors/original.png"
;
public
static
final
String
WRAPPED_CROP_PNG_ASSET_PATH
=
"media/bitmap/sample_mp4_first_frame/electrical_colors/image_input_with_wrapped_crop.png"
;
// This file is generated on a Pixel 7, because the emulator isn't able to generate this file.
public
static
final
String
BITMAP_OVERLAY_PNG_ASSET_PATH
=
"media/bitmap/sample_mp4_first_frame/electrical_colors/overlay_bitmap_FrameProcessor.png"
;
public
static
final
String
SCALE_WIDE_PNG_ASSET_PATH
=
...
...
@@ -222,7 +220,6 @@ public final class GlEffectsFrameProcessorPixelTest {
}
@Test
@Ignore
(
"b/267031388 Test can only run on physical devices because emulator cannot produce image"
)
public
void
bitmapOverlay_matchesGoldenFile
()
throws
Exception
{
String
testId
=
"bitmapOverlay_matchesGoldenFile"
;
Bitmap
overlayBitmap
=
readBitmap
(
OVERLAY_PNG_ASSET_PATH
);
...
...
testdata/src/test/assets/media/bitmap/sample_mp4_first_frame/electrical_colors/overlay_bitmap_FrameProcessor.png
View file @
77e651ad
553 KB
|
W:
|
H:
519 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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