| # Copyright 2018 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, chromeos-video@google.com" |
| NAME = "video_PlaybackPerf.h264.4k.60fps" |
| PURPOSE = """ |
| Test the cpu usage and dropped frame count of H264 4K 60fps video playback |
| """ |
| CRITERIA = """ |
| The test outputs the cpu usage and dropped frame count of H264 4K 60fps video |
| playback. |
| """ |
| ATTRIBUTES = "suite:crosbolt_perf_perbuild" |
| TIME = "MEDIUM" |
| TEST_CATEGORY = "Performance" |
| TEST_CLASS = "video" |
| TEST_TYPE = "client" |
| BUG_TEMPLATE = { |
| "labels": ["OS-Chrome", "VideoTestFailure"], |
| "cc": ["chromeos-video-test-failures@google.com"], |
| } |
| |
| DOC = """ |
| This test measures the CPU usage and dropped frame count of H264 4K 60 fps video |
| playback for hardware decode and software decode. |
| """ |
| |
| VIDEO_NAME = 'Shaka-Dash/h264_4k_60_10s_600frames-ab1bfb374d2e408aac4a1beaa1aa0817.mp4' |
| VIDEO_DESCRIPTION = 'h264_4k_60fps' |
| job.run_test('video_PlaybackPerf', video_name=VIDEO_NAME, |
| video_description=VIDEO_DESCRIPTION, |
| capability='hw_dec_h264_2160_60') |