| # 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, [email protected]" |
| NAME = "video_PlaybackPerf.power_h264" |
| PURPOSE = "Test the power consumption of H264 video playback" |
| CRITERIA = """ |
| The test outputs the power consumption of H264 video playback. |
| """ |
| TIME = "MEDIUM" |
| TEST_CATEGORY = "Performance" |
| TEST_CLASS = "video" |
| TEST_TYPE = "client" |
| |
| DOC = """ |
| This test measures the power consumption of H264 video playback for hardware |
| decode and software decode. |
| """ |
| |
| VIDEO_NAME = 'traffic/traffic-1920x1080-8005020218f6b86bfa978e550d04956e.mp4' |
| VIDEO_DESCRIPTION = 'h264_1080p' |
| job.run_test('video_PlaybackPerf', video_name=VIDEO_NAME, |
| video_description=VIDEO_DESCRIPTION, power_test=True) |
| |