| # 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_PlaybackPower.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" |
| DEPENDENCIES = 'hw_video_acc_h264' |
| BUG_TEMPLATE = { |
| 'labels': ['OS-Chrome', 'Cr-OS-Kernel-Video'], |
| } |
| |
| DOC = """ |
| This test checks whether H264 video decode power consumption |
| has regression. |
| """ |
| |
| VIDEO_NAME = 'big_buck_bunny_trailer_1080p.mp4' |
| job.run_test('video_PlaybackPower', video_name=VIDEO_NAME, video_format="h264") |