# 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.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. This test is redundant with respect to calls made within server test video_PowerConsumption. This control file is to measure the power consumption locally. """ VIDEO_NAME = 'traffic/traffic-1920x1080-8005020218f6b86bfa978e550d04956e.mp4' VIDEO_DESCRIPTION = 'h264_1080p' job.run_test('video_PlaybackPerf', video_name=VIDEO_NAME, video_description=VIDEO_DESCRIPTION, capability='hw_dec_h264_1080_30', power_test=True)