1 # Copyright 2017 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_MediaRecorderPerf.h264" 7 PURPOSE = """ 8 Measure frame processing time and CPU usage with SW and HW H.264 encode 9 in MediaRecorder. 10 """ 11 CRITERIA = """ 12 This is a performance test and does not fail. 13 """ 14 TIME = "MEDIUM" 15 ATTRIBUTES = "suite:crosbolt_perf_perbuild" 16 TEST_CATEGORY = "Performance" 17 TEST_CLASS = "video" 18 TEST_TYPE = "client" 19 DEPENDENCIES = "hw_video_acc_enc_h264" 20 JOB_RETRIES = 2 21 BUG_TEMPLATE = { 22 'labels': ['OS-Chrome', 'VideoTestFailure'], 23 'cc': ['chromeos-video-test-failures (a] google.com'], 24 } 25 26 DOC = """ 27 This test uses MediaRecorder to record videos with HW encode on and off, 28 and report the frame processing time and CPU usages of both. 29 """ 30 31 job.run_test('video_MediaRecorderPerf', codec='h264', fps=30, 32 video_file='crowd720_25frames.y4m', tag='h264') 33 34