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