1# Copyright (c) 2018 The Chromium 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 = "brokk-team@google.com, brandstrom@google.com" 6NAME = "video_VEAPerf.cfm" 7PURPOSE = "Monitor the performance of the Chromium VEA." 8CRITERIA = """ 9The test fails if the video_encode_accelerator_unittest fails or crashes. 10""" 11ATTRIBUTES = "suite:hotrod" 12TIME = "MEDIUM" 13TEST_CATEGORY = "Performance" 14TEST_CLASS = "video" 15TEST_TYPE = "client" 16DEPENDENCIES = "hw_video_acc_enc_vp8" 17 18DOC = """ 19This test measures the performance of the Chromium hardware VP8 Video Encode 20Accelerator in CFM use cases. 21""" 22 23test_cases = [ 24#HD 25 ('tulip2/tulip2-1280x720-1b95123232922fe0067869c74e19cd09.yuv', True, 1280, 720, 1200000, 11, 30), 26 ('video_tests/webrtc/tulip2-1280x720-15fps-a99da6813fa301b30829d0a1453f8b04.yuv', True, 1280, 720, 1200000, 11, 30), 27 ('video_tests/webrtc/tulip2-1280x720-7.5fps-148959fd8d1bad5f17fabeaa415c9fb6.yuv', True, 1280, 720, 1200000, 11, 30), 28#VGA 29 ('tulip2/tulip2-640x360-094bd827de18ca196a83cc6442b7b02f.yuv', True, 640, 360, 500000, 11, 30), 30 ('video_tests/webrtc/tulip2-640x360-15fps-f8398a7fb80f20dec9888ac4ec209064.yuv', True, 640, 360, 500000, 11, 30), 31 ('video_tests/webrtc/tulip2-640x360-7.5fps-382414b124a86397b5eb2b86f461d78a.yuv', True, 640, 360, 500000, 11, 30), 32#QVGA 33 ('tulip2/tulip2-320x180-55be7124b3aec1b72bfb57f433297193.yuv', True, 320, 180, 17300, 11, 30), 34 ('video_tests/webrtc/tulip2-320x180-15fps-8ab55614f72125fe29107146d6f027b2.yuv', True, 320, 180, 17300, 11, 30), 35 ('video_tests/webrtc/tulip2-320x180-7.5fps-7632e656ab8f25ad1c5fc2d877320a4c.yuv', True, 320, 180, 17300, 11, 30), 36#Present 37 ('video_tests/webrtc/present-c9fe328d47aab9e632659e9069907a5f.yuv', True, 1920, 1080, 4000000, 11, 30), 38] 39 40job.run_test('video_VEAPerf', test_cases=test_cases, 41 required_cap='hw_enc_vp8_1080_30', tag='cfm') 42