| # Copyright (c) 2014 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" |
| PURPOSE = "Test the cpu usage and dropped frame count of H264 video playback" |
| CRITERIA = """ |
| The test outputs the cpu usage and dropped frame count of H264 video playback. |
| """ |
| ATTRIBUTES = "suite:crosbolt_perf_perbuild" |
| TIME = "MEDIUM" |
| TEST_CATEGORY = "Performance" |
| TEST_CLASS = "video" |
| TEST_TYPE = "client" |
| |
| DOC = """ |
| This test measures the CPU usage and dropped frame count of H264 video playback |
| for software decode on all devices and hardware decode on those devices with |
| hardware acceleration support. |
| """ |
| |
| VIDEO_NAME = 'traffic/traffic-1920x1080-8005020218f6b86bfa978e550d04956e.mp4' |
| VIDEO_DESCRIPTION = 'h264_1080p' |
| job.run_test('video_PlaybackPerf', video_name=VIDEO_NAME, |
| video_description=VIDEO_DESCRIPTION) |