| # 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.1080.60fps" |
| PURPOSE = """ |
| Test the cpu usage and dropped frame count of H264 1080p 60fps video playback |
| """ |
| CRITERIA = """ |
| The test outputs the cpu usage and dropped frame count of H264 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 1080p 60fps |
| video playback for software decode on all devices and hardware decode on those |
| devices with hardware acceleration support. |
| """ |
| |
| VIDEO_NAME = 'Shaka-Dash/1080_60_10s_600frames-c80aeceeabfc9fc18ed2f98f219c85af.mp4' |
| VIDEO_DESCRIPTION = 'h264_1080p_60fps' |
| job.run_test('video_PlaybackPerf', video_name=VIDEO_NAME, |
| video_description=VIDEO_DESCRIPTION) |