• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5SUPPORTED_BOARDS = ['lumpy', 'daisy', 'falco', 'link', 'parrot', 'peppy',
6                    'peach_pi', 'peach_pit', 'auron_paine', 'squawks', 'cyan'
7                    'veyron_jerry', 'chell']
8
9DESIRED_WIDTH = 864
10DESIRED_HEIGHT = 494
11
12TEST_DIR = '/tmp/test'
13GOLDEN_CHECKSUMS_FILENAME = 'golden_checksums.txt'
14GOLDEN_CHECKSUM_REMOTE_BASE_DIR = (
15    'https://storage.googleapis.com/chromiumos-test-assets-public'
16    '/golden_images_video_image_comparison')
17
18IMAGE_FORMAT = 'png'
19FCOUNT = 330
20MAX_FRAME_REPEAT_COUNT = 5
21MAX_DIFF_TOTAL_FCOUNT = 10
22MAX_NONMATCHING_FCOUNT = 10
23NUM_CAPTURE_TRIES = 10
24
25#Hardware decoding constants
26MEDIA_GVD_INIT_STATUS = 'Media.GpuVideoDecoderInitializeStatus'
27MEDIA_GVD_ERROR = 'Media.GpuVideoDecoderError'
28RTC_INIT_HISTOGRAM = 'Media.RTCVideoDecoderInitDecodeSuccess'
29MEDIA_RECORDER_VEA_USED_HISTOGRAM = 'Media.MediaRecorder.VEAUsed'
30MEDIA_GVD_BUCKET = 0
31RTC_VIDEO_INIT_BUCKET = 1
32MEDIA_CAVDA_INIT_STATUS = (
33    'Media.GpuArcVideoDecodeAccelerator.InitializeResult')
34MEDIA_CAVDA_BUCKET = 0
35MEDIA_RECORDER_VEA_USED_BUCKET = 1
36MEDIA_RECORDER_VEA_NOT_USED_BUCKET = 0
37
38#Path for video HTML file which helps for video operations
39CROS_VIDEO_DIR = '/usr/local/autotest/cros/video'
40VIDEO_HTML_FILEPATH = CROS_VIDEO_DIR + '/video.html'
41
42#Playback duration to check video can play
43PLAYBACK_TEST_TIME_S = 10
44