1AUTHOR = "ChromeOS Team" 2NAME = "power_VideoPlayback.sw_decoder" 3PURPOSE = "Measure video playback power usage." 4 5CRITERIA = "This test is a benchmark." 6TIME = "LENGTHY" 7TEST_CATEGORY = "Benchmark" 8TEST_CLASS = "power" 9TEST_TYPE = "client" 10ATTRIBUTES = "suite:power_check, suite:power_monitoring" 11PY_VERSION = 3 12 13DOC = """ 14This test records power related statistics while play back video file in various 15format. 16 17This version of the test forces Chrome to use software decoder. 18""" 19 20args_dict = utils.args_to_dict(args) 21pdash_note = args_dict.get('pdash_note', '') 22job.run_test('power_VideoPlayback', use_hw_decode=False, tag=NAME.split('.')[1], 23 pdash_note=pdash_note) 24