• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2014 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
5AUTHOR = "Chrome OS Project, chromeos-video@google.com"
6NAME = "video_PlaybackPerf.h264"
7PURPOSE = "Test the cpu usage and dropped frame count of H264 video playback"
8CRITERIA = """
9The test outputs the cpu usage and dropped frame count of H264 video playback.
10"""
11ATTRIBUTES = "suite:crosbolt_perf_perbuild"
12TIME = "MEDIUM"
13TEST_CATEGORY = "Performance"
14TEST_CLASS = "video"
15TEST_TYPE = "client"
16BUG_TEMPLATE = {
17    "labels": ["OS-Chrome", "VideoTestFailure"],
18    "cc": ["chromeos-video-test-failures@google.com"],
19}
20
21DOC = """
22This test measures the CPU usage and dropped frame count of H264 video playback
23for software decode on all devices and hardware decode on those devices with
24hardware acceleration support.
25"""
26
27VIDEO_NAME = 'traffic/traffic-1920x1080-8005020218f6b86bfa978e550d04956e.mp4'
28VIDEO_DESCRIPTION = 'h264_1080p'
29job.run_test('video_PlaybackPerf', video_name=VIDEO_NAME,
30             video_description=VIDEO_DESCRIPTION,
31             capability='hw_dec_h264_1080_30')
32