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