# 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.vp8"
PURPOSE = "Test the cpu usage and dropped frame count of VP8 video playback"
CRITERIA = """
The test outputs the cpu usage and dropped frame count of VP8 video playback.
"""
ATTRIBUTES = "suite:crosbolt_perf_nightly"
SUITE = "crosbolt_perf_nightly"
TIME = "MEDIUM"
TEST_CATEGORY = "Performance"
TEST_CLASS = "video"
TEST_TYPE = "client"

DOC = """
This test measures the CPU usage and dropped frame count of VP8 video playback
for software decode on all devices and hardware decode on those devices with
hardware acceleration support.
"""

VIDEO_NAME = 'traffic-1920x1080-ad53f821ff3cf8ffa7e991c9d2e0b854.vp8.webm'
VIDEO_DESCRIPTION = 'vp8_1080p'
job.run_test('video_PlaybackPerf', video_name=VIDEO_NAME,
             video_description=VIDEO_DESCRIPTION)