1 # Copyright 2018 The Chromium OS Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 AUTHOR = "chromeos-gfx" 6 NAME = "graphics_VideoRenderingPower.vp9" 7 PURPOSE = "Measure power consumption of VP9 video rendering" 8 9 ATTRIBUTES = "suite:graphics, suite:graphics_browser, suite:graphics_per-day" 10 TIME = "MEDIUM" 11 TEST_CATEGORY = "Performance" 12 TEST_CLASS = "graphics" 13 TEST_TYPE = "client" 14 15 DOC = """ 16 This test calculates and outputs the power consumption while a VP9 video is 17 being rendered on the screen, with different high level options: e.g. hardware 18 overlays on/off. 19 """ 20 21 VIDEO_URL = 'http://crosvideo.appspot.com/?codec=vp9&resolution=720&loop=true&mute=true' 22 VIDEO_SHORT_NAME = 'vp9_720p' 23 job.run_test('graphics_VideoRenderingPower', 24 video_url=VIDEO_URL, 25 video_short_name=VIDEO_SHORT_NAME) 26