1# Copyright 2015 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_ChromeCameraMJpegHWDecodeUsed" 7PURPOSE = "Verify MJPEG camera video are HW accelerated." 8ATTRIBUTES = "suite:bvt-cq, suite:partners" 9TIME = "SHORT" 10TEST_CATEGORY = "General" 11TEST_CLASS = "video" 12TEST_TYPE = "client" 13JOB_RETRIES = 2 14BUG_TEMPLATE = { 15 'labels': ['OS-Chrome', 'VideoTestFailure'], 16 'cc': ['chromeos-video-test-failures@google.com'], 17} 18 19DOC = """ 20Verify MJPEG camera video streams are HW accelerated. 21""" 22 23job.run_test('video_ChromeRTCHWDecodeUsed', 24 video_name='crowd720_25frames.mjpeg', 25 histogram_name='Media.VideoCaptureGpuJpegDecoder.InitDecodeSuccess', 26 histogram_bucket_val=1, 27 tag='mjpeg', capability='hw_dec_jpeg') 28