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