• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5AUTHOR = "Chrome OS Team, chromeos-video@google.com"
6NAME = "video_VideoEncodeAccelerator.h264.bvt"
7PURPOSE = "Verify Chromium hardware Video Encode Acceleration works."
8CRITERIA = """
9This test will fail if any of the tests in video_encode_accelerator_unittest
10fails. Running video_encode_accelerator_unittest is skipped on machines that are
11known not to support video encode.
12"""
13ATTRIBUTES = "suite:bvt-perbuild"
14TIME = "SHORT"
15TEST_CATEGORY = "Functional"
16TEST_CLASS = "video"
17TEST_TYPE = "client"
18BUG_TEMPLATE = {
19    'labels': ['OS-Chrome', 'VideoTestFailure'],
20    'cc': ['chromeos-video-test-failures@google.com'],
21}
22
23DOC = """
24This is a wrapper test for Chrome video_encode_accelerator_unittest.
25"""
26
27# Format of each stream:
28#   (path, width, height, requested_bit_rate, requested_frame_rate,
29#    requested_subsequent_bit_rate, requested_subsequent_frame_rate,
30#    pixel_format)
31# requested_frame_rate, requested_subsequent_bit_rate and
32# requested_subsequent_frame_rate may be None, which means to set the default
33# value.
34streams = [('media/test/data/bear_320x192_40frames.yuv',
35            320, 192, 200000, None, None, None, 1),
36            ('media/test/data/bear_320x192_40frames.nv12.yuv',
37            320, 192, 200000, None, None, None, 6)]
38
39job.run_test('video_VideoEncodeAccelerator', in_cloud=False, streams=streams,
40        profile=1, tag='h264', capability='hw_enc_h264_1080_30')
41