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 5 AUTHOR = "Chrome OS Project, chromeos-video (a] google.com" 6 NAME = "video_ChromeCameraMJpegHWDecodeUsed" 7 PURPOSE = "Verify MJPEG camera video are HW accelerated." 8 ATTRIBUTES = "suite:bvt-cq, suite:partners" 9 TIME = "SHORT" 10 TEST_CATEGORY = "General" 11 TEST_CLASS = "video" 12 TEST_TYPE = "client" 13 JOB_RETRIES = 2 14 BUG_TEMPLATE = { 15 'labels': ['OS-Chrome', 'VideoTestFailure'], 16 'cc': ['chromeos-video-test-failures (a] google.com'], 17 } 18 19 DOC = """ 20 Verify MJPEG camera video streams are HW accelerated. 21 """ 22 23 job.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