# 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_vp9"
PURPOSE = "Test the power consumption of VP9 video playback"
CRITERIA = """
The test outputs the power consumption of VP9 video playback.
"""
TIME = "MEDIUM"
TEST_CATEGORY = "Performance"
TEST_CLASS = "video"
TEST_TYPE = "client"

DOC = """
This test measures the power consumption of VP9 video playback for hardware
decode and software decode.
"""

VIDEO_NAME = 'traffic-1920x1080-83a1e5f8b7944577425f039034e64c76.vp9.webm'
VIDEO_DESCRIPTION = 'vp9_1080p'
job.run_test('video_PlaybackPerf', video_name=VIDEO_NAME,
             video_description=VIDEO_DESCRIPTION, power_test=True)