/* $Id$ * $URL$ * * generic color handling * * Copyright (C) 2005 Michael Reinelt * Copyright (C) 2005 The LCD4Linux Team * * This file is part of LCD4Linux. * * LCD4Linux is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * LCD4Linux is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ #ifndef _RGB_H_ #define _RGB_H_ typedef struct { unsigned char R; unsigned char G; unsigned char B; unsigned char A; } RGBA; int color2RGBA(const char *color, RGBA * C); #endif ingJonathan McCrohan
aboutsummaryrefslogtreecommitdiffstats
blob: b3f0caca3ee6991a6bff8f2ee9d316ada150226c (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
Various small test/sample programs for the Linux DVB API Version 2

The default devices used by the test programs are generally
/dev/dvb/adapter0/*0, and can be overridden using environment
variables:

  FRONTEND=/dev/dvb/adapter0/frontend0
  DEMUX=/dev/dvb/adapter0/demux0
  DVR=/dev/dvb/adapter0/dvr0
  AUDIO=/dev/dvb/adapter0/audio0
  VIDEO=/dev/dvb/adapter0/video0
  NET=/dev/dvb/adapter0/net0


diseqc		: Send various diseqc sequences on a SAT frontend.
		  Best used with a diseqc test box with some LEDs to
		  show the result of the commands.
set22k		: Legacy tone switching for SAT frontends.
setvoltage	: Legacy voltage switching for SAT frontends.

setpid		: Set video and audio PIDs in the demux; useful only
		  if you have a hardware MPEG decoder.
video		: A tiny video watching application, just starts capturing /dev/video
		  into /dev/fb0.
		  WARNING: May crash your box or mess up your console!

test_sections	: Hex dump of section data from stream.
test_sec_ne	: Like test_sections, but also test Not-Equal filter mode.
test_pes	: Hex dump of PES data from stream.
test_tt		: Demonstrate teletext decoding from PES data.
test_av		: Test audio and video MPEG decoder API.
test_vevent	: Test VIDEO_GET_EVENT and poll() for video events
test_stc	: Test DMX_GET_STC.

test_stillimage : Display single iframes as stillimages
		  iframes can be created with the 'convert' tool from 
		  imagemagick and mpeg2encode from ftp.mpeg.org, and must 
		  have a supported size, e.g. 702x576
		  ($ convert -sample 702x576\! test.jpg test.mpg)

(test_av_play	: Test playing MPEG TS from a file (apparently broken))


test		:
test_audio	:
test_dmx	:
test_dvr	:
test_front	:
test_switch	:
test_video	: