Skip 1080p test on Nexus 7, API 21

This device doesn't seem to be capable of simultaneous encode/decode at this
resolution. We don't have a good way to check the capability (we are already
checking separate decode/encode capability) so just skip this test to save time
triaging its failures.

PiperOrigin-RevId: 600399564
This commit is contained in:
andrewlewis 2024-01-22 02:49:32 -08:00 committed by Copybara-Service
parent d1d03189eb
commit e82393ed41

View file

@ -52,9 +52,12 @@ public final class TranscodeQualityTest {
/* outputFormat= */ AndroidTestUtil.MP4_ASSET_WITH_INCREASING_TIMESTAMPS_FORMAT)) {
return;
}
// Skip on specific pre-API 34 devices where calculating SSIM fails.
assumeFalse(
(Util.SDK_INT < 33 && (Util.MODEL.equals("SM-F711U1") || Util.MODEL.equals("SM-F926U1")))
|| (Util.SDK_INT == 33 && Util.MODEL.equals("LE2121")));
// Skip on specific API 21 devices that aren't able to decode and encode at this resolution.
assumeFalse(Util.SDK_INT == 21 && Util.MODEL.equals("Nexus 7"));
Transformer transformer =
new Transformer.Builder(context)
.setVideoMimeType(MimeTypes.VIDEO_H264)