File: v_utils.h

package info (click to toggle)
vgrabbj 0.9.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 488 kB
  • ctags: 286
  • sloc: sh: 2,594; ansic: 2,379; makefile: 62
file content (64 lines) | stat: -rw-r--r-- 1,532 bytes parent folder | download
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
60
61
62
63
64
/* Simple Video4Linux image grabber. Made for my Philips Vesta Pro
 * 
 * Copyright (C) 2000, 2001, 2002 Jens Gecius, Larchmont, USA
 * eMail: devel@gecius.de
 * 
 * This program 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 of the License, or
 * (at you option) any later version.
 * 
 * This program 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., 59 Temple Place - Suite 330, Boston MA 02111-1307,
 * USA  
 */  

/* Includes */

#include "vgrabbj.h"
#include "v_plist.h"

static struct v_out_type output_list[] = {
  {1, "jpeg"},
  {1, "jpg"},
  {2, "png"},
  {3, "ppm"},
  {0, NULL}
};

static struct v_pos_type position_list[] = {
  {0, "UL"},
  {0, "upperleft"},
  {1, "UR"},
  {1, "upperright"},
  {2, "LL"},
  {2, "lowerleft"},
  {3, "LR"},
  {3, "lowerright"},
  {4, "UC"},
  {4, "uppercenter"},
  {5, "LC"},
  {5, "lowercenter"},
  {-1, NULL}
};

static struct v_size_type size_list[] = {
 {8, "sqcif"},
 {10, "qsif"},
 {11, "qcif"},
 {20, "sif"},
 {22, "cif"},
 {40, "vga"},
 {50, "svga"},
 {64, "xga"},
 {80, "sxga"},
 {100, "uxga"},
 {0, NULL}
};