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
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html