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