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