• 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_GVD_BUCKET = 0
30RTC_VIDEO_INIT_BUCKET = 1
31MEDIA_CAVDA_INIT_STATUS = (
32    'Media.ChromeArcVideoDecodeAccelerator.InitializeResult')
33MEDIA_CAVDA_BUCKET = 0
34
35#Path for video HTML file which helps for video operations
36CROS_VIDEO_DIR = '/usr/local/autotest/cros/video'
37VIDEO_HTML_FILEPATH = CROS_VIDEO_DIR + '/video.html'
38
39#Playback duration to check video can play
40PLAYBACK_TEST_TIME_S = 10
41