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