• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "Chrome OS Project, chromeos-video@google.com"
6NAME = "video_PlaybackPerf.power_h264"
7PURPOSE = "Test the power consumption of H264 video playback"
8CRITERIA = """
9The test outputs the power consumption of H264 video playback.
10"""
11TIME = "MEDIUM"
12TEST_CATEGORY = "Performance"
13TEST_CLASS = "video"
14TEST_TYPE = "client"
15
16DOC = """
17This test measures the power consumption of H264 video playback for hardware
18decode and software decode.
19This test is redundant with respect to calls made within server test
20video_PowerConsumption.
21This control file is to measure the power consumption locally.
22"""
23
24VIDEO_NAME = 'traffic/traffic-1920x1080-8005020218f6b86bfa978e550d04956e.mp4'
25VIDEO_DESCRIPTION = 'h264_1080p'
26job.run_test('video_PlaybackPerf', video_name=VIDEO_NAME,
27             video_description=VIDEO_DESCRIPTION,
28             capability='hw_dec_h264_1080_30', power_test=True)
29