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