From: Thomas Kaiser <v4l@kaiser-linux.li>
To: Anders Blomdell <anders.blomdell@control.lth.se>
Cc: Linux Media <linux-media@vger.kernel.org>
Subject: Re: Topro 6800 driver
Date: Mon, 09 Mar 2009 21:10:01 +0100 [thread overview]
Message-ID: <49B57799.3020504@kaiser-linux.li> (raw)
In-Reply-To: <49B56542.1090408@control.lth.se>
Hello Anders
Anders Blomdell wrote:
> When I set the RGB/YUV gains to zero, I get:
>> 5a ff d8 ff fe 14 1e 00 fd f5 45 7e e8 f8 b8 df 49 57
> ff d8 ff fe 28 3c 01 fc ff 00 45 66 9a 69 a2 95 4d 2a 12 d1 00 a2 b4
>
> followed by a big number of repeated (0x152c bytes total):
>
> 02 8a 00 a2 80 28 a0 0a 28
>
> and ending with:
>
> 02 8a 00 a2 80 ff d9
>
> In binary the repeating sequence can be diveded in half:
>
> 0000 0010 1000 1010 0000 0000 1010 0010 1000
> 0000 0010 1000 1010 0000 0000 1010 0010 1000
That is more less the same sequence I get when I do my saturation stuff
(white picture) :-) . As of coincidence, the same Bit pattern is found
in the PAC7311 when I do the saturation stuff. And I know the PAC7311
stream. That's the reason why I wrote I am 100% sure that this is JPEG
;-) PAC7311 has a special marker between each MCU which has to be
removed. I don't see such thing in this stream. So it must be pure JPEG.
>
> Which approximately adds up to 1200 repetitions of this bitpattern
2*(0x152c -
> 23)/9.
>
> And a 640*480 image divided in 8*8 subframes gives (640*480/(8*8)) 1200
> subframes, so now the question is how much info about the Huffman
table this
> gives us?
I think nothing :-( , but you found the MCUs :-) As it looks quite the
same as on the PAC7311, why not just try the Huffman table from the PAC7311?
The frame header on the PAC7311 is ff ff 00 ff 96 62 + 1 Byte MCU Marker
44, then the JPEG data starts. Look at this:
ff ff 00 ff 96 62 44 f7 ca 28 01 10 a2 80 11 0a 28 01 10 a2 80 11 0a 28
Side note: the first 01 10 is the MCU marker 44 embedded in the Bit stream.
TP8610, first few Bytes with frame header:
5a ff d8 ff fe 14 1e 00 fd f5 45 7e e8 f8 b8 df 49 57 ab 0a 28 73 0a 28
02 8a 00 a2 80 28 a0 0a
Therefor I think this is the start of the stream:
ab 0a 28 73 0a 28 02 8a 00 a2 80 28 a0 0a
Don't know why we have 73 in between :-(
Hope this one helps....
Thomas
next prev parent reply other threads:[~2009-03-09 20:10 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-27 22:15 Topro 6800 driver Anders Blomdell
2009-02-28 10:31 ` Jean-Francois Moine
2009-02-28 15:11 ` Anders Blomdell
2009-02-28 15:54 ` Thomas Kaiser
2009-03-01 7:26 ` Jean-Francois Moine
2009-03-01 16:33 ` Thomas Champagne
2009-03-02 13:20 ` Jean-Francois Moine
2009-03-02 16:58 ` Anders Blomdell
2009-02-28 11:54 ` Thomas Kaiser
[not found] ` <49B194A7.4030808@kaiser-linux.li>
2009-03-09 12:10 ` Anders Blomdell
[not found] ` <49B50E16.8080703@kaiser-linux.li>
2009-03-09 14:06 ` Anders Blomdell
2009-03-09 18:51 ` Anders Blomdell
2009-03-09 20:10 ` Thomas Kaiser [this message]
2009-03-09 20:29 ` Anders Blomdell
2009-03-09 20:43 ` Thomas Kaiser
[not found] ` <49B62023.2090206@control.lth.se>
[not found] ` <49B65BA7.6070700@kaiser-linux.li>
[not found] ` <49B68F34.60802@control.lth.se>
[not found] ` <49B6A495.9060204@kaiser-linux.li>
2009-03-11 15:09 ` Anders Blomdell
2009-03-11 19:11 ` Thomas Kaiser
2009-03-17 20:13 ` Topro 6800 driver [JPEG decoding solved] Thomas Kaiser
2009-03-18 20:10 ` Thomas Kaiser
2009-03-18 21:42 ` Thomas Champagne
2009-03-25 17:10 ` Anders Blomdell
[not found] ` <49B5786D.4060102@kaiser-linux.li>
[not found] ` <49B57CB6.8000402@control.lth.se>
2009-03-09 20:38 ` Mail list, Is WIKI up to date? Thomas Kaiser
-- strict thread matches above, loose matches on Subject: below --
2009-03-27 18:06 topro 6800 driver Andy Shevchenko
[not found] ` <49CD2868.9080502@kaiser-linux.li>
[not found] ` <5ec8ebd50903311144h316c7e3bmd30ce2c3d5a268ee@mail.gmail.com>
[not found] ` <49D4EAB2.4090206@control.lth.se>
2009-04-03 20:07 ` Anders Blomdell
2009-04-03 20:54 ` Erik Andrén
2009-04-04 11:29 ` Anders Blomdell
2009-04-05 17:36 ` Jean-Francois Moine
2009-04-20 15:37 ` Thomas Champagne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49B57799.3020504@kaiser-linux.li \
--to=v4l@kaiser-linux.li \
--cc=anders.blomdell@control.lth.se \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).