| # Copyright (c) 2017 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "Chrome OS Project, [email protected]" |
| NAME = "video_PlaybackPerf.vp8.4k" |
| PURPOSE = "Test the cpu usage and dropped frame count of VP8 4K video playback" |
| CRITERIA = """ |
| The test outputs the cpu usage and dropped frame count of VP8 4K video playback. |
| """ |
| ATTRIBUTES = "suite:crosbolt_perf_perbuild" |
| TIME = "MEDIUM" |
| TEST_CATEGORY = "Performance" |
| TEST_CLASS = "video" |
| TEST_TYPE = "client" |
| DEPENDENCIES = '4k_video_vp8' |
| BUG_TEMPLATE = { |
| "labels": ["OS-Chrome", "VideoTestFailure"], |
| "cc": ["[email protected]"], |
| } |
| |
| DOC = """ |
| This test measures the CPU usage and dropped frame count of VP8 4K video |
| playback for software decode on all devices and hardware decode on those devices |
| with hardware acceleration support. |
| """ |
| |
| VIDEO_NAME = 'Shaka-Dash/2160_vp8_600frames-26169f5d6bebba305e2c9ea701e84036.vp8.webm' |
| VIDEO_DESCRIPTION = 'vp8_4k' |
| job.run_test('video_PlaybackPerf', video_name=VIDEO_NAME, |
| video_description=VIDEO_DESCRIPTION) |