Home | History | Annotate | Download | only in video_VideoEncodeAccelerator
      1 # Copyright (c) 2014 The Chromium 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 Team, chromeos-video (a] google.com"
      6 NAME = "video_VideoEncodeAccelerator.h264"
      7 PURPOSE = "Verify Chromium hardware Video Encode Acceleration works."
      8 CRITERIA = """
      9 This test will fail if any of the tests in video_encode_accelerator_unittest
     10 fails. Running video_encode_accelerator_unittest is skipped on machines that are
     11 known not to support video encode.
     12 """
     13 ATTRIBUTES = "suite:video"
     14 SUITE = "video"
     15 TIME = "MEDIUM"
     16 TEST_CATEGORY = "Functional"
     17 TEST_CLASS = "video"
     18 TEST_TYPE = "client"
     19 DEPENDENCIES = 'hw_video_acc_enc_h264'
     20 
     21 DOC = """
     22 This is a wrapper test for Chrome video_encode_accelerator_unittest.
     23 """
     24 
     25 # Format of each stream: (path, width, height, request_bit_rate)
     26 # Bitrates setting come from http://www.webmproject.org/hardware/rtc-coding-requirements/
     27 # The bitrate setting of 1080p comes from
     28 # third_party/libjingle/source/talk/media/webrtc/simulcast.cc.
     29 # Please do not change bitrates.
     30 streams = [
     31     ('crowd/crowd1080-96f60dd6ff87ba8b129301a0f36efc58.yuv', 1920, 1080, 4000000),
     32     ('tulip2/tulip2-1280x720-1b95123232922fe0067869c74e19cd09.yuv', 1280, 720, 1200000),
     33     ('tulip2/tulip2-640x360-094bd827de18ca196a83cc6442b7b02f.yuv', 640, 360, 500000),
     34     ('tulip2/tulip2-320x180-55be7124b3aec1b72bfb57f433297193.yuv', 320, 180, 100000)]
     35 # Disable the 240x136 video for http://crbug.com/548109.
     36 # TODO: Enable the test after PSNR(with block) verification is merged:
     37 #    ('tulip2/tulip2-240x136-ed58afc99d08e5d21013c1a5056e43bf.yuv', 240, 136, 100000)]
     38 
     39 job.run_test('video_VideoEncodeAccelerator', in_cloud=True, streams=streams,
     40         profile=1)
     41