xref: /aosp_15_r20/external/autotest/client/site_tests/power_VideoPlayback/control.arc (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1AUTHOR = "Chrome OS Team"
2NAME = "power_VideoPlayback.arc"
3PURPOSE = "Measure video playback power usage."
4
5CRITERIA = "This test is a benchmark."
6TIME = "LENGTHY"
7TEST_CATEGORY = "Benchmark"
8TEST_CLASS = "power"
9TEST_TYPE = "client"
10PY_VERSION = 3
11
12ATTRIBUTES = ""
13DOC = """
14Test video decode for
15- h264 1080p 30fps
16- vp9 1080 30fps
17for 10min each with ARC enabled.
18
19This test is called just arc to use it to distinguish between ARC vs no ARC
20on the DUT. The details of video encoding and length aren't relevant other
21than `arc` and `noarc` should be identical.
22"""
23
24args_dict = utils.args_to_dict(args)
25pdash_note = args_dict.get('pdash_note', '')
26job.run_test('power_VideoPlayback', tag=NAME.split('.')[1],
27             videos=[('h264_1080_30fps', ''), ('vp9_1080_30fps','')],
28             secs_per_video=600, pdash_note=pdash_note, seconds_period=20,
29             run_arc=True)
30