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