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