<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/webcam-osx/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/webcam-osx/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 01 Aug 2013 09:00:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/webcam-osx/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>tas5110d sensor (for 0c45:6007)</title><link>https://sourceforge.net/p/webcam-osx/patches/30/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here is an experimental patch for the tas5110d sensor, based on these commits to gspca:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a class="" href="http://git.linuxtv.org/media_tree.git/commit/b10af3f70bfaf98b6405dcd0561283b7ec485630" rel="nofollow"&gt;V4L/DVB (14001): gscpa_sonixb: Differentiate between tas5110c and tas5110d and fix d hstart&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a class="" href="http://git.linuxtv.org/media_tree.git/commit/0d0d7ef71ec6ba6abb680478f7d0514584b8277f" rel="nofollow"&gt;[media] gspca_sonixb: Fix TAS5110D sensor gain control&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Note that the setbrightness() function may have changed to setsensorgain() and/or setgain().&lt;/p&gt;
&lt;p&gt;Also refer to this commit:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="" href="http://git.linuxtv.org/media_tree.git/commit/c437d657c59921b048997d5bc1f5733670112902" rel="nofollow"&gt;V4L/DVB (8835): gspca: Same pixfmt as the sn9c102 driver and raw Bayer added in sonixb.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The patch applies to revision 1.9 of the file sonix.h, using the CVS repository as of 2013-08-01.&lt;/p&gt;
&lt;p&gt;The brightness slider has *some* effect, and the issue of the image being mirrored is fixed.&amp;nbsp; Testing with a Genius VideoCAM Eye (0c45:6007).&lt;/p&gt;
&lt;p&gt;So far this is just a quick test.&amp;nbsp; Need to put in separate cases for the tas5110c and d, and create subclass(es) for cameras that use the d.&lt;/p&gt;&lt;/div&gt;</description><pubDate>Thu, 01 Aug 2013 09:00:36 -0000</pubDate><guid>https://sourceforge.net288810c84b25a355c654e1363a7455fbb12eb194</guid></item><item><title>OV538Driver VGA,QVGA frame/buffer changes</title><link>https://sourceforge.net/p/webcam-osx/patches/29/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Attached tar file includes full and patch versions (against cvs as of Nov 25, 2010) of files:&lt;/p&gt;
&lt;p&gt;cameras/OV534Driver.h&lt;br /&gt;
cameras/OV534Driver.m&lt;/p&gt;
&lt;p&gt;NOTE 1 this update REPLACES all of my previous patches;  hxr has updated cvs so you DO NOT need my copies of the fixes for files:&lt;/p&gt;
&lt;p&gt;driver_code/MyCameraCentral.m&lt;br /&gt;
utilities/FrameCounter.m&lt;br /&gt;
utilities/Histogram.m&lt;/p&gt;
&lt;p&gt;NOTE 2 - this is update is just a very minor cleanup of the comments and some minor code cleanup and does not change any of &lt;br /&gt;
the functionality of my earlier OV538 patches.  I'm submitting this patch primarily to confirm that this is a clean patch against the &lt;br /&gt;
current cvs (as of Nov 25, 2010)&lt;/p&gt;
&lt;p&gt;NOTE 3 - I'm running OS X 10.6.5 and using Xcode 3.2.5 (latest) - I did not need to make any other changes to compile either the&lt;br /&gt;
macam app or the component.  I just updated OV534Driver.h and .m.   See the earlier patch submissions I made for a couple of &lt;br /&gt;
minor notes on building under Leopard and Tiger and earlier versions of Xcode.&lt;/p&gt;
&lt;p&gt;Summary - you can just take a current copy of cvs and apply the patches for OV534Driver.h/.m or replace those files w the full copies; &lt;br /&gt;
both the patches and the full copies are in the attached tar file.&lt;/p&gt;
&lt;p&gt;Notes on the fixes are largely unchanged and as follows:&lt;/p&gt;
&lt;p&gt;Primarily a small change to allow for per-resolution setting of the frame (hardware) and buffer (driver) sizes so that they match expected values.&lt;br /&gt;
- fixes the 2 missing pixel bug (bug ID 2991591)&lt;br /&gt;
- changes how QVGA/SIF buffers are handled so it is a true 320x240 frame and buffer size&lt;br /&gt;
- results in fewer short buffers (w side effect that fps calc is more accurate or at least matches vsync frequency...)&lt;/p&gt;
&lt;p&gt;- added initial hardware control of sharpness (enabled sharpness slider) and a greyscale mode (enabled "B&amp;amp;W" checkbox in the settings panel of the app)&lt;/p&gt;
&lt;p&gt;I should add that while the camera hardware seems to support frame rates above 60fps at VGA or QVGA/SIF, the macam app or component won't play or record beyond about 60fps (confirmed on an iMac i7 quad). Figured that if VGA @ 60fps works (it does) then QVGA @ 75fps would work too (1/3 the data rate?) but it still max's out at about 60 (tho the vsync signal in the camera hardware and the "receiving" fps displayed are at 75Hz and fps). So, assuming I'm just missing something obvious here...&lt;/p&gt;
&lt;p&gt;Still need to do - and somewhat out of my depth yet on the last 2:&lt;/p&gt;
&lt;p&gt;- clean up all setResolution values to match listed fps rate w actual set rate (this is esp. true of the SIF sets due to the change of the buffer size etc.)&lt;br /&gt;
- need to figure out how to debug the component properly in order to track down the -536870206 error when video and audio sources are set to PS3eye at the same time; QT7 draws at least one frame and then dies; component works fine if only one of the sources is set to the PS3eye&lt;br /&gt;
- need to still track down source of nextImageBuffer going south when macam app attempts to record to a file under 10.6; dies in yuv_to_rgb - r,g,b pointers are bad; it seems so simple...&lt;/p&gt;
&lt;p&gt;(summary of comments in the OV538Driver implementation section of the code (about 1/2 way down in the file: OV534Driver.m))&lt;/p&gt;
&lt;p&gt;// - modified startupGrabStream to include per-resolution setting of payload and frame sizes&lt;br /&gt;
// based on ideas from linux drivers (ov534.c) allowing QVGA/SIF mode to transfer matched &lt;br /&gt;
// (320x240) buffer instead of 2x that&lt;br /&gt;
//&lt;br /&gt;
// - modified frame size for VGA so that 2 "missing pixels" are included; this also required &lt;br /&gt;
// adjusting horizontal sensor start and sensor size (0x17 and 0x18 registers; compare what is&lt;br /&gt;
// still in initCamera for these vs. what's listed in startupGrabStream); these may need more&lt;br /&gt;
// tweaking - the +4 to 0x18 seems odd - some header not accounted for or something?&lt;br /&gt;
//&lt;br /&gt;
// - above changes (QVGA frame size and VGA missing pixel fixes) allowed setIsocFrameFunctions &lt;br /&gt;
// to be returned to:&lt;br /&gt;
//&lt;br /&gt;
// grabContext.chunkBufferLength = 2 * [self width] * [self height];&lt;br /&gt;
//&lt;br /&gt;
// buffer sizes are now consistently 614400 for VGA and 153600 for QVGA/SIF&lt;br /&gt;
//&lt;br /&gt;
// - modified decodeBufferProprietary to eliminate ptr += rawWidth * 2 now that frame matches buffer for QVGA/SIF&lt;br /&gt;
//&lt;br /&gt;
// - numerous tweaks to setResolution register combinations; NOTE FURTHER adjusting is now &lt;br /&gt;
// req'd after above-mentioned payload/frame size changes etc.&lt;br /&gt;
// - confirmed many combinations against hardware (e.g. VSYNC frequency) using oscilloscope&lt;br /&gt;
// - added comments on various register combinations tried and limits encountered through trial and error:&lt;br /&gt;
//&lt;br /&gt;
// sensor register 0x11 : lower 6 bits : 0x00 (fast) - 0x3f (slow) : it seems bits 7 and 8 must be 0 (as tested in macam 092)&lt;br /&gt;
// sensor register 0x0d : bits 7 and 8 : 0xc0 (fast) - 0x00 (slow) : other bits seem to be don't care&lt;br /&gt;
// register 0xe5 : lower 5 bits : 0x00 (fast) - 0x1f (slow) : other bits seem to be don't care&lt;br /&gt;
//&lt;br /&gt;
// 0x11 0x0d 0xe5&lt;br /&gt;
// ----------------&lt;br /&gt;
// 0x3f 0x00 0x1f slowest register combination - about 0.03fps or 1 frame every 25-30 seconds... (auto exposure adjustment takes many frames so waait for it)&lt;br /&gt;
// 0x00 0xc0 0x00 fastest register combination - probably too fast for hardware and/or USB&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hdc </dc:creator><pubDate>Sat, 27 Nov 2010 04:49:58 -0000</pubDate><guid>https://sourceforge.neta31b8258a2982aa58c75c05932c93398689bc080</guid></item><item><title>Update to use Garbage Collection</title><link>https://sourceforge.net/p/webcam-osx/patches/28/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patch allows macam to support Garbage-Collection.  Please note that this is untested, so there still may be problems on Garbage-Collecting Apps.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Madd the Sane</dc:creator><pubDate>Mon, 04 Oct 2010 01:40:23 -0000</pubDate><guid>https://sourceforge.netc2f1d98d4981b778ba77b94eff2c3caa8f8505f0</guid></item><item><title>French's DriverLocalizable.strings is in MacRoman</title><link>https://sourceforge.net/p/webcam-osx/patches/27/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The French's DriverLocalizable.strings is encoded in Mac Roman, but the project file thinks it's UTF-16.  This causes problems when Xcode tries to copy over the strings using the built-in command 'copystrings' which converts the strings file into the UTF-16 (or UTF-8, depending on the project settings) Character encoding.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Madd the Sane</dc:creator><pubDate>Mon, 20 Jul 2009 00:38:10 -0000</pubDate><guid>https://sourceforge.netafaac98191fbf3d92a9804041df7621582e254f8</guid></item><item><title>Two identical cameras</title><link>https://sourceforge.net/p/webcam-osx/patches/25/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have two identical cameras VF0400&lt;br /&gt;
The component gives different names for them such as&lt;br /&gt;
macam #1: Creative.....&lt;br /&gt;
macam #2: Creative.....&lt;/p&gt;
&lt;p&gt;but then either I select first or second the image comes from only one camera&lt;br /&gt;
I have make patch for camera naming nameForID: in MyCameraCentral.m and now it works (with and without "macam #" addition in QTVideoDigitizer.m )&lt;/p&gt;
&lt;p&gt;May be nameForID: modification can corrupt something else - hope not&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrey Gruzdev</dc:creator><pubDate>Sat, 07 Jun 2008 08:37:36 -0000</pubDate><guid>https://sourceforge.net3e0f6bdd14f46c0bc44fe8ebcf716775a94d520c</guid></item><item><title>VF0400 hardware features</title><link>https://sourceforge.net/p/webcam-osx/patches/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There are some camera capabilities used:&lt;br /&gt;
flip and mirror&lt;br /&gt;
rotation sensor (autoflip) with register monitor timer&lt;br /&gt;
brightness and contrast registers fixed&lt;br /&gt;
hub compatibility delays reduced&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrey Gruzdev</dc:creator><pubDate>Fri, 06 Jun 2008 18:24:24 -0000</pubDate><guid>https://sourceforge.net889c4d46fcbf158d8f7fdf4a0d4ecd55e7da5aac</guid></item><item><title>Creative Webcam NoteBook slow rate</title><link>https://sourceforge.net/p/webcam-osx/patches/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In 0.9.2 Creative Webcam NoteBook frame rate becomes very slow&lt;/p&gt;
&lt;p&gt;- (void) startupCamera&lt;br /&gt;
{&lt;br /&gt;
[super startupCamera];&lt;br /&gt;
[self setCompression:2]; // 2 instead of 1 makes normal frame rate&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;in ZC030xDriver.m&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrey Gruzdev</dc:creator><pubDate>Wed, 04 Jun 2008 14:59:10 -0000</pubDate><guid>https://sourceforge.netb2961d2f3c49894b49ae4029a82d9b9df0ca652e</guid></item><item><title>Creative VF0400 Live! Cam Notebook Pro color bug</title><link>https://sourceforge.net/p/webcam-osx/patches/22/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;method  - (void) setResolution:(CameraResolution)r fps:(short)&lt;br /&gt;
corrupts sensor color settings&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrey Gruzdev</dc:creator><pubDate>Tue, 03 Jun 2008 11:35:07 -0000</pubDate><guid>https://sourceforge.net88e23b5fb6686cd8ac2a86d496306f4f9fb14023</guid></item><item><title>Russian localization</title><link>https://sourceforge.net/p/webcam-osx/patches/21/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Translation of messages, interface and help&lt;br /&gt;
May be needs correction&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrey Gruzdev</dc:creator><pubDate>Sat, 05 Apr 2008 15:18:31 -0000</pubDate><guid>https://sourceforge.netcfbdaaa1d5f770ea87f9509592858a78bd18f016</guid></item><item><title>Q-Cam 330 VGA support</title><link>https://sourceforge.net/p/webcam-osx/patches/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Q-Cam 330 VGA: et61xx51 based&lt;br /&gt;
vid: 0x102c&lt;br /&gt;
pid: 0x6251&lt;br /&gt;
only 320x240 resolution reached&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrey Gruzdev</dc:creator><pubDate>Tue, 18 Mar 2008 15:37:18 -0000</pubDate><guid>https://sourceforge.netadca849165d9d0afbead89e180d8097c31d64445</guid></item></channel></rss>