1AUTHOR = "puthik" 2NAME = "power_VideoEncode.fast" 3PURPOSE = "Measure video encode power usage." 4 5CRITERIA = "This test is a benchmark." 6TIME = "FAST" 7TEST_CATEGORY = "Benchmark" 8TEST_CLASS = "power" 9TEST_TYPE = "client" 10PY_VERSION = 3 11 12DOC = """ 13This test makes sure that power_VideoEncode is working fine. 14""" 15 16formats = [ 17 ('h264', 'hd', 24), 18 ('vp9', 'hvga', 24), 19 ('vp8', 'qhvga', 15), 20] 21 22args_dict = utils.args_to_dict(args) 23pdash_note = args_dict.get('pdash_note', '') 24job.run_test('power_VideoEncode', tag=NAME.split('.')[1], seconds_per_test=30, 25 seconds_period=5, format=formats, pdash_note=pdash_note) 26