[sane-devel] backend Kodak i260 Image depth 48 bits stream. How is coded?

Daniel Glöckner daniel-gl at gmx.net
Sat Aug 30 21:54:21 UTC 2008


The picture is in YCbCr 4:2:0 format.

0. byte: Y(1,0)
1. byte: Y(0,0)
2. byte: Cr(0.5,0.5)
3. byte: Cb(0.5,0.5)

4. byte: Y(3,0)
5. byte: Y(2,0)
6. byte: Cr(2.5,0.5)
7. byte: Cb(2.5,0.5)
:
:
4796. byte: Y(2399,0)
4797. byte: Y(2398,0)
4798. byte: Cr(2398.5,0.5)
4799. byte: Cb(2398.5,0.5)

4800. byte: Y(1,1)
4801. byte: Y(0,1)

4802. byte: Y(3,1)
4803. byte: Y(2,1)
:
:
7198. byte: Y(2399,1) 
7199. byte: Y(2398,1)

repeat for the following 7200 byte blocks

The chroma offset is guessed.
It would need some sharp colorful edges to verify that.

  Daniel



More information about the sane-devel mailing list