#!/bin/sh # # Test downscaling and upscaling in RGB and YUV modes. Use a RPF -> UDS -> WPF # pipeline with identical input and output formats. # source vsp-lib.sh features="rpf.0 uds wpf.0" formats="RGB24 YUV444M" test_scale() { local format=$1 local insize=$2 local outsize=$3 test_start "scaling from $insize to $outsize in $format" pipe_configure rpf-uds format_configure rpf-uds $format $insize $format $outsize vsp_runner rpf.0 & vsp_runner wpf.0 local result=$(compare_frames) test_complete $result } test_main() { local format for format in $formats ; do test_scale $format 640x640 640x480 test_scale $format 1024x768 640x480 test_scale $format 640x480 1024x768 done } test_init $0 "$features" test_run me='id' value='5d4b13707666701506dcb86e7fc2dfe79ee056ea'/> libdrm, cloned from git://anongit.freedesktop.org/mesa/drmLaurent Pinchart
summaryrefslogtreecommitdiff
path: root/bsd-core/sis_drv.c
blob: 13be07a2f5c1a3064c81b71907c157ac689a7523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* sis.c -- sis driver -*- linux-c -*-
 *
 * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
 * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
 * All Rights Reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice (including the next
 * paragraph) shall be included in all copies or substantial portions of the
 * Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR