summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaromil <jaromil@383723c8-4afa-0310-b8a8-b1afb83214fc>2003-07-22 19:57:39 (GMT)
committer jaromil <jaromil@383723c8-4afa-0310-b8a8-b1afb83214fc>2003-07-22 19:57:39 (GMT)
commit3870d02d52e4b4ac916f09638e2026584e74d388 (patch)
tree9585b2c87bcef33ff0fc0765a075fba3facedec3
parent16d338bbb3d013b7f33bd81638f532416a059ea3 (diff)
at least i wrote something
git-svn-id: svn://dyne.org/rastasoft/hasciicam@507 383723c8-4afa-0310-b8a8-b1afb83214fc
-rw-r--r--hasciicam/TODO20
-rw-r--r--hasciicam/hasciicam.c2
2 files changed, 21 insertions, 1 deletions
diff --git a/hasciicam/TODO b/hasciicam/TODO
new file mode 100644
index 0000000..5201459
--- /dev/null
+++ b/hasciicam/TODO
@@ -0,0 +1,20 @@
+
+implement YUV420P grabbing to support pwc driver
+how to recognize pwc webcams:
+
+IsPhilips = FALSE;
+ if (ioctl(cam_fd, VIDIOCGCAP, &vcap) < 0)
+ return;
+ if (sscanf(vcap.name, "Philips %d webcam", &type) < 1) {
+ /* No match yet; try the PROBE */
+ if (ioctl(cam_fd, VIDIOCPWCPROBE, &probe) == 0)
+ if (!strcmp(vcap.name == probe.name))
+ IsPhilips = TRUE;
+ }
+ else
+ IsPhilips = TRUE;
+
+
+and some other ideas i'd love to find the time to realize or at least to
+write about in this TODO file
+
diff --git a/hasciicam/hasciicam.c b/hasciicam/hasciicam.c
index 272e8f5..a491e9b 100644
--- a/hasciicam/hasciicam.c
+++ b/hasciicam/hasciicam.c
@@ -110,7 +110,7 @@ const struct option long_options[] = {
{"foreground", required_argument, NULL, 'F'},
{"uid", required_argument, NULL, 'U'},
{"gid", required_argument, NULL, 'G'},
- // { "bttvbright", required_argument, NULL, 'B' },
+ // { "bttvbright", required_argument, NULL, 'B' },
// { "bttvcontrast", required_argument, NULL, 'C' },
// { "bttvgamma", required_argument, NULL, 'G' },
{0, 0, 0, 0}