kopia lustrzana https://gitlab.com/sane-project/website
61 wiersze
3.1 KiB
HTML
61 wiersze
3.1 KiB
HTML
<!-- received="Wed Jun 18 16:35:03 1997 MST" -->
|
|
<!-- sent="Wed, 18 Jun 1997 16:28:12 -0700" -->
|
|
<!-- name="David Mosberger-Tang" -->
|
|
<!-- email="davidm@azstarnet.com" -->
|
|
<!-- subject="Re: QuickCam bit depth wired to 8: why?" -->
|
|
<!-- id="199706182328.QAA21961@panda.mosberger" -->
|
|
<!-- inreplyto="199706182314.TAA04186@lemur.magnet.com" -->
|
|
<title>sane-devel: Re: QuickCam bit depth wired to 8: why?</title>
|
|
<h1>Re: QuickCam bit depth wired to 8: why?</h1>
|
|
<b>David Mosberger-Tang</b> (<a href="mailto:davidm@azstarnet.com"><i>davidm@azstarnet.com</i></a>)<br>
|
|
<i>Wed, 18 Jun 1997 16:28:12 -0700</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#118">[ date ]</a><a href="index.html#118">[ thread ]</a><a href="subject.html#118">[ subject ]</a><a href="author.html#118">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0119.html">David Mosberger-Tang: "Re: QuickCam bit depth wired to 8: why?"</a>
|
|
<li> <b>Previous message:</b> <a href="0117.html">Andrew Kuchling: "Re: QuickCam bit depth wired to 8: why?"</a>
|
|
<li> <b>In reply to:</b> <a href="0117.html">Andrew Kuchling: "Re: QuickCam bit depth wired to 8: why?"</a>
|
|
<!-- nextthread="start" -->
|
|
<li> <b>Next in thread:</b> <a href="0119.html">David Mosberger-Tang: "Re: QuickCam bit depth wired to 8: why?"</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
<i>>>>>> On Wed, 18 Jun 1997 19:14:37 -0400 (EDT), Andrew Kuchling <<a href="mailto:amk@magnet.com">amk@magnet.com</a>> said:</i><br>
|
|
<p>
|
|
<i> >> So, the intent is that the qcam backend scales 4 and 6 bit</i><br>
|
|
<i> >> samples to 8 bit samples. Then everything will work as intended.</i><br>
|
|
<p>
|
|
Andrew> Hmm... the sample color QuickCam image on the SANE page<br>
|
|
Andrew> looks OK, but it doesn't seem as if the B&W version is doing<br>
|
|
Andrew> the scaling.<br>
|
|
<p>
|
|
The color version returns 8bpp, so scaling isn't needed.<br>
|
|
<p>
|
|
Andrew> I'm willing to fix the problem and submit a<br>
|
|
Andrew> patch if someone can tell me where the scaling code should<br>
|
|
Andrew> go. Would it simply be a matter of adding a scaling loop<br>
|
|
Andrew> just before the following code in reader_process()?<br>
|
|
<p>
|
|
qc_readbytes() would be the right place. Cases 4 and 6 there can occur<br>
|
|
with the b&w camera only.<br>
|
|
<p>
|
|
--david<br>
|
|
<p>
|
|
<pre>
|
|
--
|
|
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
|
|
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
|
|
</pre>
|
|
<!-- body="end" -->
|
|
<p>
|
|
<ul>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0119.html">David Mosberger-Tang: "Re: QuickCam bit depth wired to 8: why?"</a>
|
|
<li> <b>Previous message:</b> <a href="0117.html">Andrew Kuchling: "Re: QuickCam bit depth wired to 8: why?"</a>
|
|
<li> <b>In reply to:</b> <a href="0117.html">Andrew Kuchling: "Re: QuickCam bit depth wired to 8: why?"</a>
|
|
<!-- nextthread="start" -->
|
|
<li> <b>Next in thread:</b> <a href="0119.html">David Mosberger-Tang: "Re: QuickCam bit depth wired to 8: why?"</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|