Date: Wed, 15 Jul 1998 14:44:10 -0500 (CDT) From: Jim Lowe <james@miller.cs.uwm.edu> To: jkh@time.cdrom.com Cc: multimedia@FreeBSD.ORG Subject: Re: Spigot still supported? Message-ID: <199807151944.OAA16761@miller.cs.uwm.edu>
next in thread | raw e-mail | index | archive | help
> Date: Tue, 14 Jul 1998 12:57:26 -0700 > From: "Jordan K. Hubbard" <jkh@time.cdrom.com> > > > No so good. I put a copy of the vic binary in > > ftp://ftp.cs.uwm.edu/outgoing/vic.gz for you? > > Let me know if this works or you still are having > > trouble. This is the binary I am current using with > > the spigot to broadcast the parking lot cam. > > Cool, but could you perhaps link it static? I'm using Tk 8.0/Tcl 8.0 > and your stuff is all linked with 4.1. :( > > Thanks! I relinked it with tk/tcl 8.0. and replaced ftp://ftp.cs.uwm.edu/outgoing/vic.gz with the new binary. In the process, I found a bug in vic/patches/patch-ab. You might even be able to get your vic to compile and run if you replace patch-ab with the attached patch. I am using the new binary to transmit the mbone parking lot w/ the spigot, but it has only been running for about 1/2 hour. Let me know if either or both of these solutions work for you. If the patch works for you, we should probably replace ports/vic/patches/patch-ab with this new version. Thanks, -Jim -------------------------------------------------------------------- *** grabber-spigot.cc.orig Sat Jan 13 15:35:28 1996 --- grabber-spigot.cc Wed Jul 15 14:15:26 1998 *************** *** 195,200 **** --- 195,201 ---- hskip_ = 0; break; case f_cif: + int voff, hoff; set_size_cif(w, h); /* XXX */ vstart_ = 0; *************** *** 202,210 **** hstart_ = 1; hstop_ = blkw_ - 1; ! int voff = (outh_ - inh_) / 2; hwrap_ = outw_ - inw_ ; ! int hoff = hwrap_ / 2; loff_ = outw_ * voff + hoff; coff_ = (outw_ >> 1) * (voff >> 1) + (hoff >> 1); hskip_ = 0; --- 203,211 ---- hstart_ = 1; hstop_ = blkw_ - 1; ! voff = (outh_ - inh_) / 2; hwrap_ = outw_ - inw_ ; ! hoff = hwrap_ / 2; loff_ = outw_ * voff + hoff; coff_ = (outw_ >> 1) * (voff >> 1) + (hoff >> 1); hskip_ = 0; *************** *** 349,357 **** int numc = ((basewidth_/decimate_) & ~0xf) >> 2; int numr = (baseheight_/decimate_) & ~0xf; int chm_wrap = hwrap_ >> 1; (void)spigot_start_xfer(1); ! for(int y=0; y < numr ; y++) { for(int x=0; x < numc; x++) { /* * We read these as unsigned shorts and set y data --- 350,359 ---- int numc = ((basewidth_/decimate_) & ~0xf) >> 2; int numr = (baseheight_/decimate_) & ~0xf; int chm_wrap = hwrap_ >> 1; + int y; (void)spigot_start_xfer(1); ! for(y=0; y < numr ; y++) { for(int x=0; x < numc; x++) { /* * We read these as unsigned shorts and set y data To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807151944.OAA16761>