| AUTHOR = "Chrome OS Team" |
| NAME = "power_VideoPlayback.powerqual" |
| PURPOSE = "Measure video playback power usage." |
| CRITERIA = "This test is a benchmark." |
| TIME = "SHORT" |
| TEST_CATEGORY = "Benchmark" |
| TEST_CLASS = "power" |
| TEST_TYPE = "client" |
| ATTRIBUTES = "" |
| DOC = """ |
| Test video decode |
| - 1 hour of h264 1080p 30fps |
| - 1 hour of vp9 1080p 30fps |
| """ |
| |
| args_dict = utils.args_to_dict(args) |
| pdash_note = args_dict.get('pdash_note', '') |
| job.run_test('power_VideoPlayback', tag=NAME.split('.')[1], |
| videos=[('h264_1080_30fps', ''), ('vp9_1080_30fps', '')], |
| secs_per_video=3600, force_discharge=True, pdash_note=pdash_note) |