From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp0.lie-comtel.li ([217.173.238.80]:59734 "EHLO smtp0.lie-comtel.li" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753614AbZCRUKK (ORCPT ); Wed, 18 Mar 2009 16:10:10 -0400 Message-ID: <49C1551E.1000700@kaiser-linux.li> Date: Wed, 18 Mar 2009 21:10:06 +0100 From: Thomas Kaiser MIME-Version: 1.0 To: Anders Blomdell CC: Linux Media , Thomas Champagne Subject: Re: Topro 6800 driver [JPEG decoding solved] References: <49A8661A.4090907@control.lth.se> <49B194A7.4030808@kaiser-linux.li> <49B50740.3000902@control.lth.se> <49B50E16.8080703@kaiser-linux.li> <49B56542.1090408@control.lth.se> <49B57799.3020504@kaiser-linux.li> <49B57C1D.3060600@control.lth.se> <49B57F7D.1020108@kaiser-linux.li> <49B62023.2090206@control.lth.se> <49B65BA7.6070700@kaiser-linux.li> <49B68F34.60802@control.lth.se> <49B6A495.9060204@kaiser-linux.li> <49B7D41B.4040801@control.lth.se> <49C00484.7060601@kaiser-linux.li> In-Reply-To: <49C00484.7060601@kaiser-linux.li> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Thomas Kaiser wrote: > Hello Anders > > Good news, I could decode a frame which I extracted from the usbsnoobs I > did :-). See attached picture frame3-03.jpg. It uses the quality 0. > > Your black frame you sent me gets now correctly decode, too (frameA-01.jpg) > > I found the Huffman table in the Windoz driver file (TP6810.sys) at > offset 0x2a59c. The QTable which I found in a text file on my Windoz box > can be found in this driver file, also. > > I attached some binary files which I used to build the 2 attached jpeg. > > For example use: > cat FFD8-Q0-320x240.bin huffman1.bin FFDA.bin frame3-3.bin >frame3-03.jpg > to make the picture frame3-03.jpg. > > This information should the cam get going in Linux ;-) > > Happy Hacking, > > Thomas > > PS: I sent this to the linux-media mail list, because somebody else is > interested about this information, too. > Just some comments about the observation you made on the frame header: ff d8 ff fe 28 3c 01 - Byte 6: Yes, it is the current quality setting - Byte 4 & 5: I think it is related to resolution. My snoops were done with 320x240 (0x141e) and Anders were made with 640x480 (0x283c), twice as big! - The rest is static Thomas