# Copyright 2015 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.h264.4k"
PURPOSE = "Test the cpu usage and dropped frame count of H264 4K video playback"
CRITERIA = """
The test outputs the cpu usage and dropped frame count of H264 4K video
playback.
"""
ATTRIBUTES = "suite:crosbolt_perf_nightly"
SUITE = "crosbolt_perf_nightly"
TIME = "MEDIUM"
TEST_CATEGORY = "Performance"
TEST_CLASS = "video"
TEST_TYPE = "client"
DEPENDENCIES = '4k_video'

DOC = """
This test measures the CPU usage and dropped frame count of H264 4K video
playback for hardware decode and software decode.
"""

VIDEO_NAME = 'traffic_3840x2160-32ec10f87ef369d0e5ec9c736d63cc58.mp4'
VIDEO_DESCRIPTION = 'h264_4k'
job.run_test('video_PlaybackPerf', video_name=VIDEO_NAME,
             video_description=VIDEO_DESCRIPTION)