1# Copyright 2015 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.h264.4k" 7PURPOSE = "Test the cpu usage and dropped frame count of H264 4K video playback" 8CRITERIA = """ 9The test outputs the cpu usage and dropped frame count of H264 4K video 10playback. 11""" 12ATTRIBUTES = "suite:crosbolt_perf_perbuild" 13TIME = "MEDIUM" 14TEST_CATEGORY = "Performance" 15TEST_CLASS = "video" 16TEST_TYPE = "client" 17BUG_TEMPLATE = { 18 "labels": ["OS-Chrome", "VideoTestFailure"], 19 "cc": ["chromeos-video-test-failures@google.com"], 20} 21 22DOC = """ 23This test measures the CPU usage and dropped frame count of H264 4K video 24playback for hardware decode and software decode. 25""" 26 27VIDEO_NAME = 'traffic/traffic_3840x2160-32ec10f87ef369d0e5ec9c736d63cc58.mp4' 28VIDEO_DESCRIPTION = 'h264_4k' 29job.run_test('video_PlaybackPerf', video_name=VIDEO_NAME, 30 video_description=VIDEO_DESCRIPTION, 31 capability='hw_dec_h264_2160_30') 32